1
0
Fork 0
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:
Muzychenko Andrey 2021-10-02 18:58:54 +03:00
commit 261457a959
30 changed files with 119 additions and 142 deletions

View file

@ -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]{};
};