mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-20 18:01:16 +00:00
Update comments
This commit is contained in:
parent
cc54163210
commit
e359f802fd
7 changed files with 11 additions and 11 deletions
|
@ -225,7 +225,7 @@ static void D_Display(void)
|
|||
if (nodrawers)
|
||||
return; // for comparative timing/profiling
|
||||
|
||||
// Jimita: Switching renderers works by checking
|
||||
// Lactozilla: Switching renderers works by checking
|
||||
// if the game has to do it right when the frame
|
||||
// needs to render. If so, five things will happen:
|
||||
// 1. Interface functions will be called so
|
||||
|
@ -273,7 +273,7 @@ static void D_Display(void)
|
|||
forcerefresh = true; // force background redraw
|
||||
}
|
||||
|
||||
// Jimita
|
||||
// Lactozilla: Renderer switching
|
||||
D_CheckRendererState();
|
||||
|
||||
// draw buffered stuff to screen
|
||||
|
@ -583,7 +583,7 @@ static void D_Display(void)
|
|||
needpatchrecache = false;
|
||||
}
|
||||
|
||||
// Jimita: Check the renderer's state
|
||||
// Lactozilla: Check the renderer's state
|
||||
// after a possible renderer switch.
|
||||
void D_CheckRendererState(void)
|
||||
{
|
||||
|
@ -1281,7 +1281,7 @@ void D_SRB2Main(void)
|
|||
// set user default mode or mode set at cmdline
|
||||
SCR_CheckDefaultMode();
|
||||
|
||||
// Jimita: Does the render mode need to change?
|
||||
// Lactozilla: Does the render mode need to change?
|
||||
if ((setrenderneeded != 0) && (setrenderneeded != rendermode))
|
||||
{
|
||||
needpatchflush = true;
|
||||
|
|
|
@ -884,7 +884,7 @@ GLTexture_t *HWR_GetTexture(INT32 tex)
|
|||
I_Error("HWR_GetTexture: tex >= numtextures\n");
|
||||
#endif
|
||||
|
||||
// Jimita
|
||||
// Lactozilla: Renderer switching
|
||||
if (needpatchrecache && (!gr_textures))
|
||||
HWR_LoadTextures(gr_numtextures);
|
||||
|
||||
|
|
|
@ -6022,7 +6022,7 @@ static void M_DrawAddons(void)
|
|||
return;
|
||||
}
|
||||
|
||||
// Jimita: Load addons menu patches.
|
||||
// Lactozilla: Load addons menu patches.
|
||||
if (needpatchrecache)
|
||||
M_LoadAddonsPatches();
|
||||
|
||||
|
|
|
@ -3019,7 +3019,7 @@ boolean P_SetupLevel(boolean skipprecip)
|
|||
P_SpawnPrecipitation();
|
||||
|
||||
#ifdef HWRENDER // not win32 only 19990829 by Kin
|
||||
// Jimita: Free extrasubsectors regardless of renderer.
|
||||
// Lactozilla: Free extrasubsectors regardless of renderer.
|
||||
// Maybe we're not in OpenGL anymore.
|
||||
if (extrasubsectors)
|
||||
free(extrasubsectors);
|
||||
|
|
|
@ -1156,7 +1156,7 @@ void R_RenderPlayerView(player_t *player)
|
|||
free(masks);
|
||||
}
|
||||
|
||||
// Jimita
|
||||
// Lactozilla: Renderer switching
|
||||
#ifdef HWRENDER
|
||||
void R_InitHardwareMode(void)
|
||||
{
|
||||
|
|
|
@ -197,7 +197,7 @@ void SCR_SetMode(void)
|
|||
if (!(setmodeneeded || setrenderneeded) || WipeInAction)
|
||||
return; // should never happen and don't change it during a wipe, BAD!
|
||||
|
||||
// Jimita
|
||||
// Lactozilla: Renderer switching
|
||||
if (setrenderneeded)
|
||||
{
|
||||
needpatchflush = true;
|
||||
|
@ -443,7 +443,7 @@ void SCR_ActuallyChangeRenderer(void)
|
|||
setrenderneeded = 0;
|
||||
}
|
||||
|
||||
// Jimita
|
||||
// Lactozilla: Renderer switching
|
||||
void SCR_ChangeRenderer(void)
|
||||
{
|
||||
setrenderneeded = 0;
|
||||
|
|
|
@ -323,7 +323,7 @@ void Y_IntermissionDrawer(void)
|
|||
if (intertype == int_none || rendermode == render_none)
|
||||
return;
|
||||
|
||||
// Jimita
|
||||
// Lactozilla: Renderer switching
|
||||
if (needpatchrecache)
|
||||
{
|
||||
Y_CleanupData();
|
||||
|
|
Loading…
Reference in a new issue