se_ogre::RenderEngine Class Reference

#include <RenderEngine.hpp>

Inheritance diagram for se_ogre::RenderEngine:

se_core::SimListener List of all members.

Public Member Functions

 RenderEngine (se_ogre::ConsoleHandler *consoleHandler=0)
virtual ~RenderEngine ()
void renderEvent (long when)
 This callback will be activated at least once every time the AI has caught up.
void preSimTickEvent (long when)
 This callback will be activated before step() actions are perform()ed.
void postSimTickEvent (long when)
 This callback will be activated after step() actions are done.
bool setup (void)
 Sets up the application - returns false if the user chooses to abandon configuration.
void cleanup (void)
void skipNext ()
void resetSkip ()
void renderFrame ()
void screenshot (int screenShotId)
void screenshot (const char *prefix)
void loadLevelResources (const char **sections)
void resetLevelResources ()

Static Public Member Functions

RenderEnginesingleton ()

Protected Member Functions

void resetGameClock (void)
 SagaEngine Utility methods.
bool configure (void)
 Configures the application - returns false if the user chooses to abandon configuration.
void createInputBridge (void)
void setupResources (void)
 Method which will define the source of resources (other than current folder).
void createResourceListener (void)
 Optional override method where you can create resource listeners (e.g.
void loadResources (void)
 Optional override method where you can perform resource group loading Must at least do ResourceGroupManager::getSingleton().initialiseAllResourceGroups();.

Protected Attributes

O3dInputBridgeinputBridge_
int levelResourceCount_
const char * levelResources_ [MAX_LEVEL_RESOURCE_SECTIONS]
int skip_

Static Protected Attributes

const int MAX_LEVEL_RESOURCE_SECTIONS = 8

Constructor & Destructor Documentation

se_ogre::RenderEngine::RenderEngine se_ogre::ConsoleHandler consoleHandler = 0  ) 
 

Definition at line 55 of file RenderEngine.cpp.

References LogDetail.

se_ogre::RenderEngine::~RenderEngine  )  [virtual]
 

Definition at line 79 of file RenderEngine.cpp.

References LogDetail.


Member Function Documentation

void se_ogre::RenderEngine::cleanup void   ) 
 

Definition at line 200 of file RenderEngine.cpp.

References LogDetail.

bool se_ogre::RenderEngine::configure void   )  [protected]
 

Configures the application - returns false if the user chooses to abandon configuration.

Definition at line 225 of file RenderEngine.cpp.

References LogDetail.

void se_ogre::RenderEngine::createInputBridge void   )  [protected]
 

Definition at line 216 of file RenderEngine.cpp.

References LogDetail.

void se_ogre::RenderEngine::createResourceListener void   )  [inline, protected]
 

Optional override method where you can create resource listeners (e.g.

for loading screens)

Definition at line 71 of file RenderEngine.hpp.

void se_ogre::RenderEngine::loadLevelResources const char **  sections  ) 
 

Definition at line 310 of file RenderEngine.cpp.

References Assert.

void se_ogre::RenderEngine::loadResources void   )  [protected]
 

Optional override method where you can perform resource group loading Must at least do ResourceGroupManager::getSingleton().initialiseAllResourceGroups();.

Definition at line 295 of file RenderEngine.cpp.

void se_ogre::RenderEngine::postSimTickEvent long  when  )  [virtual]
 

This callback will be activated after step() actions are done.

This is the callback where rendering or graphics engine state should be performed.

Implements se_core::SimListener.

Definition at line 95 of file RenderEngine.cpp.

void se_ogre::RenderEngine::preSimTickEvent long  when  )  [inline, virtual]
 

This callback will be activated before step() actions are perform()ed.

This may be a good place for reading input devices and such.

Implements se_core::SimListener.

Definition at line 39 of file RenderEngine.hpp.

void se_ogre::RenderEngine::renderEvent long  when  )  [inline, virtual]
 

This callback will be activated at least once every time the AI has caught up.

Implements se_core::SimListener.

Definition at line 38 of file RenderEngine.hpp.

void se_ogre::RenderEngine::renderFrame  ) 
 

Definition at line 104 of file RenderEngine.cpp.

void se_ogre::RenderEngine::resetGameClock void   )  [protected]
 

SagaEngine Utility methods.

Definition at line 134 of file RenderEngine.cpp.

void se_ogre::RenderEngine::resetLevelResources  ) 
 

Definition at line 342 of file RenderEngine.cpp.

References LogWarning.

void se_ogre::RenderEngine::resetSkip  )  [inline]
 

Definition at line 48 of file RenderEngine.hpp.

void se_ogre::RenderEngine::screenshot const char *  prefix  ) 
 

Definition at line 128 of file RenderEngine.cpp.

void se_ogre::RenderEngine::screenshot int  screenShotId  ) 
 

Definition at line 119 of file RenderEngine.cpp.

bool se_ogre::RenderEngine::setup void   ) 
 

Sets up the application - returns false if the user chooses to abandon configuration.

Definition at line 141 of file RenderEngine.cpp.

void se_ogre::RenderEngine::setupResources void   )  [protected]
 

Method which will define the source of resources (other than current folder).

Definition at line 265 of file RenderEngine.cpp.

References LogDetail.

RenderEngine * se_ogre::RenderEngine::singleton  )  [static]
 

Definition at line 48 of file RenderEngine.cpp.

References Assert.

void se_ogre::RenderEngine::skipNext  )  [inline]
 

Definition at line 47 of file RenderEngine.hpp.


Member Data Documentation

O3dInputBridge* se_ogre::RenderEngine::inputBridge_ [protected]
 

Definition at line 78 of file RenderEngine.hpp.

int se_ogre::RenderEngine::levelResourceCount_ [protected]
 

Definition at line 80 of file RenderEngine.hpp.

const char* se_ogre::RenderEngine::levelResources_[MAX_LEVEL_RESOURCE_SECTIONS] [protected]
 

Definition at line 81 of file RenderEngine.hpp.

const int se_ogre::RenderEngine::MAX_LEVEL_RESOURCE_SECTIONS = 8 [static, protected]
 

Definition at line 79 of file RenderEngine.hpp.

int se_ogre::RenderEngine::skip_ [protected]
 

Definition at line 82 of file RenderEngine.hpp.


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

Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:32 2007 by Doxygen version 1.3.9.1.

SourceForge.net Logo