mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2025-09-08 17:10:16 +02:00
TPinballComponent: replaced calloc operator new with member initialization.
This commit is contained in:
parent
93de90b680
commit
261457a959
30 changed files with 119 additions and 142 deletions
|
@ -18,7 +18,7 @@ class TLightGroup :
|
|||
{
|
||||
public:
|
||||
TLightGroup(TPinballTable* table, int groupIndex);
|
||||
~TLightGroup() override;
|
||||
~TLightGroup() override = default;
|
||||
int Message(int code, float value) override;
|
||||
virtual void Reset();
|
||||
void reschedule_animation(float time);
|
||||
|
@ -30,11 +30,11 @@ public:
|
|||
static void NotifyTimerExpired(int timerId, void* caller);
|
||||
|
||||
std::vector<TLight*> List;
|
||||
float Timer1Time;
|
||||
float Timer1Time{};
|
||||
float Timer1TimeDefault;
|
||||
int MessageField2;
|
||||
int AnimationFlag;
|
||||
int MessageField2{};
|
||||
int AnimationFlag{};
|
||||
int NotifyTimer;
|
||||
int Timer;
|
||||
TLightGroup_player_backup PlayerData[4];
|
||||
TLightGroup_player_backup PlayerData[4]{};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue