mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2025-09-06 00:10:15 +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
|
@ -24,14 +24,14 @@ public:
|
|||
float TimerTime1;
|
||||
float TimerTime2;
|
||||
float CollisionBallSetZ;
|
||||
TBall* Ball;
|
||||
TBall* Ball{};
|
||||
float FieldMult;
|
||||
circle_type Circle;
|
||||
float OriginalBallZ;
|
||||
vector_type BallAcceleration;
|
||||
circle_type Circle{};
|
||||
float OriginalBallZ{};
|
||||
vector_type BallAcceleration{};
|
||||
float ThrowAngleMult;
|
||||
float ThrowSpeedMult1;
|
||||
float ThrowSpeedMult2;
|
||||
field_effect_type Field;
|
||||
int Scores[5];
|
||||
field_effect_type Field{};
|
||||
int Scores[5]{};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue