From 07ebed7f876c2714a3bbb7207e1000b3f2ccd1d0 Mon Sep 17 00:00:00 2001 From: Spoike Date: Wed, 22 Dec 2004 01:06:31 +0000 Subject: [PATCH] Whoops git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@675 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/renderer.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/engine/client/renderer.c b/engine/client/renderer.c index 01f1c36da..ee94ccf31 100644 --- a/engine/client/renderer.c +++ b/engine/client/renderer.c @@ -617,6 +617,7 @@ qbyte *(*Mod_Q1LeafPVS) (struct mleaf_s *leaf, struct model_s *model, qbyte *b void (*Mod_NowLoadExternal) (void); void (*Mod_Think) (void); void (*Mod_GetTag) (struct model_s *model, int tagnum, int frame, float **org, float **axis); +int (*Mod_TagNumForName) (struct model_s *model, char *name); @@ -706,6 +707,7 @@ struct { void (*Mod_NowLoadExternal) (void); void (*Mod_Think) (void); void (*Mod_GetTag) (struct model_s *model, int tagnum, int frame, float **org, float **axis); + int (*Mod_TagNumForName) (struct model_s *model, char *name); qboolean (*VID_Init) (rendererstate_t *info, unsigned char *palette); @@ -816,6 +818,7 @@ struct { #endif NULL, //Mod_GetTag + NULL, //fixme: server will need this one at some point. NULL, //VID_Init, NULL, //VID_DeInit, @@ -908,6 +911,7 @@ struct { SWMod_Think, NULL, //Mod_GetTag + NULL, //Mod_TagForName SWVID_Init, SWVID_Shutdown, @@ -1012,6 +1016,7 @@ struct { GLMod_Think, GLMod_GetTag, + GLMod_TagNumForName, GLVID_Init, GLVID_DeInit, @@ -1281,6 +1286,9 @@ void R_SetRenderer(int wanted) Mod_Q1LeafPVS = rendererinfo[wanted].Mod_Q1LeafPVS; Mod_NowLoadExternal = rendererinfo[wanted].Mod_NowLoadExternal; + Mod_GetTag = rendererinfo[wanted].Mod_GetTag; + Mod_TagNumForName = rendererinfo[wanted].Mod_TagNumForName; + SCR_UpdateScreen = rendererinfo[wanted].SCR_UpdateScreen;