mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2026-09-06 23:28:49 +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
|
|
@ -11,13 +11,13 @@ public:
|
|||
TWall(TPinballTable* table, int groupIndex);
|
||||
int Message(int code, float value) override;
|
||||
void Collision(TBall* ball, vector_type* nextPosition, vector_type* direction, float coef,
|
||||
TEdgeSegment* edge) override;
|
||||
TEdgeSegment* edge) override;
|
||||
void put_scoring(int index, int score) override;
|
||||
int get_scoring(int index) override;
|
||||
int get_scoring(int index) override;
|
||||
|
||||
static void TimerExpired(int timerId, void* caller);
|
||||
|
||||
int Timer;
|
||||
gdrv_bitmap8* BmpPtr;
|
||||
int Scores[1];
|
||||
int Timer{};
|
||||
gdrv_bitmap8* BmpPtr{};
|
||||
int Scores[1]{};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue