1
0
Fork 0
forked from fte/fteqw

Q2 game code needs a very specific structure.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@739 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-01-07 02:33:58 +00:00
parent a1d1f34fe3
commit d30d52c8fa

View file

@ -709,6 +709,7 @@ typedef struct
typedef struct usercmd_s
{
//the first members of this structure MUST match the q2 version
qbyte msec;
qbyte buttons;
short angles[3];
@ -719,6 +720,16 @@ typedef struct usercmd_s
int servertime;
} usercmd_t;
typedef struct q2usercmd_s
{
qbyte msec;
qbyte buttons;
short angles[3];
short forwardmove, sidemove, upmove;
qbyte impulse;
qbyte lightlevel;
} q2usercmd_t;
typedef struct q1usercmd_s
{
qbyte msec;