mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-27 22:42:57 +00:00
- Changed: Making the gameinfo customizable by MAPINFO requires different
checks for map specific border flats. - fixed intermission music for Doom 1. SVN r1501 (trunk)
This commit is contained in:
parent
9fdbf29cb1
commit
e4da63e9f3
4 changed files with 8 additions and 3 deletions
|
@ -1,4 +1,8 @@
|
|||
March 22, 2009 (Changes by Graf Zahl)
|
||||
March 23, 2009 (Changes by Graf Zahl)
|
||||
- Changed: Making the gameinfo customizable by MAPINFO requires different
|
||||
checks for map specific border flats.
|
||||
|
||||
March 22, 2009 (Changes by Graf Zahl)
|
||||
- removed gamemission variable because it wasn't used anywhere.
|
||||
- removed gamemode variable. All it was used for were some checks that
|
||||
really should depend on GI_MAPxx.
|
||||
|
|
|
@ -259,7 +259,7 @@ void level_info_t::Reset()
|
|||
intermusicorder = 0;
|
||||
SoundInfo = "";
|
||||
SndSeq = "";
|
||||
strcpy (bordertexture, gameinfo.borderFlat);
|
||||
bordertexture[0] = 0;
|
||||
teamdamage = 0.f;
|
||||
specialactions.Clear();
|
||||
}
|
||||
|
|
|
@ -1823,7 +1823,7 @@ void R_DrawBorder (int x1, int y1, int x2, int y2)
|
|||
{
|
||||
FTextureID picnum;
|
||||
|
||||
if (level.info != NULL)
|
||||
if (level.info != NULL && level.info->bordertexture[0] != 0)
|
||||
{
|
||||
picnum = TexMan.CheckForTexture (level.info->bordertexture, FTexture::TEX_Flat);
|
||||
}
|
||||
|
|
|
@ -13,6 +13,7 @@ gameinfo
|
|||
quitsound = "menu/quit1"
|
||||
borderflat = "FLOOR7_2"
|
||||
drawreadthis = true
|
||||
intermissionmusic = "$MUSIC_INTER"
|
||||
}
|
||||
|
||||
clearepisodes
|
||||
|
|
Loading…
Reference in a new issue