forked from fte/fteqw
1
0
Fork 0
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@675 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-12-22 01:06:31 +00:00
parent 64c6d8816a
commit 07ebed7f87
1 changed files with 8 additions and 0 deletions

View File

@ -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;