diff --git a/Quake/draw.h b/Quake/draw.h index c712d121a..d5d801463 100644 --- a/Quake/draw.h +++ b/Quake/draw.h @@ -30,7 +30,6 @@ extern qpic_t *draw_disc; // also used on sbar void Draw_Init (void); void Draw_Character (int x, int y, int num); -void Draw_DebugChar (char num); void Draw_Pic (int x, int y, qpic_t *pic, float alpha); void Draw_TransPicTranslate (int x, int y, qpic_t *pic, int top, int bottom); //johnfitz -- more parameters void Draw_ConsoleBackground (void); //johnfitz -- removed parameter int lines diff --git a/Quake/glquake.h b/Quake/glquake.h index 283a4e468..2b8a5e8ee 100644 --- a/Quake/glquake.h +++ b/Quake/glquake.h @@ -333,7 +333,6 @@ void R_DrawSpriteModel (entity_t *e); void R_DrawTextureChains_Water (qmodel_t *model, entity_t *ent, texchain_t chain); -void R_RenderDlights (void); void GL_BuildLightmaps (void); void GL_DeleteBModelVertexBuffer (void); void GL_BuildBModelVertexBuffer (void); @@ -348,13 +347,10 @@ void R_BuildLightMap (msurface_t *surf, byte *dest, int stride); void R_RenderDynamicLightmaps (msurface_t *fa); void R_UploadLightmaps (void); -void R_DrawWorld_ShowTris (void); -void R_DrawBrushModel_ShowTris (entity_t *e); void R_DrawAliasModel_ShowTris (entity_t *e); void R_DrawParticles_ShowTris (void); void GL_DrawAliasShadow (entity_t *e); -void DrawGLTriangleFan (glpoly_t *p); void DrawGLPoly (glpoly_t *p, float color[3], float alpha); void GL_MakeAliasModelDisplayLists (qmodel_t *m, aliashdr_t *hdr); diff --git a/Quake/r_brush.c b/Quake/r_brush.c index 272c2d378..19d744909 100644 --- a/Quake/r_brush.c +++ b/Quake/r_brush.c @@ -124,25 +124,6 @@ void DrawGLPoly (glpoly_t *p, float color[3], float alpha) vkCmdDraw(vulkan_globals.command_buffer, numverts, 1, 0, 0); } -/* -================ -DrawGLTriangleFan -- johnfitz -- like DrawGLPoly but for r_showtris -================ -*/ -void DrawGLTriangleFan (glpoly_t *p) -{ - /*float *v; - int i; - - glBegin (GL_TRIANGLE_FAN); - v = p->verts[0]; - for (i=0 ; inumverts ; i++, v+= VERTEXSIZE) - { - glVertex3fv (v); - } - glEnd ();*/ -} - /* ============================================================= diff --git a/Quake/r_world.c b/Quake/r_world.c index 35350dd49..ac07c07af 100644 --- a/Quake/r_world.c +++ b/Quake/r_world.c @@ -264,37 +264,6 @@ void R_BuildLightmapChains (qmodel_t *model, texchain_t chain) } } -//============================================================================== -// -// DRAW CHAINS -// -//============================================================================== - -/* -================ -R_DrawTextureChains_ShowTris -- johnfitz -================ -*/ -void R_DrawTextureChains_ShowTris (qmodel_t *model, texchain_t chain) -{ - int i; - msurface_t *s; - texture_t *t; - - for (i=0 ; inumtextures ; i++) - { - t = model->textures[i]; - if (!t) - continue; - - for (s = t->texturechains[chain]; s; s = s->texturechain) - if (!s->culled) - { - DrawGLTriangleFan (s->polys); - } - } -} - //============================================================================== // // VBO SUPPORT @@ -596,16 +565,3 @@ void R_DrawWorld_Water (void) R_DrawTextureChains_Water (cl.worldmodel, NULL, chain_world); } - -/* -============= -R_DrawWorld_ShowTris -- ericw -- moved from R_DrawTextureChains_ShowTris, which is no longer specific to the world. -============= -*/ -void R_DrawWorld_ShowTris (void) -{ - if (!r_drawworld_cheatsafe) - return; - - R_DrawTextureChains_ShowTris (cl.worldmodel, chain_world); -} diff --git a/Quake/screen.h b/Quake/screen.h index 0340bf844..7a1b3f2a9 100644 --- a/Quake/screen.h +++ b/Quake/screen.h @@ -31,9 +31,6 @@ void SCR_LoadPics (void); void SCR_UpdateScreen (void); -void SCR_SizeUp (void); -void SCR_SizeDown (void); -void SCR_BringDownConsole (void); void SCR_CenterPrint (const char *str); void SCR_BeginLoadingPlaque (void); @@ -53,8 +50,6 @@ extern cvar_t scr_viewsize; extern cvar_t scr_sbaralpha; //johnfitz -void SCR_UpdateWholeScreen (void); - //johnfitz -- stuff for 2d drawing control typedef enum { CANVAS_NONE,