mirror of
https://github.com/ZDoom/gzdoom-last-svn.git
synced 2025-06-04 11:10:48 +00:00
- Update to ZDoom r860
git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@80 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
parent
a2b23a7e43
commit
69ffed978f
22 changed files with 109 additions and 80 deletions
|
@ -242,19 +242,19 @@ static const char *IWADNames[] =
|
|||
"hexen.wad",
|
||||
"hexdd.wad",
|
||||
"strife1.wad",
|
||||
"strife0.wad",
|
||||
#ifdef unix
|
||||
"DOOM2.WAD", // Also look for all-uppercase names
|
||||
"PLUTONIA.WAD",
|
||||
"TNT.WAD",
|
||||
"DOOM.WAD",
|
||||
"DOOM1.WAD",
|
||||
"HERETIC.WAD",
|
||||
"HERETIC1.WAD",
|
||||
"HEXEN.WAD",
|
||||
"HEXDD.WAD",
|
||||
"STRIFE1.WAD",
|
||||
"STRIFE0.WAD",
|
||||
"strife0.wad",
|
||||
#ifdef unix
|
||||
"DOOM2.WAD", // Also look for all-uppercase names
|
||||
"PLUTONIA.WAD",
|
||||
"TNT.WAD",
|
||||
"DOOM.WAD",
|
||||
"DOOM1.WAD",
|
||||
"HERETIC.WAD",
|
||||
"HERETIC1.WAD",
|
||||
"HEXEN.WAD",
|
||||
"HEXDD.WAD",
|
||||
"STRIFE1.WAD",
|
||||
"STRIFE0.WAD",
|
||||
#endif
|
||||
NULL
|
||||
};
|
||||
|
@ -718,7 +718,7 @@ void D_Display ()
|
|||
void D_ErrorCleanup ()
|
||||
{
|
||||
screen->Unlock ();
|
||||
bglobal.RemoveAllBots (true);
|
||||
bglobal->RemoveAllBots (true);
|
||||
D_QuitNetGame ();
|
||||
if (demorecording || demoplayback)
|
||||
G_CheckDemoStatus ();
|
||||
|
@ -772,7 +772,7 @@ void D_DoomLoop ()
|
|||
players[i].savedpitch = players[i].mo->pitch;
|
||||
}
|
||||
}
|
||||
bglobal.Main (maketic%BACKUPTICS);
|
||||
bglobal->Main (maketic%BACKUPTICS);
|
||||
for (i = 0; i < MAXPLAYERS; i++)
|
||||
{
|
||||
if (playeringame[i] && players[i].isbot && players[i].mo)
|
||||
|
@ -2433,16 +2433,17 @@ void D_DoomMain (void)
|
|||
}
|
||||
|
||||
//Added by MC:
|
||||
bglobal.getspawned = Args->GatherFiles ("-bots", "", false);
|
||||
if (bglobal.getspawned->NumArgs() == 0)
|
||||
bglobal->getspawned = Args->GatherFiles ("-bots", "", false);
|
||||
if (bglobal->getspawned->NumArgs() == 0)
|
||||
{
|
||||
bglobal.getspawned->Destroy();
|
||||
bglobal.getspawned = NULL;
|
||||
bglobal->getspawned->Destroy();
|
||||
bglobal->getspawned = NULL;
|
||||
}
|
||||
else
|
||||
{
|
||||
bglobal.spawn_tries = 0;
|
||||
bglobal.wanted_botnum = bglobal.getspawned->NumArgs();
|
||||
GC::WriteBarrier(bglobal, bglobal->getspawned);
|
||||
bglobal->spawn_tries = 0;
|
||||
bglobal->wanted_botnum = bglobal->getspawned->NumArgs();
|
||||
}
|
||||
|
||||
Printf ("M_Init: Init miscellaneous info.\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue