// progs: Builtin #492 declared but not defined
// progs: Builtin #493 declared but not defined
// progs: Builtin #608 declared but not defined
-// progs: Field ping_packetloss declared but not defined
-// progs: Field ping_movementloss declared but not defined
// progs: Field frame2 declared but not defined
// progs: Field frame3 declared but not defined
// progs: Field frame4 declared but not defined
.float fullbright; // DP_UNKNOWN
.float hull; // DP_UNKNOWN
.float items2; // DP_UNKNOWN
-.float movementloss; // DP_UNKNOWN
-.float packetloss; // DP_UNKNOWN
.float pmodel; // DP_UNKNOWN
.float renderamt; // DP_UNKNOWN
.float rendermode; // DP_UNKNOWN
int nodrawtoclient; // ssqc
int pflags; // ssqc
int ping; // ssqc
- int packetloss; // ssqc
- int movementloss; // ssqc
+ int ping_packetloss; // ssqc
+ int ping_movementloss; // ssqc
int pitch_speed; // ssqc / csqc
int playermodel; // ssqc
int playerskin; // ssqc
prog->fieldoffsets.nodrawtoclient = PRVM_ED_FindFieldOffset("nodrawtoclient");
prog->fieldoffsets.pflags = PRVM_ED_FindFieldOffset("pflags");
prog->fieldoffsets.ping = PRVM_ED_FindFieldOffset("ping");
- prog->fieldoffsets.packetloss = PRVM_ED_FindFieldOffset("ping_packetloss");
- prog->fieldoffsets.movementloss = PRVM_ED_FindFieldOffset("ping_movementloss");
+ prog->fieldoffsets.ping_packetloss = PRVM_ED_FindFieldOffset("ping_packetloss");
+ prog->fieldoffsets.ping_movementloss = PRVM_ED_FindFieldOffset("ping_movementloss");
prog->fieldoffsets.pitch_speed = PRVM_ED_FindFieldOffset("pitch_speed");
prog->fieldoffsets.playermodel = PRVM_ED_FindFieldOffset("playermodel");
prog->fieldoffsets.playerskin = PRVM_ED_FindFieldOffset("playerskin");
if ((val = PRVM_EDICTFIELDVALUE(host_client->edict, prog->fieldoffsets.cursor_trace_endpos))) VectorCopy(move->cursor_impact, val->vector);
if ((val = PRVM_EDICTFIELDVALUE(host_client->edict, prog->fieldoffsets.cursor_trace_ent))) val->edict = PRVM_EDICT_TO_PROG(PRVM_EDICT_NUM(move->cursor_entitynumber));
if ((val = PRVM_EDICTFIELDVALUE(host_client->edict, prog->fieldoffsets.ping))) val->_float = host_client->ping * 1000.0;
- if ((val = PRVM_EDICTFIELDVALUE(host_client->edict, prog->fieldoffsets.packetloss))) val->_float = packetloss / (float) NETGRAPH_PACKETS;
- if ((val = PRVM_EDICTFIELDVALUE(host_client->edict, prog->fieldoffsets.movementloss))) val->_float = movementloss / (float) NETGRAPH_PACKETS;
+ if ((val = PRVM_EDICTFIELDVALUE(host_client->edict, prog->fieldoffsets.ping_packetloss))) val->_float = packetloss / (float) NETGRAPH_PACKETS;
+ if ((val = PRVM_EDICTFIELDVALUE(host_client->edict, prog->fieldoffsets.ping_movementloss))) val->_float = movementloss / (float) NETGRAPH_PACKETS;
}
void SV_FrameLost(int framenum)