From b748d7bd39be3d4f4d7c0b38ecfd268785259f38 Mon Sep 17 00:00:00 2001 From: Dan Olson Date: Sun, 14 May 2000 03:29:32 +0000 Subject: [PATCH] some aesthetic stuff --- source/common.c | 3 ++- source/model.c | 10 ---------- source/sv_model.c | 10 ---------- 3 files changed, 2 insertions(+), 21 deletions(-) diff --git a/source/common.c b/source/common.c index 8140740..97a582c 100644 --- a/source/common.c +++ b/source/common.c @@ -1467,7 +1467,8 @@ int COM_FOpenFile (char *filename, FILE **file) for (i=0 ; inumfiles ; i++) if (!strcmp (pak->files[i].name, filename)) { // found it! - Sys_Printf ("PackFile: %s : %s\n",pak->filename, filename); + if(developer.value) + Sys_Printf ("PackFile: %s : %s\n",pak->filename, filename); // open a new file on the pakfile *file = fopen (pak->filename, "rb"); if (!*file) diff --git a/source/model.c b/source/model.c index 0d546f3..f8c1733 100644 --- a/source/model.c +++ b/source/model.c @@ -42,8 +42,6 @@ void Mod_LoadBrushModel (model_t *mod, void *buffer); void Mod_LoadAliasModel (model_t *mod, void *buffer); model_t *Mod_LoadModel (model_t *mod, qboolean crash); void R_InitSky(struct texture_s *mt); -void GL_SubdivideSurface (msurface_t *fa); -void Mod_LoadMMNearest(miptex_t *mx, texture_t *tx); byte mod_novis[MAX_MAP_LEAFS/8]; @@ -350,10 +348,6 @@ void Mod_LoadTextures (lump_t *l) if (!Q_strncmp(mt->name,"sky",3)) R_InitSky (tx); - else - { - Mod_LoadMMNearest(mt, tx); - } } // @@ -762,9 +756,6 @@ void Mod_LoadFaces (lump_t *l) if (!Q_strncmp(out->texinfo->texture->name,"sky",3)) // sky { out->flags |= (SURF_DRAWSKY | SURF_DRAWTILED); -#ifndef QUAKE2 - GL_SubdivideSurface (out); // cut up polygon for warps -#endif continue; } @@ -776,7 +767,6 @@ void Mod_LoadFaces (lump_t *l) out->extents[i] = 16384; out->texturemins[i] = -8192; } - GL_SubdivideSurface (out); // cut up polygon for warps continue; } } diff --git a/source/sv_model.c b/source/sv_model.c index 8d6fb78..ca01360 100644 --- a/source/sv_model.c +++ b/source/sv_model.c @@ -18,13 +18,3 @@ void R_InitSky(struct texture_s *mt) { } - -void -Mod_LoadMMNearest(miptex_t *mx, texture_t *tx) -{ -} - -void -GL_SubdivideSurface (msurface_t *fa) -{ -}