mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
These changes aren't particularly meaningful
git-svn-id: https://svn.eduke32.com/eduke32@7215 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
b3195ad6b4
commit
81d0632099
1 changed files with 3 additions and 3 deletions
|
@ -410,9 +410,9 @@ void fadepal(int32_t r,int32_t g,int32_t b,int32_t start,int32_t end,int32_t ste
|
|||
//void fadepaltile(int32_t r,int32_t g,int32_t b,int32_t start,int32_t end,int32_t step,int32_t tile);
|
||||
void G_InitTimer(int32_t ticspersec);
|
||||
|
||||
static inline int32_t G_GetTeamPalette(int32_t team)
|
||||
static inline int G_GetTeamPalette(int team)
|
||||
{
|
||||
int8_t pal[] = { 3, 10, 11, 12 };
|
||||
static CONSTEXPR int8_t pal[] = { 3, 10, 11, 12 };
|
||||
|
||||
if ((unsigned)team >= ARRAY_SIZE(pal))
|
||||
return 0;
|
||||
|
@ -560,7 +560,7 @@ static inline int G_GetViewscreenSizeShift(const uspritetype *tspr)
|
|||
static const int mask = (1<<VIEWSCREENFACTOR)-1;
|
||||
const int rem = (tspr->xrepeat & mask) | (tspr->yrepeat & mask);
|
||||
|
||||
for (bssize_t i=0; i < VIEWSCREENFACTOR; i++)
|
||||
for (int i=0; i < VIEWSCREENFACTOR; i++)
|
||||
if (rem & (1<<i))
|
||||
return i;
|
||||
|
||||
|
|
Loading…
Reference in a new issue