ptd::CRenderPlatformer Class Reference
[Graphics module]

#include <PtdPlatformerRenderModule.h>

List of all members.

Public Member Functions

 CRenderPlatformer ()
 Default constructor.
virtual void getTypeID (std::string &str) const
 Gets this cell's factory mapping key.
virtual void process (fsf::CPassiveHandle *pPassiveHandle, fsf::CActiveHandle *pActiveHandle, fsf::CActivePulse *pActivePulse)
void draw (CCollisionObject &object, double dlevel)
 Draws and textures a non-platformer collision object.
void draw (CPlatformer &object, double dlevel, int nPlayerID)
 Draws and textures a platformer.
void setview (CPlatformer *platformer, ogl::CCamera *pCamera, CGameState *pGameState)
 Centers camera on client's platformer.
void outlineMap (CGameState *pGameState)
 Draws an outline around the map.

Static Public Attributes

Handle IDs
static const long GAME_STATE = 1
static const long CAMERA = 2
static const long PLAYER_ID = 3
Platformer Render Textures
static GLuint SEXY_RANDY_MARSH
static GLuint SEXY_TOPHAT_GUY
static GLuint SEXY_LAVA_TEXTURE


Detailed Description

A cell that renders the game state for platformers

Member Function Documentation

void CRenderPlatformer::process ( fsf::CPassiveHandle *  pPassiveHandle,
fsf::CActiveHandle *  pActiveHandle,
fsf::CActivePulse *  pActivePulse 
) [virtual]

Custom processing function: graphically renders the game state for debugging and spectators

Draw all of the objects not affected by physics

Draw all of the objects that are affected by physics

Draw all of the map pieces

Draw all of the players


The documentation for this class was generated from the following files:

Generated on Mon Dec 20 15:54:52 2010 for Platitude by doxygen 1.5.9