winmain, memory, options v1.
This commit is contained in:
1 parent
4157e79c83
commit
473ed6b9d9
17 files changed
+418
-35
No files matched your search
@@ -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)))
|
||||
|
||||
Reference in new issue
Block a user