- Added translucent blending modes to FMultipatchTexture (not tested yet!)
- Also changed all true color texture creation functions to use proper alpha values instead of inverted ones. - Changed FRemapTable so that all palette entries must contain proper alpha values. - Fixed: The F1 screen check in m_menu.cpp was missing a NULL pointer check. - Changed: The boss brain's explosions play weapons/rocklx which is an unlimited sound. This can become extremely loud. Replaced with a new sound which is just an alias to weapons/rocklx but has a limit of 4. SVN r932 (trunk)
This commit is contained in:
parent
2a7ff45829
commit
4667bfe46f
20 changed files with 298 additions and 105 deletions
|
|
@ -1464,7 +1464,7 @@ void M_DrawReadThis ()
|
|||
else
|
||||
{
|
||||
// Did the mapper choose a custom help page via MAPINFO?
|
||||
if (level.info->f1[0] != 0)
|
||||
if ((level.info != NULL) && level.info->f1[0] != 0)
|
||||
{
|
||||
tex = TexMan.FindTexture(level.info->f1);
|
||||
}
|
||||
|
|
@ -3513,7 +3513,7 @@ void M_Init (void)
|
|||
for (i = 0; i < 256; i++)
|
||||
{
|
||||
FireRemap.Remap[i] = ColorMatcher.Pick (i/2+32, 0, i/4);
|
||||
FireRemap.Palette[i] = PalEntry(i/2+32, 0, i/4);
|
||||
FireRemap.Palette[i] = PalEntry(255, i/2+32, 0, i/4);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
@ -3522,7 +3522,7 @@ void M_Init (void)
|
|||
for (i = 0; i < 256; ++i)
|
||||
{
|
||||
FireRemap.Remap[i] = ColorMatcher.Pick (i/4, i*13/40+7, i/4);
|
||||
FireRemap.Palette[i] = PalEntry(i/4, i*13/40+7, i/4);
|
||||
FireRemap.Palette[i] = PalEntry(255, i/4, i*13/40+7, i/4);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue