Odamex
Setting the Standard in Multiplayer Doom
common/d_protocol.h File Reference

Go to the source code of this file.

Data Structures

struct  zdemoheader_s
struct  usercmd_s

Typedefs

typedef struct usercmd_s usercmd_t

Functions

FArchiveoperator<< (FArchive &arc, usercmd_t &cmd)
FArchiveoperator>> (FArchive &arc, usercmd_t &cmd)
int UnpackUserCmd (usercmd_t *ucmd, byte **stream)
int PackUserCmd (usercmd_t *ucmd, byte **stream)
int ReadByte (byte **stream)
int ReadWord (byte **stream)
int ReadLong (byte **stream)
const char * ReadString (byte **stream)
void WriteByte (byte val, byte **stream)
void WriteWord (short val, byte **stream)
void WriteLong (int val, byte **stream)
void WriteString (const char *string, byte **stream)

Typedef Documentation

typedef struct usercmd_s usercmd_t

Function Documentation

FArchive& operator<< ( FArchive arc,
usercmd_t cmd 
)
FArchive& operator>> ( FArchive arc,
usercmd_t cmd 
)
int PackUserCmd ( usercmd_t ucmd,
byte **  stream 
)
int ReadByte ( byte **  stream)
int ReadLong ( byte **  stream)
const char* ReadString ( byte **  stream)
int ReadWord ( byte **  stream)
int UnpackUserCmd ( usercmd_t ucmd,
byte **  stream 
)
void WriteByte ( byte  val,
byte **  stream 
)
void WriteLong ( int  val,
byte **  stream 
)
void WriteString ( const char *  string,
byte **  stream 
)
void WriteWord ( short  val,
byte **  stream 
)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends