mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-28 23:22:43 +00:00
[nq] Move usercmd_t to protocol.h
Removes the need for the server code to include client.h
This commit is contained in:
parent
1f16f875f6
commit
6c33fbb850
2 changed files with 9 additions and 9 deletions
|
@ -47,15 +47,6 @@
|
|||
#include "protocol.h"
|
||||
|
||||
|
||||
typedef struct usercmd_s {
|
||||
vec3_t viewangles;
|
||||
|
||||
// intended velocities
|
||||
float forwardmove;
|
||||
float sidemove;
|
||||
float upmove;
|
||||
} usercmd_t;
|
||||
|
||||
// client_state_t should hold all pieces of the client state
|
||||
|
||||
typedef enum {
|
||||
|
|
|
@ -225,4 +225,13 @@
|
|||
|
||||
#include "client/entities.h" // for entity_state_t
|
||||
|
||||
typedef struct usercmd_s {
|
||||
vec3_t viewangles;
|
||||
|
||||
// intended velocities
|
||||
float forwardmove;
|
||||
float sidemove;
|
||||
float upmove;
|
||||
} usercmd_t;
|
||||
|
||||
#endif // __protocol_h
|
||||
|
|
Loading…
Reference in a new issue