Home
last modified time | relevance | path

Searched refs:modelindex (Results 1 – 25 of 27) sorted by relevance

12

/external/quake/quake/src/QW/client/
Dcl_ents.c184 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; member
602 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 …]
Dprotocol.h259 int modelindex; member
Dclient.h45 int modelindex; member
Dcl_parse.c706 es->modelindex = MSG_ReadByte (); in CL_ParseBaseline()
742 ent->model = cl.model_precache[es.modelindex]; in CL_ParseStatic()
Dcl_demo.c563 MSG_WriteByte (&buf, es->modelindex); in CL_Record_f()
/external/quake/quake/src/QW/server/
Dsv_ents.c100 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()
Dsv_init.c94 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()
Dprogdefs.h81 float modelindex; member
Dworld.c142 model = sv.models[ (int)ent->v.modelindex ]; in SV_HullForEntity()
403 if (ent->v.modelindex) in SV_LinkEdict()
Dsv_user.c1277 pe->model = sv.models[(int)(check->v.modelindex)]; in AddLinksToPmove()
1339 pe->model = sv.models[(int)(check->v.modelindex)]; in AddAllEntsToPmove()
Dpr_edict.c125 ed->v.modelindex = 0; in ED_Free()
/external/quake/quake/src/WinQuake/
Dsv_main.cpp454 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()
Dcl_parse.cpp377 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()
Dprogdefs.q164 float modelindex;
Dprogdefs.q266 float modelindex;
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()
Dquakedef.h229 int modelindex; member
Dworld.cpp142 model = sv.models[ (int)ent->u.v.modelindex ]; in SV_HullForEntity()
441 if (ent->u.v.modelindex) in SV_LinkEdict()
Dpr_cmds.cpp254 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()
Dpr_edict.cpp129 ed->u.v.modelindex = 0; in ED_Free()
/external/quake/quake/src/QW/progs/
Dprogdefs.h62 float modelindex; member
Dclient.qc211 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
Dworld.qc395 bodyque_head.modelindex = ent.modelindex;
Dsubs.qc41 self.modelindex = 0;
Dplayer.qc585 self.modelindex = modelindex_player; // don't use eyes

12