#include <PtdPlatformerRenderModule.h>
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 |
| 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
1.5.9