remove some unnecessary hunk usage

This commit is contained in:
Shpuld Shpuldson 2023-09-22 21:42:40 +03:00
parent 08a31968fa
commit 86d36d1fd1
4 changed files with 10 additions and 6 deletions

View file

@ -1964,6 +1964,7 @@ void QMB_Shockwave_Splash(vec3_t org, int radius)
} }
extern sfx_t *cl_sfx_thunder; extern sfx_t *cl_sfx_thunder;
/*
void QMB_LetItRain(void) void QMB_LetItRain(void)
{ {
int i; int i;
@ -2001,7 +2002,7 @@ void QMB_LetItRain(void)
S_StartSound (-1, 0, cl_sfx_thunder, p->midpoint, 1, 1); S_StartSound (-1, 0, cl_sfx_thunder, p->midpoint, 1, 1);
cl.thundertime = cl.time + (rand()% 60 + 1); cl.thundertime = cl.time + (rand()% 60 + 1);
}*/ }*/
/*
point[0] = p->midpoint[0] + (rand() % 80 - 40); point[0] = p->midpoint[0] + (rand() % 80 - 40);
point[1] = p->midpoint[1] + (rand() % 80 - 40); point[1] = p->midpoint[1] + (rand() % 80 - 40);
point[2] = p->midpoint[2]; point[2] = p->midpoint[2];
@ -2011,6 +2012,7 @@ void QMB_LetItRain(void)
} }
} }
}; };
*/
//R00k: revamped to coincide with classic particle style... //R00k: revamped to coincide with classic particle style...

View file

@ -44,7 +44,7 @@ void Fog_DisableGFog (void);
void R_DrawDecals (void); void R_DrawDecals (void);
void R_RenderDecals (void); void R_RenderDecals (void);
void R_MarkLeaves (void); void R_MarkLeaves (void);
void QMB_LetItRain(void); // void QMB_LetItRain(void);
void QMB_LaserSight (void); void QMB_LaserSight (void);
void VID_SetPaletteH2(); void VID_SetPaletteH2();
void VID_SetPaletteTX(); void VID_SetPaletteTX();

View file

@ -151,10 +151,10 @@ typedef struct glpoly_s
struct glpoly_s *chain; struct glpoly_s *chain;
int numverts; int numverts;
int flags; // for SURF_UNDERWATER int flags; // for SURF_UNDERWATER
struct glpoly_s *detail_chain; // next detail poly in chain // struct glpoly_s *detail_chain; // next detail poly in chain
struct glpoly_s *caustics_chain; // next caustic poly in chain // struct glpoly_s *caustics_chain; // next caustic poly in chain
vec3_t midpoint;//MHQuake // vec3_t midpoint;//MHQuake
float fxofs; //MHQuake // float fxofs; //MHQuake
// shpuld: for display list allocated temporary memory for psp rendering // shpuld: for display list allocated temporary memory for psp rendering
int numclippedverts; int numclippedverts;

View file

@ -452,6 +452,7 @@ based on water polys!
By Crow_bar. By Crow_bar.
============= =============
*/ */
/*
void EmitUnderWaterPolys (void) void EmitUnderWaterPolys (void)
{ {
const float scale = (-3 * (0.5 / 64)); const float scale = (-3 * (0.5 / 64));
@ -537,6 +538,7 @@ void EmitUnderWaterPolys (void)
caustics_polys = NULL; caustics_polys = NULL;
} }
*/
/* /*
============= =============