Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

CPlayerClnt Class Reference

#include <playerclnt.h>

Inheritance diagram for CPlayerClnt:

IEventCallback List of all members.

Public Methods

 CPlayerClnt ()
virtual ~CPlayerClnt ()
 distr_class (CPlayerClnt)
virtual void RemotePositionUpdate (LTVector3f &newPosition)
virtual void RemoteRotationUpdate (LTOrientation &newOrientation)
virtual void RemoteVelocityUpdate (LTVector3f &newVelocity)
virtual void RemoteAngularVelocityUpdate (LTVector3f &newAngVelocity)
void Init ()
void OnCommandOn (int32 command, uint32 nActCmd)
void OnCommandOff (int32 command, uint32 nActCmd)
virtual uint32 OnTouchClient (LTContactInfo *info, float force)
LTRESULT HandleInput ()
LTRESULT Update (float fFrameTime)
LTRESULT PhysicsUpdate (float fFrameTime)
virtual void Event (uint32 nEvent, float fFrameTime, float fGameTime, IEventData *pEventData, uint32 nPriority, ECallbackType eCT, uint32 nCountRemaining, float fTimeRemaining, float fLoopTime)
void SetRotation (LTOrientation oRot)
void CycleState ()
LTRESULT SetState (EPlayerState state, bool bForceInit=false)
uint32 GetState ()
void HandleStateChange ()
CCameraGetCamera ()
uint32 GetClientID ()
void CallbackClientID (const uint32 &nOldVal)

Protected Methods

 distr_callback_fn (CPlayerClnt, uint32, m_ClientID, CallbackClientID)
 distr_uint32_callback (m_ClientID, AVITEM_REG, 10, 0)

Protected Attributes

uint32 m_eState
CCamera m_Camera
bool m_bFirstUpdate
LTCollisionSphere * m_pCollSphere
bool m_bMoved
LTVector3f m_vNewVel

Constructor & Destructor Documentation

CPlayerClnt::CPlayerClnt  
 

CPlayerClnt::~CPlayerClnt   [virtual]
 


Member Function Documentation

void CPlayerClnt::CallbackClientID const uint32 &    nOldVal
 

void CPlayerClnt::CycleState  
 

CPlayerClnt::distr_callback_fn CPlayerClnt   ,
uint32   ,
m_ClientID   ,
CallbackClientID   
[protected]
 

CPlayerClnt::distr_class CPlayerClnt   
 

CPlayerClnt::distr_uint32_callback m_ClientID   ,
AVITEM_REG   ,
10   ,
 
[protected]
 

void CPlayerClnt::Event uint32    nEvent,
float    fFrameTime,
float    fGameTime,
IEventData   pEventData,
uint32    nPriority,
ECallbackType    eCT,
uint32    nCountRemaining,
float    fTimeRemaining,
float    fLoopTime
[virtual]
 

Implements IEventCallback.

CCamera* CPlayerClnt::GetCamera   [inline]
 

uint32 CPlayerClnt::GetClientID   [inline]
 

uint32 CPlayerClnt::GetState   [inline]
 

LTRESULT CPlayerClnt::HandleInput  
 

void CPlayerClnt::HandleStateChange  
 

void CPlayerClnt::Init  
 

void CPlayerClnt::OnCommandOff int32    command,
uint32    nActCmd
 

void CPlayerClnt::OnCommandOn int32    command,
uint32    nActCmd
 

uint32 CPlayerClnt::OnTouchClient LTContactInfo *    info,
float    force
[virtual]
 

LTRESULT CPlayerClnt::PhysicsUpdate float    fFrameTime
 

void CPlayerClnt::RemoteAngularVelocityUpdate LTVector3f &    newAngVelocity [virtual]
 

void CPlayerClnt::RemotePositionUpdate LTVector3f &    newPosition [virtual]
 

void CPlayerClnt::RemoteRotationUpdate LTOrientation &    newOrientation [virtual]
 

void CPlayerClnt::RemoteVelocityUpdate LTVector3f &    newVelocity [virtual]
 

void CPlayerClnt::SetRotation LTOrientation    oRot
 

LTRESULT CPlayerClnt::SetState EPlayerState    state,
bool    bForceInit = false
 

LTRESULT CPlayerClnt::Update float    fFrameTime
 


Member Data Documentation

bool CPlayerClnt::m_bFirstUpdate [protected]
 

bool CPlayerClnt::m_bMoved [protected]
 

CCamera CPlayerClnt::m_Camera [protected]
 

uint32 CPlayerClnt::m_eState [protected]
 

LTCollisionSphere* CPlayerClnt::m_pCollSphere [protected]
 

LTVector3f CPlayerClnt::m_vNewVel [protected]
 


The documentation for this class was generated from the following files:
Generated on Mon Mar 4 08:42:26 2002 for Aria by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002