mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 19:50:45 +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)
|
if (!gammabrightness)
|
||||||
{
|
{
|
||||||
|
|
|
@ -34,11 +34,6 @@ int32_t althud_shadows = 0;
|
||||||
int32_t althud_shadows = 1;
|
int32_t althud_shadows = 1;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
inline int32_t sbarsc(int32_t sc)
|
|
||||||
{
|
|
||||||
return scale(sc, ud.statusbarscale, 100);
|
|
||||||
}
|
|
||||||
|
|
||||||
static int32_t sbarx(int32_t x)
|
static int32_t sbarx(int32_t x)
|
||||||
{
|
{
|
||||||
if (ud.screen_size == 4) return sbarsc(x<<16);
|
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_numbertile;
|
||||||
extern int32_t althud_shadows;
|
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 sbarx16(int32_t x);
|
||||||
int32_t sbary16(int32_t y);
|
int32_t sbary16(int32_t y);
|
||||||
void G_DrawInventory(const DukePlayer_t *p);
|
void G_DrawInventory(const DukePlayer_t *p);
|
||||||
|
|
Loading…
Reference in a new issue