rename DeleteObject to DeleteObject_ to avoid collision with windows.h

This commit is contained in:
Robin Eklind 2018-12-30 02:42:44 +01:00 committed by Anders Jenbo
commit a94ac659a7
2 changed files with 3 additions and 3 deletions

View file

@ -1522,7 +1522,7 @@ void __fastcall SetMapObjects(unsigned char *pMap, int startx, int starty)
// 67D7C4: using guessed type int numobjfiles;
// 4427C5: using guessed type int var_10C[56];
void __fastcall DeleteObject(int oi, int i)
void __fastcall DeleteObject_(int oi, int i)
{
int v2; // eax
BOOLEAN v3; // zf
@ -2683,7 +2683,7 @@ LABEL_45:
v6 = 0;
while (v6 < nobjects) {
if (object[objectactive[v6]]._oDelFlag) {
DeleteObject(objectactive[v6], v6);
DeleteObject_(objectactive[v6], v6);
v6 = 0;
} else {
++v6;

View file

@ -42,7 +42,7 @@ void __cdecl AddL4Goodies();
void __cdecl AddLazStand();
void __cdecl InitObjects();
void __fastcall SetMapObjects(unsigned char *pMap, int startx, int starty);
void __fastcall DeleteObject(int oi, int i);
void __fastcall DeleteObject_(int oi, int i);
void __fastcall SetupObject(int i, int x, int y, int ot);
void __fastcall SetObjMapRange(int i, int x1, int y1, int x2, int y2, int v);
void __fastcall SetBookMsg(int i, int msg);