mark R_ThingIsFullBrightT as static

This commit is contained in:
alufolie91 committed 2026-07-05 21:36:51 +02:00
1 parent be08c9cd1f
commit 2302d4efbd
4 files changed
+7 -3

No files matched your search

+1
View File
@@ -1694,6 +1694,7 @@ boolean I_InitTcpNetwork(void)
hardware_MAXPACKETLENGTH = MAXPACKETLENGTH;
}
}
if (M_CheckProtoParam("ip"))
{
COM_ImmedExecute(va("exec \"%s"PATHSEP"kartexec.cfg\" -noerror\n", srb2home));
+1 -1
View File
@@ -3038,7 +3038,7 @@ boolean R_ThingIsPaperSprite(mobj_t *thing)
}
template<typename T>
boolean R_ThingIsFullBrightT(T *thing)
static boolean R_ThingIsFullBrightT(T *thing)
{
return ((thing->frame & FF_BRIGHTMASK) == FF_FULLBRIGHT);
}
+3
View File
@@ -1816,15 +1816,18 @@ void I_StartupGraphics(void)
framebuffer = SDL_TRUE;
}
// Choose Software renderer
if (M_CheckParm("-software"))
rendermode = render_soft;
#ifdef HWRENDER
// Choose OpenGL renderer
else if (M_CheckParm("-opengl"))
rendermode = render_opengl;
msaa = 0; boolean msaa_set = false;
a2c = false; boolean a2c_set = false;
// MSAA antialiasing
if (M_CheckParm("-msaa") && M_IsNextParm())
{
const char* str = M_GetNextParm();
+2 -2
View File
@@ -1563,8 +1563,8 @@ void V_DrawFillConsoleMap(INT32 x, INT32 y, INT32 w, INT32 h, INT32 c)
{ // mpc 12-04-2018
const UINT8 *fadetable = ((UINT8 *)transtables + ((alphalevel-1)<<FF_TRANSSHIFT) + (c*256));
#define clip(x,y) (x>y) ? y : x
w = clip(w,vid.width);
h = clip(h,vid.height);
w = clip(w, vid.width);
h = clip(h, vid.height);
#undef clip
for (v = 0; v < h; v++, dest += vid.width)
{