mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-30 16:30:43 +00:00
[qw] Remove viewangles from client state
Other than the one line in cl_pred.c, it's redundant, but it looks to be just a redundant copy from ancient times.
This commit is contained in:
parent
5cf1da7c25
commit
dc7cb97481
9 changed files with 53 additions and 49 deletions
|
@ -216,13 +216,11 @@ typedef struct {
|
|||
cshift_t cshifts[NUM_CSHIFTS]; // Color shifts for damage, powerups
|
||||
cshift_t prev_cshifts[NUM_CSHIFTS]; // and content types
|
||||
|
||||
// the client maintains its own idea of view angles, which are sent to the
|
||||
// server each frame. And reset only at level change and teleport times
|
||||
vec3_t viewangles;
|
||||
|
||||
// the client simulates or interpolates movement to get these values
|
||||
double time; // this is the time value that the client
|
||||
// is rendering at. always <= realtime
|
||||
// the client maintains its own idea of view angles, which are sent to the
|
||||
// server each frame. And reset only at level change and teleport times
|
||||
viewstate_t viewstate;
|
||||
// pitch drifting vars
|
||||
float idealpitch;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue