mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 05:31:00 +00:00
- Merged r1236, r1237, and r1240 of GZDoom.
SVN r3279 (trunk)
This commit is contained in:
parent
f42358ad08
commit
5c81cf20ba
4 changed files with 17 additions and 3 deletions
|
@ -533,7 +533,12 @@ void Barrier(DObject *pointing, DObject *pointed)
|
|||
|
||||
void DelSoftRootHead()
|
||||
{
|
||||
if (SoftRoots != NULL) delete SoftRoots;
|
||||
if (SoftRoots != NULL)
|
||||
{
|
||||
// Don't let the destructor print a warning message
|
||||
SoftRoots->ObjectFlags |= OF_YesReallyDelete;
|
||||
delete SoftRoots;
|
||||
}
|
||||
SoftRoots = NULL;
|
||||
}
|
||||
|
||||
|
|
|
@ -529,8 +529,9 @@ void R_Init ()
|
|||
StartScreen->Progress();
|
||||
V_InitFonts();
|
||||
StartScreen->Progress();
|
||||
R_InitColormaps ();
|
||||
StartScreen->Progress();
|
||||
// Colormap init moved back to InitPalette()
|
||||
//R_InitColormaps ();
|
||||
//StartScreen->Progress();
|
||||
|
||||
R_InitPointToAngle ();
|
||||
R_InitTables ();
|
||||
|
|
|
@ -397,7 +397,9 @@ public:
|
|||
bool is;
|
||||
FMOD_OPENSTATE openstate = FMOD_OPENSTATE_MAX;
|
||||
bool starving;
|
||||
#if FMOD_VERSION >= 0x43400
|
||||
bool diskbusy;
|
||||
#endif
|
||||
|
||||
if (Stream == NULL)
|
||||
{
|
||||
|
@ -494,7 +496,9 @@ public:
|
|||
unsigned int percentbuffered;
|
||||
unsigned int position;
|
||||
bool starving;
|
||||
#if FMOD_VERSION >= 0x43400
|
||||
bool diskbusy;
|
||||
#endif
|
||||
float volume;
|
||||
float frequency;
|
||||
bool paused;
|
||||
|
|
|
@ -378,6 +378,10 @@ void InitPalette ()
|
|||
GPalette.BaseColors[0].r, GPalette.BaseColors[0].g, GPalette.BaseColors[0].b, 1, 255);
|
||||
}
|
||||
}
|
||||
|
||||
// Colormaps have to be initialized before actors are loaded,
|
||||
// otherwise Powerup.Colormap will not work.
|
||||
R_InitColormaps ();
|
||||
}
|
||||
|
||||
extern "C" void STACK_ARGS DoBlending_MMX (const PalEntry *from, PalEntry *to, int count, int r, int g, int b, int a);
|
||||
|
|
Loading…
Reference in a new issue