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:
parent
a1d1f34fe3
commit
d30d52c8fa
1 changed files with 11 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue