Move Struct Reference

#include <moveManager.h>

List of all members.

Public Types

 ChecksumBits = 16
 ChecksumMask = ((1<<ChecksumBits)-1)
 ChecksumMismatch = U32(-1)
enum  {
  ChecksumBits = 16,
  ChecksumMask = ((1<<ChecksumBits)-1),
  ChecksumMismatch = U32(-1)
}

Public Member Functions

void pack (BitStream *stream, const Move *move=NULL)
void unpack (BitStream *stream, const Move *move=NULL)
void clamp ()
void unclamp ()

Public Attributes

S32 px
S32 py
S32 pz
U32 pyaw
U32 ppitch
U32 proll
F32 x
F32 y
F32 z
F32 yaw
F32 pitch
F32 roll
U32 id
U32 sendCount
U32 checksum
bool deviceIsKeyboardMouse
bool freeLook
bool trigger [MaxTriggerKeys]


Member Enumeration Documentation

anonymous enum

Enumerator:
ChecksumBits 
ChecksumMask 
ChecksumMismatch 


Member Function Documentation

void Move::pack ( BitStream stream,
const Move move = NULL 
)

void Move::unpack ( BitStream stream,
const Move move = NULL 
)

void Move::clamp (  ) 

void Move::unclamp (  ) 


Member Data Documentation

bool Move::trigger[MaxTriggerKeys]