mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2025-09-01 06:20:15 +02:00
winmain, memory, options v1.
This commit is contained in:
parent
4157e79c83
commit
473ed6b9d9
17 changed files with 418 additions and 35 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
|
||||
#include "loader.h"
|
||||
#include "memory.h"
|
||||
#include "pinball.h"
|
||||
#include "TBall.h"
|
||||
#include "TBlocker.h"
|
||||
|
@ -196,7 +197,7 @@ TPinballTable::~TPinballTable()
|
|||
{
|
||||
if (*scorePtr)
|
||||
{
|
||||
free(*scorePtr);
|
||||
memory::free(*scorePtr);
|
||||
*scorePtr = nullptr;
|
||||
}
|
||||
scorePtr += 7;
|
||||
|
@ -205,12 +206,12 @@ TPinballTable::~TPinballTable()
|
|||
while (index);
|
||||
if (ScorePlayerNumber1)
|
||||
{
|
||||
free(ScorePlayerNumber1);
|
||||
memory::free(ScorePlayerNumber1);
|
||||
ScorePlayerNumber1 = nullptr;
|
||||
}
|
||||
if (ScoreBallcount)
|
||||
{
|
||||
free(ScoreBallcount);
|
||||
memory::free(ScoreBallcount);
|
||||
ScoreBallcount = nullptr;
|
||||
}
|
||||
for (auto i = LightGroup; ; i = static_cast<TLightGroup*>(ListP1->Get(0)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue