mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 19:20:46 +00:00
Build fix
git-svn-id: https://svn.eduke32.com/eduke32@5804 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
95f7cf0982
commit
0d41360676
3 changed files with 6 additions and 7 deletions
|
@ -686,7 +686,7 @@ void setbrightness(char dabrightness, uint8_t dapalid, uint8_t flags)
|
|||
}
|
||||
}
|
||||
|
||||
inline palette_t getpal(int32_t col)
|
||||
palette_t getpal(int32_t col)
|
||||
{
|
||||
if (!gammabrightness)
|
||||
{
|
||||
|
|
|
@ -34,11 +34,6 @@ int32_t althud_shadows = 0;
|
|||
int32_t althud_shadows = 1;
|
||||
#endif
|
||||
|
||||
inline int32_t sbarsc(int32_t sc)
|
||||
{
|
||||
return scale(sc, ud.statusbarscale, 100);
|
||||
}
|
||||
|
||||
static int32_t sbarx(int32_t x)
|
||||
{
|
||||
if (ud.screen_size == 4) return sbarsc(x<<16);
|
||||
|
|
|
@ -27,7 +27,11 @@ extern int32_t althud_numberpal;
|
|||
extern int32_t althud_numbertile;
|
||||
extern int32_t althud_shadows;
|
||||
|
||||
int32_t sbarsc(int32_t sc);
|
||||
FORCE_INLINE int32_t sbarsc(int32_t sc)
|
||||
{
|
||||
return scale(sc, ud.statusbarscale, 100);
|
||||
}
|
||||
|
||||
int32_t sbarx16(int32_t x);
|
||||
int32_t sbary16(int32_t y);
|
||||
void G_DrawInventory(const DukePlayer_t *p);
|
||||
|
|
Loading…
Reference in a new issue