- Blood default color is set in the gameinfo now so that Chex Quest

can default to green instead of red.
- Fixed: The version of CheckNumForFullName that checks for a specific
  WAD did not work.
- Moved MAPINFO names into gameinfo structure.
- Added Chex Quest support. Credits go to fraggle for creating a 
  Dehacked patch that does most of the work. The rest includes a new
  MAPINFO and removal of the drop items from the monsters being used.



SVN r1185 (trunk)
This commit is contained in:
Christoph Oelckers 2008-08-26 18:32:17 +00:00
commit 6a3b4a6c4d
13 changed files with 1099 additions and 53 deletions

View file

@ -45,6 +45,7 @@
#include "r_draw.h"
#include "a_sharedglobal.h"
#include "r_translate.h"
#include "gi.h"
FDecalLib DecalLibrary;
@ -515,8 +516,15 @@ void FDecalLib::ParseDecal (FScanner &sc)
case DECAL_SHADE:
sc.MustGetString ();
if (!sc.Compare("BloodDefault"))
{
newdecal.ShadeColor = V_GetColor (NULL, sc.String);
}
else
{
newdecal.ShadeColor = gameinfo.defaultbloodcolor;
}
newdecal.RenderStyle = STYLE_Shaded;
newdecal.ShadeColor = V_GetColor (NULL, sc.String);
newdecal.ShadeColor |=
ColorMatcher.Pick (RPART(newdecal.ShadeColor),
GPART(newdecal.ShadeColor), BPART(newdecal.ShadeColor)) << 24;