ScreenFPS2 Class Reference

#include <ScreenFPS2.h>

Inheritance diagram for ScreenFPS2:

Inheritance graph
[legend]
Collaboration diagram for ScreenFPS2:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ScreenFPS2 ()
 ScreenFPS2 (const MString &name)
virtual ~ScreenFPS2 ()
virtual void Init ()
virtual void Update (const float dTime)
 [internal] Update (call this update last when abstracting because Update can destroy the object)
virtual void Message (int Message, PStack &data, const MString &name)
 Receive message (When subscribing to messages, you receive them via this command).
virtual bool Command (PStack &ret, const char *command, PStack &args)
 Handle a message, by default, it returns false, meaning the command was not handled.
 CLASS_RTTI (ScreenFPS2, ScreenOutdoors)

Private Member Functions

void CalculateLook (int x, int y, MercuryODEObject *control)
void TweenCamera (int x, int y, MercuryODEObject *control)
void CalculateMovement (MercuryODEObject *control)
void PlayRobotAnimations (int dx)

Private Attributes

MercuryINI m_pINI
MercuryLoadableModel m_pPlayer
MercuryODEWorld m_pWorld
MercuryCamera m_fCamera
MercuryPoint pTarget
MercuryPoint m_pGun
Projectile pBullet
MercurySprite m_sprCrosshairsCenter
MercurySprite m_sprCrosshairs
VirtualProjectile m_Aimer
bool m_interactable
bool m_oldInter
float fClosestAimerObject
MercuryPoint m_aimPos
Projectile pPhysics
int iPhysicsObject
float fClosestPhysicsObject
MercuryPoint pLookAt
bool m_bFirstUpdate
int m_iSlidingF
float m_fTimeSinceLastShot
float m_fForwardMovement
MVector< MercuryLoadableModel::LoadableModelAnimationInfopTweenCommands
bool m_bFPS
bool m_fistExplosion
bool m_donefirst
float m_slowDown
MercuryDynTex m_DynTex

Detailed Description

Definition at line 12 of file ScreenFPS2.h.


Constructor & Destructor Documentation

ScreenFPS2::ScreenFPS2 (  )  [inline]

Definition at line 15 of file ScreenFPS2.h.

ScreenFPS2::ScreenFPS2 ( const MString name  )  [inline]

Definition at line 16 of file ScreenFPS2.h.

ScreenFPS2::~ScreenFPS2 (  )  [virtual]

Definition at line 25 of file ScreenFPS2.cpp.


Member Function Documentation

void ScreenFPS2::Init (  )  [virtual]

Reimplemented from ScreenOutdoors.

Definition at line 30 of file ScreenFPS2.cpp.

void ScreenFPS2::Update ( const float  dTime  )  [virtual]

[internal] Update (call this update last when abstracting because Update can destroy the object)

Reimplemented from MercuryScreen.

Definition at line 191 of file ScreenFPS2.cpp.

void ScreenFPS2::Message ( int  Message,
PStack data,
const MString name 
) [virtual]

Receive message (When subscribing to messages, you receive them via this command).

Reimplemented from MercuryScreen.

Definition at line 363 of file ScreenFPS2.cpp.

bool ScreenFPS2::Command ( PStack ret,
const char *  command,
PStack args 
) [virtual]

Handle a message, by default, it returns false, meaning the command was not handled.

Reimplemented from MercuryCommandHandler.

Definition at line 429 of file ScreenFPS2.cpp.

ScreenFPS2::CLASS_RTTI ( ScreenFPS2  ,
ScreenOutdoors   
)

void ScreenFPS2::CalculateLook ( int  x,
int  y,
MercuryODEObject control 
) [private]

Definition at line 312 of file ScreenFPS2.cpp.

void ScreenFPS2::TweenCamera ( int  x,
int  y,
MercuryODEObject control 
) [private]

Definition at line 331 of file ScreenFPS2.cpp.

void ScreenFPS2::CalculateMovement ( MercuryODEObject control  )  [private]

Definition at line 132 of file ScreenFPS2.cpp.

void ScreenFPS2::PlayRobotAnimations ( int  dx  )  [private]

Definition at line 167 of file ScreenFPS2.cpp.


Member Data Documentation

MercuryINI ScreenFPS2::m_pINI [private]

Definition at line 30 of file ScreenFPS2.h.

MercuryLoadableModel ScreenFPS2::m_pPlayer [private]

Definition at line 31 of file ScreenFPS2.h.

MercuryODEWorld ScreenFPS2::m_pWorld [private]

Definition at line 32 of file ScreenFPS2.h.

MercuryCamera ScreenFPS2::m_fCamera [private]

Definition at line 33 of file ScreenFPS2.h.

MercuryPoint ScreenFPS2::pTarget [private]

Definition at line 34 of file ScreenFPS2.h.

MercuryPoint ScreenFPS2::m_pGun [private]

Definition at line 35 of file ScreenFPS2.h.

Projectile ScreenFPS2::pBullet [private]

Definition at line 36 of file ScreenFPS2.h.

MercurySprite ScreenFPS2::m_sprCrosshairsCenter [private]

Definition at line 38 of file ScreenFPS2.h.

MercurySprite ScreenFPS2::m_sprCrosshairs [private]

Definition at line 39 of file ScreenFPS2.h.

VirtualProjectile ScreenFPS2::m_Aimer [private]

Definition at line 40 of file ScreenFPS2.h.

bool ScreenFPS2::m_interactable [private]

Definition at line 41 of file ScreenFPS2.h.

bool ScreenFPS2::m_oldInter [private]

Definition at line 42 of file ScreenFPS2.h.

float ScreenFPS2::fClosestAimerObject [private]

Definition at line 43 of file ScreenFPS2.h.

MercuryPoint ScreenFPS2::m_aimPos [private]

Definition at line 44 of file ScreenFPS2.h.

Projectile ScreenFPS2::pPhysics [private]

Definition at line 46 of file ScreenFPS2.h.

int ScreenFPS2::iPhysicsObject [private]

Definition at line 47 of file ScreenFPS2.h.

float ScreenFPS2::fClosestPhysicsObject [private]

Definition at line 48 of file ScreenFPS2.h.

MercuryPoint ScreenFPS2::pLookAt [private]

Definition at line 50 of file ScreenFPS2.h.

bool ScreenFPS2::m_bFirstUpdate [private]

Definition at line 51 of file ScreenFPS2.h.

int ScreenFPS2::m_iSlidingF [private]

Definition at line 52 of file ScreenFPS2.h.

float ScreenFPS2::m_fTimeSinceLastShot [private]

Definition at line 53 of file ScreenFPS2.h.

float ScreenFPS2::m_fForwardMovement [private]

Definition at line 55 of file ScreenFPS2.h.

MVector< MercuryLoadableModel::LoadableModelAnimationInfo > ScreenFPS2::pTweenCommands [private]

Definition at line 56 of file ScreenFPS2.h.

bool ScreenFPS2::m_bFPS [private]

Definition at line 58 of file ScreenFPS2.h.

bool ScreenFPS2::m_fistExplosion [private]

Definition at line 60 of file ScreenFPS2.h.

bool ScreenFPS2::m_donefirst [private]

Definition at line 61 of file ScreenFPS2.h.

float ScreenFPS2::m_slowDown [private]

Definition at line 63 of file ScreenFPS2.h.

MercuryDynTex ScreenFPS2::m_DynTex [private]

Definition at line 65 of file ScreenFPS2.h.


The documentation for this class was generated from the following files:
Hosted by SourceForge.net Logo