Build fix

git-svn-id: https://svn.eduke32.com/eduke32@5804 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2016-06-21 04:29:06 +00:00
parent 95f7cf0982
commit 0d41360676
3 changed files with 6 additions and 7 deletions

View file

@ -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)
{

View file

@ -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);

View file

@ -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);