Home
last modified time | relevance | path

Searched refs:model_precache (Results 1 – 21 of 21) sorted by relevance

/external/quake/quake/src/WinQuake/
Dcl_parse.cpp209 char model_precache[MAX_MODELS][MAX_QPATH]; in CL_ParseServerInfo() local
253 memset (cl.model_precache, 0, sizeof(cl.model_precache)); in CL_ParseServerInfo()
264 strcpy (model_precache[nummodels], str); in CL_ParseServerInfo()
290 cl.model_precache[i] = Mod_ForName (model_precache[i], false); in CL_ParseServerInfo()
291 if (cl.model_precache[i] == NULL) in CL_ParseServerInfo()
293 Con_Printf("Model %s not found\n", model_precache[i]); in CL_ParseServerInfo()
309 cl_entities[0].model = cl.worldmodel = cl.model_precache[1]; in CL_ParseServerInfo()
379 model = cl.model_precache[modnum]; in CL_ParseUpdate()
681 ent->model = cl.model_precache[ent->baseline.modelindex]; in CL_ParseStatic()
Dsv_main.cpp211 for (s = sv.model_precache+1 ; *s ; s++) in SV_SendServerinfo()
911 for (i=0 ; i<MAX_MODELS && sv.model_precache[i] ; i++) in SV_ModelIndex()
912 if (!strcmp(sv.model_precache[i], name)) in SV_ModelIndex()
914 if (i==MAX_MODELS || !sv.model_precache[i]) in SV_ModelIndex()
1146 sv.model_precache[0] = pr_strings; in SV_SpawnServer()
1147 sv.model_precache[1] = sv.modelname; in SV_SpawnServer()
1150 sv.model_precache[1+i] = localmodels[i]; in SV_SpawnServer()
Dserver.h53 char *model_precache[MAX_MODELS]; // NULL terminated member
Dclient.h210 struct model_s *model_precache[MAX_MODELS]; member
Dhost_cmd.cpp1714 cl.model_precache[(int)e->u.v.modelindex] = m; in Host_Viewmodel_f()
1731 m = cl.model_precache[(int)e->u.v.modelindex]; in Host_Viewframe_f()
1767 m = cl.model_precache[(int)e->u.v.modelindex]; in Host_Viewnext_f()
1790 m = cl.model_precache[(int)e->u.v.modelindex]; in Host_Viewprev_f()
Dview.cpp942 …if (cl.model_precache[cl.stats[STAT_WEAPON]] && strcmp (cl.model_precache[cl.stats[STAT_WEAPON]]->… in V_CalcRefdef()
953 view->model = cl.model_precache[cl.stats[STAT_WEAPON]]; in V_CalcRefdef()
Dpr_cmds.cpp245 for (i=0, check = sv.model_precache ; *check ; i++, check++) in PF_setmodel()
1106 if (!sv.model_precache[i]) in PF_precache_model()
1108 sv.model_precache[i] = s; in PF_precache_model()
1112 if (!strcmp(sv.model_precache[i], s)) in PF_precache_model()
Dgl_rsurf.cpp1779 m = cl.model_precache[j]; in GL_BuildLightmaps()
DWinQuake.ncb1244model_precache�model_s *%[MAX_MODELS]�client_state_t::sound_precache�sfx_s *%[MAX_SOUNDS]�client_s…
/external/quake/quake/src/QW/server/
Dsv_init.c43 for (i=0 ; i<MAX_MODELS && sv.model_precache[i] ; i++) in SV_ModelIndex()
44 if (!strcmp(sv.model_precache[i], name)) in SV_ModelIndex()
46 if (i==MAX_MODELS || !sv.model_precache[i]) in SV_ModelIndex()
351 sv.model_precache[0] = pr_strings; in SV_SpawnServer()
352 sv.model_precache[1] = sv.modelname; in SV_SpawnServer()
356 sv.model_precache[1+i] = localmodels[i]; in SV_SpawnServer()
Dsv_send.c452 if (!sv.model_precache[i]) in SV_FindModelNumbers()
454 if (!strcmp(sv.model_precache[i],"progs/spike.mdl")) in SV_FindModelNumbers()
456 if (!strcmp(sv.model_precache[i],"progs/s_spike.mdl")) in SV_FindModelNumbers()
458 if (!strcmp(sv.model_precache[i],"progs/player.mdl")) in SV_FindModelNumbers()
Dpr_cmds.c174 for (i=0, check = sv.model_precache ; *check ; i++, check++) in PF_setmodel()
931 if (!sv.model_precache[i]) in PF_precache_model()
933 sv.model_precache[i] = s; in PF_precache_model()
936 if (!strcmp(sv.model_precache[i], s)) in PF_precache_model()
Dserver.h55 char *model_precache[MAX_MODELS]; // NULL terminated member
Dsv_user.c205 for (s = sv.model_precache+1+n ; in SV_Modellist_f()
/external/quake/quake/src/QW/client/
Dcl_ents.c456 ent->model = model = cl.model_precache[s1->modelindex]; in CL_LinkPacketEntities()
634 ent->model = cl.model_precache[pr->modelindex]; in CL_LinkProjectiles()
770 newent->model = cl.model_precache[cl_flagindex]; in CL_AddFlagModels()
850 ent->model = cl.model_precache[state->modelindex]; in CL_LinkPlayers()
927 if (!cl.model_precache[state->modelindex]) in CL_SetSolidEntities()
929 if ( cl.model_precache[state->modelindex]->hulls[1].firstclipnode in CL_SetSolidEntities()
930 || cl.model_precache[state->modelindex]->clipbox ) in CL_SetSolidEntities()
932 pmove.physents[pmove.numphysent].model = cl.model_precache[state->modelindex]; in CL_SetSolidEntities()
Dcl_parse.c233 cl.model_precache[i] = Mod_ForName (cl.model_name[i], false); in Model_NextDownload()
235 if (!cl.model_precache[i]) in Model_NextDownload()
247 cl.worldmodel = cl.model_precache[1]; in Model_NextDownload()
291 memset (cl.model_precache, 0, sizeof(cl.model_precache)); in Sound_NextDownload()
742 ent->model = cl.model_precache[es.modelindex]; in CL_ParseStatic()
Dcl_pred.c42 if (PM_HullPointContents (&cl.model_precache[1]->hulls[1], 0, pmove.origin) == CONTENTS_EMPTY) in CL_NudgePosition()
52 if (PM_HullPointContents (&cl.model_precache[1]->hulls[1], 0, pmove.origin) == CONTENTS_EMPTY) in CL_NudgePosition()
Dclient.h273 struct model_s *model_precache[MAX_MODELS]; member
Dcl_demo.c528 if (ent->model == cl.model_precache[j]) in CL_Record_f()
Dview.c944 view->model = cl.model_precache[cl.stats[STAT_WEAPON]]; in V_CalcRefdef()
Dgl_rsurf.c1668 m = cl.model_precache[j]; in GL_BuildLightmaps()