/external/quake/quake/src/WinQuake/ |
D | cl_parse.cpp | 209 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()
|
D | sv_main.cpp | 211 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()
|
D | server.h | 53 char *model_precache[MAX_MODELS]; // NULL terminated member
|
D | client.h | 210 struct model_s *model_precache[MAX_MODELS]; member
|
D | host_cmd.cpp | 1714 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()
|
D | view.cpp | 942 …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()
|
D | pr_cmds.cpp | 245 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()
|
D | gl_rsurf.cpp | 1779 m = cl.model_precache[j]; in GL_BuildLightmaps()
|
D | WinQuake.ncb | 1244 …model_precachemodel_s *%[MAX_MODELS]client_state_t::sound_precachesfx_s *%[MAX_SOUNDS]client_s…
|
/external/quake/quake/src/QW/server/ |
D | sv_init.c | 43 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()
|
D | sv_send.c | 452 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()
|
D | pr_cmds.c | 174 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()
|
D | server.h | 55 char *model_precache[MAX_MODELS]; // NULL terminated member
|
D | sv_user.c | 205 for (s = sv.model_precache+1+n ; in SV_Modellist_f()
|
/external/quake/quake/src/QW/client/ |
D | cl_ents.c | 456 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()
|
D | cl_parse.c | 233 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()
|
D | cl_pred.c | 42 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()
|
D | client.h | 273 struct model_s *model_precache[MAX_MODELS]; member
|
D | cl_demo.c | 528 if (ent->model == cl.model_precache[j]) in CL_Record_f()
|
D | view.c | 944 view->model = cl.model_precache[cl.stats[STAT_WEAPON]]; in V_CalcRefdef()
|
D | gl_rsurf.c | 1668 m = cl.model_precache[j]; in GL_BuildLightmaps()
|