Quake II RTX doxygen
1.0 dev
|
|
#include "client.h"
#include "common/x86/fpu.h"
Go to the source code of this file.
◆ CL_CheckPredictionError()
Definition at line 27 of file predict.c.
47 frame =
cls.
netchan->incoming_acknowledged & CMD_MASK;
54 len = abs(delta[0]) + abs(delta[1]) + abs(delta[2]);
55 if (len < 1 || len > 640) {
61 SHOWMISS(
"prediction miss on %i: %i (%d %d %d)\n",
Referenced by CL_DeltaFrame().
◆ CL_ClipMoveToEntities()
static void CL_ClipMoveToEntities |
( |
vec3_t |
start, |
|
|
vec3_t |
mins, |
|
|
vec3_t |
maxs, |
|
|
vec3_t |
end, |
|
|
trace_t * |
tr |
|
) |
| |
|
static |
Definition at line 80 of file predict.c.
91 if (ent->
current.solid == PACKED_BSP) {
96 headnode = cmodel->headnode;
105 mins, maxs, headnode, MASK_PLAYERSOLID,
Referenced by CL_Trace().
◆ CL_PointContents()
static int CL_PointContents |
( |
vec3_t |
point | ) |
|
|
static |
◆ CL_PredictAngles()
◆ CL_PredictMovement()
Definition at line 175 of file predict.c.
177 unsigned ack, current, frame;
203 if (current - ack > CMD_BACKUP - 1) {
208 if (!
cl.
cmd.msec && current == ack) {
217 memset(&
pm, 0,
sizeof(
pm));
222 #if USE_SMOOTH_DELTA_ANGLES
223 VectorCopy(
cl.delta_angles,
pm.s.delta_angles);
227 while (++ack <= current) {
252 if (
pm.s.pm_type != PM_SPECTATOR && (
pm.s.pm_flags & PMF_ON_GROUND)) {
254 step =
pm.s.origin[2] - oldz;
255 if (step > 63 && step < 160) {
Referenced by CL_Frame().
◆ CL_Trace()
static trace_t q_gameabi CL_Trace |
( |
vec3_t |
start, |
|
|
vec3_t |
mins, |
|
|
vec3_t |
maxs, |
|
|
vec3_t |
end |
|
) |
| |
|
static |
void CM_BoxTrace(trace_t *trace, vec3_t start, vec3_t end, vec3_t mins, vec3_t maxs, mnode_t *headnode, int brushmask)
struct client_static_s::@3 demo
centity_t * solidEntities[MAX_PACKET_ENTITIES]
void CL_PredictAngles(void)
mmodel_t * model_clip[MAX_MODELS]
static int CL_PointContents(vec3_t point)
static void CL_ClipMoveToEntities(vec3_t start, vec3_t mins, vec3_t maxs, vec3_t end, trace_t *tr)
vec3_t predicted_velocity
mnode_t * CM_HeadnodeForBox(vec3_t mins, vec3_t maxs)
static trace_t q_gameabi CL_Trace(vec3_t start, vec3_t mins, vec3_t maxs, vec3_t end)
unsigned predicted_step_frame
void CM_ClipEntity(trace_t *dst, const trace_t *src, struct edict_s *ent)
void Pmove(pmove_t *pmove, pmoveParams_t *params)
usercmd_t cmds[CMD_BACKUP]
void CM_TransformedBoxTrace(trace_t *trace, vec3_t start, vec3_t end, vec3_t mins, vec3_t maxs, mnode_t *headnode, int brushmask, vec3_t origin, vec3_t angles)
int CM_PointContents(vec3_t p, mnode_t *headnode)
unsigned predicted_step_time
short predicted_origins[CMD_BACKUP][3]
client_history_t history[CMD_BACKUP]
int CM_TransformedPointContents(vec3_t p, mnode_t *headnode, vec3_t origin, vec3_t angles)