mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
SW: Rename SendMessage() to SW_SendMessage() and DELETE() to REMOVE() to avoid conflicts with Windows headers.
git-svn-id: https://svn.eduke32.com/eduke32@5200 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
af0e6df762
commit
56bdcdae7e
7 changed files with 19 additions and 19 deletions
|
@ -4538,7 +4538,7 @@ FunctionKeys(PLAYERp pp)
|
|||
if (pnum != myconnectindex)
|
||||
{
|
||||
sprintf(ds,"%s: %s",pp->PlayerName, WangBangMacro[fn_key-1]);
|
||||
SendMessage(pnum, ds);
|
||||
SW_SendMessage(pnum, ds);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4838,9 +4838,9 @@ SEND_MESSAGE:
|
|||
if (pnum != myconnectindex)
|
||||
{
|
||||
if (TeamSendAll)
|
||||
SendMessage(pnum, ds);
|
||||
SW_SendMessage(pnum, ds);
|
||||
else if (User[pp->PlayerSprite]->spal == User[Player[pnum].PlayerSprite]->spal)
|
||||
SendMessage(pnum, ds);
|
||||
SW_SendMessage(pnum, ds);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4849,7 +4849,7 @@ SEND_MESSAGE:
|
|||
{
|
||||
if (pnum != myconnectindex)
|
||||
{
|
||||
SendMessage(pnum, ds);
|
||||
SW_SendMessage(pnum, ds);
|
||||
}
|
||||
}
|
||||
adduserquote(MessageInputString);
|
||||
|
|
|
@ -1167,7 +1167,7 @@ KillOrgTile(OrgTileP tp)
|
|||
ASSERT(tp);
|
||||
ASSERT(ValidPtr(tp));
|
||||
|
||||
DELETE(tp);
|
||||
REMOVE(tp);
|
||||
|
||||
FreeMem(tp);
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@ typedef
|
|||
((LIST) list)->Prev = (LIST) nodep, \
|
||||
((LIST) nodep)->Prev->Next = (LIST) nodep)
|
||||
|
||||
#define DELETE(nodep) ( ((LIST) nodep)->Prev->Next = ((LIST) nodep)->Next, \
|
||||
#define REMOVE(nodep) ( ((LIST) nodep)->Prev->Next = ((LIST) nodep)->Next, \
|
||||
((LIST) nodep)->Next->Prev = ((LIST) nodep)->Prev)
|
||||
|
||||
|
||||
|
|
|
@ -434,7 +434,7 @@ ResumeAction(void)
|
|||
}
|
||||
|
||||
void
|
||||
SendMessage(short pnum, char *text)
|
||||
SW_SendMessage(short pnum, char *text)
|
||||
{
|
||||
if (!CommEnabled)
|
||||
return;
|
||||
|
@ -561,12 +561,12 @@ CheckVersion(int GameVersion)
|
|||
|
||||
if (!Player[pnum].PlayerVersion)
|
||||
{
|
||||
SendMessage(pnum, VERSION_MSG);
|
||||
SendMessage(pnum, VERSION_MSG);
|
||||
SendMessage(pnum, VERSION_MSG);
|
||||
SendMessage(pnum, VERSION_MSG);
|
||||
SendMessage(pnum, VERSION_MSG);
|
||||
SendMessage(pnum, VERSION_MSG);
|
||||
SW_SendMessage(pnum, VERSION_MSG);
|
||||
SW_SendMessage(pnum, VERSION_MSG);
|
||||
SW_SendMessage(pnum, VERSION_MSG);
|
||||
SW_SendMessage(pnum, VERSION_MSG);
|
||||
SW_SendMessage(pnum, VERSION_MSG);
|
||||
SW_SendMessage(pnum, VERSION_MSG);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -795,7 +795,7 @@ SWBOOL MenuCommPlayerQuit(short quit_player)
|
|||
if (pnum != quit_player)
|
||||
{
|
||||
sprintf(ds,"%s has quit the game.",Player[myconnectindex].PlayerName);
|
||||
SendMessage(pnum, ds);
|
||||
SW_SendMessage(pnum, ds);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -200,7 +200,7 @@ SWBOOL MenuCommPlayerQuit(short quit_player);
|
|||
void SendVersion(int version);
|
||||
void InitNetPlayerOptions(void);
|
||||
void CheckVersion(int GameVersion);
|
||||
void SendMessage(short pnum,char *text);
|
||||
void SW_SendMessage(short pnum,char *text);
|
||||
void PauseGame(void);
|
||||
void ResumeGame(void);
|
||||
|
||||
|
|
|
@ -1123,7 +1123,7 @@ SwordBlur(PANEL_SPRITEp psp)
|
|||
|
||||
psp->shade += 10;
|
||||
// change sprites priority
|
||||
DELETE(psp);
|
||||
REMOVE(psp);
|
||||
psp->priority--;
|
||||
InsertPanelSprite(psp->PlayerP, psp);
|
||||
}
|
||||
|
@ -6361,7 +6361,7 @@ FistBlur(PANEL_SPRITEp psp)
|
|||
|
||||
psp->shade += 10;
|
||||
// change sprites priority
|
||||
DELETE(psp);
|
||||
REMOVE(psp);
|
||||
psp->priority--;
|
||||
InsertPanelSprite(psp->PlayerP, psp);
|
||||
}
|
||||
|
@ -7252,7 +7252,7 @@ pKillSprite(PANEL_SPRITEp psp)
|
|||
PRODUCTION_ASSERT(psp);
|
||||
ASSERT(ValidPtr(psp));
|
||||
|
||||
DELETE(psp);
|
||||
REMOVE(psp);
|
||||
|
||||
FreeMem(psp);
|
||||
}
|
||||
|
|
|
@ -6491,7 +6491,7 @@ DoPlayerDeathMessage(PLAYERp pp, PLAYERp killer)
|
|||
if (pnum == myconnectindex)
|
||||
adduserquote(ds);
|
||||
else
|
||||
SendMessage(pnum, ds);
|
||||
SW_SendMessage(pnum, ds);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue