Searched refs:modelindex (Results 1 – 25 of 27) sorted by relevance
12
184 to->modelindex = MSG_ReadByte (); in CL_ParseDelta()445 if (!s1->modelindex) in CL_LinkPacketEntities()456 ent->model = model = cl.model_precache[s1->modelindex]; in CL_LinkPacketEntities()561 int modelindex; member602 pr->modelindex = cl_spikeindex; in CL_ParseProjectiles()632 if (pr->modelindex < 1) in CL_LinkProjectiles()634 ent->model = cl.model_precache[pr->modelindex]; in CL_LinkProjectiles()705 state->modelindex = MSG_ReadByte (); in CL_ParsePlayerinfo()707 state->modelindex = cl_playerindex; in CL_ParsePlayerinfo()837 if (!state->modelindex) in CL_LinkPlayers()[all …]
259 int modelindex; member
45 int modelindex; member
706 es->modelindex = MSG_ReadByte (); in CL_ParseBaseline()742 ent->model = cl.model_precache[es.modelindex]; in CL_ParseStatic()
563 MSG_WriteByte (&buf, es->modelindex); in CL_Record_f()
100 if (ent->v.modelindex != sv_nailmodel in SV_AddNailUpdate()101 && ent->v.modelindex != sv_supernailmodel) in SV_AddNailUpdate()192 if ( to->modelindex != from->modelindex ) in SV_WriteDelta()219 MSG_WriteByte (msg, to->modelindex); in SV_WriteDelta()355 if (ent->v.modelindex != sv_playermodel) in SV_WritePlayersToClient()423 MSG_WriteByte (msg, ent->v.modelindex); in SV_WritePlayersToClient()478 if (!ent->v.modelindex || !*PR_GetString(ent->v.model)) in SV_WriteEntitiesToClient()503 state->modelindex = ent->v.modelindex; in SV_WriteEntitiesToClient()
94 if (entnum > MAX_CLIENTS && !svent->v.modelindex) in SV_CreateBaseline()107 svent->baseline.modelindex = SV_ModelIndex("progs/player.mdl"); in SV_CreateBaseline()112 svent->baseline.modelindex = in SV_CreateBaseline()128 MSG_WriteByte (&sv.signon, svent->baseline.modelindex); in SV_CreateBaseline()375 ent->v.modelindex = 1; // world model in SV_SpawnServer()
81 float modelindex; member
142 model = sv.models[ (int)ent->v.modelindex ]; in SV_HullForEntity()403 if (ent->v.modelindex) in SV_LinkEdict()
1277 pe->model = sv.models[(int)(check->v.modelindex)]; in AddLinksToPmove()1339 pe->model = sv.models[(int)(check->v.modelindex)]; in AddAllEntsToPmove()
125 ed->v.modelindex = 0; in ED_Free()
454 if (!ent->u.v.modelindex || !pr_strings[ent->u.v.model]) in SV_WriteEntitiesToClient()505 if (ent->baseline.modelindex != ent->u.v.modelindex) in SV_WriteEntitiesToClient()527 MSG_WriteByte (msg, (int) ent->u.v.modelindex); in SV_WriteEntitiesToClient()937 if (entnum > svs.maxclients && !svent->u.v.modelindex) in SV_CreateBaseline()950 svent->baseline.modelindex = SV_ModelIndex("progs/player.mdl"); in SV_CreateBaseline()955 svent->baseline.modelindex = in SV_CreateBaseline()965 MSG_WriteByte (&sv.signon, svent->baseline.modelindex); in SV_CreateBaseline()1161 ent->u.v.modelindex = 1; // world model in SV_SpawnServer()
377 modnum = ent->baseline.modelindex; in CL_ParseUpdate()495 ent->baseline.modelindex = MSG_ReadByte (); in CL_ParseBaseline()681 ent->model = cl.model_precache[ent->baseline.modelindex]; in CL_ParseStatic()
64 float modelindex;
66 float modelindex;
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()
229 int modelindex; member
142 model = sv.models[ (int)ent->u.v.modelindex ]; in SV_HullForEntity()441 if (ent->u.v.modelindex) in SV_LinkEdict()
254 e->u.v.modelindex = i; //SV_ModelIndex (m); in PF_setmodel()256 mod = sv.models[ (int)e->u.v.modelindex]; // Mod_ForName (m, true); in PF_setmodel()
129 ed->u.v.modelindex = 0; in ED_Free()
62 float modelindex; member
211 other.modelindex = 0;296 self.modelindex = modelindex_player;495 modelindex_eyes = self.modelindex;498 modelindex_player = self.modelindex;991 self.modelindex = modelindex_eyes;994 self.modelindex = modelindex_player; // don't use eyes
395 bodyque_head.modelindex = ent.modelindex;
41 self.modelindex = 0;
585 self.modelindex = modelindex_player; // don't use eyes