]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
got rid of R_NewMap, directly calls R_Modules_NewMap instead
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 22 Mar 2003 10:23:38 +0000 (10:23 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 22 Mar 2003 10:23:38 +0000 (10:23 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2848 d7cf8633-e32d-0410-b094-e92efae38249

cl_parse.c
gl_rmain.c
render.h

index 9863aa3c75e07d65d63c4d19f98327c0b2b76a73..d8436a3a001fee3a9c31ed0fd3834d95d20cfbe0 100644 (file)
@@ -459,7 +459,7 @@ void CL_ParseServerInfo (void)
 
        cl_num_entities = 1;
 
-       R_NewMap ();
+       R_Modules_NewMap ();
        CL_CGVM_Start();
 
        // noclip is turned off at start
index b35afafc5a01b393cb3bd2a61586ae0a560d560a..91fba30b7324dbb41f2708192f07d69570e40925 100644 (file)
@@ -272,16 +272,6 @@ float R_FarClip_Finish(void)
        return r_farclip_meshfarclip - r_farclip_directiondist;
 }
 
-/*
-===============
-R_NewMap
-===============
-*/
-void R_NewMap (void)
-{
-       R_Modules_NewMap();
-}
-
 extern void R_Textures_Init(void);
 extern void Mod_RenderInit(void);
 extern void GL_Draw_Init(void);
index 88ccbed27e6d655f6a74b097722c60de1ceddd03..982760b34e399415786dbf7dcc297ecb1ea49b13 100644 (file)
--- a/render.h
+++ b/render.h
@@ -107,8 +107,6 @@ void R_RenderView (void); // must set r_refdef first
 
 void R_InitSky (qbyte *src, int bytesperpixel); // called at level load
 
-void R_NewMap (void);
-
 void R_WorldVisibility(entity_render_t *ent);
 void R_DrawWorld(entity_render_t *ent);
 void R_DrawParticles(void);