mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-29 18:30:37 +00:00
- fixed compile
This commit is contained in:
parent
d49c5f7e4c
commit
eb6aac4c43
5 changed files with 5 additions and 4 deletions
|
@ -57,6 +57,7 @@ bool Cheat_Responder (event_t *ev)
|
|||
|
||||
if (cheats.Size() == 0)
|
||||
{
|
||||
#if 0
|
||||
auto gcheats = gi->GetCheats();
|
||||
if (gcheats)
|
||||
{
|
||||
|
@ -66,6 +67,7 @@ bool Cheat_Responder (event_t *ev)
|
|||
cheats.Push(cht);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
if (nocheats)
|
||||
|
|
|
@ -424,7 +424,7 @@ static int32_t tint_blood_r = 0, tint_blood_g = 0, tint_blood_b = 0;
|
|||
glblend_t glblend[MAXBLENDTABS];
|
||||
|
||||
|
||||
void videoSetPalette(int dabrightness, int palid, ESetPalFlags flags)
|
||||
void videoSetPalette(int palid, ESetPalFlags flags)
|
||||
{
|
||||
curbasepal = (GPalette.GetTranslation(Translation_BasePalettes, palid) == nullptr)? 0 : palid;
|
||||
if ((flags & Pal_DontResetFade) == 0) palfadergb = 0;
|
||||
|
|
|
@ -5673,7 +5673,7 @@ int GameInterface::app_main()
|
|||
if (g_networkMode != NET_DEDICATED_SERVER)
|
||||
{
|
||||
videoInit();
|
||||
videoSetPalette(0, myplayer.palette, 0);
|
||||
videoSetPalette(myplayer.palette, 0);
|
||||
}
|
||||
|
||||
// check if the minifont will support lowercase letters (3136-3161)
|
||||
|
|
|
@ -91,7 +91,7 @@ void P_SetGamePalette(DukePlayer_t *player, uint32_t palid, ESetPalFlags set)
|
|||
if (player != g_player[screenpeek].ps)
|
||||
return;
|
||||
|
||||
videoSetPalette(0, palid, set);
|
||||
videoSetPalette(palid, set);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -127,7 +127,6 @@ END_DUKE_NS
|
|||
#include "sector.h"
|
||||
#include "sounds.h"
|
||||
#include "soundsdyn.h"
|
||||
#include "rrdh.h"
|
||||
|
||||
BEGIN_DUKE_NS
|
||||
|
||||
|
|
Loading…
Reference in a new issue