- 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:
Christoph Oelckers 2009-03-23 17:46:59 +00:00
parent 9fdbf29cb1
commit e4da63e9f3
4 changed files with 8 additions and 3 deletions

View file

@ -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.

View file

@ -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();
}

View file

@ -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);
}

View file

@ -13,6 +13,7 @@ gameinfo
quitsound = "menu/quit1"
borderflat = "FLOOR7_2"
drawreadthis = true
intermissionmusic = "$MUSIC_INTER"
}
clearepisodes