#include <lugre_game.h>
Public Member Functions | |
| cGame () | |
| void | Run (const int iArgC, char **pszArgV) |
| the programm ends after this | |
| void | RenderOneFrame () |
| void | NotifyMainWindowResized (const int w, const int h) |
| called from ogrewrapper | |
Static Public Member Functions | |
| static cGame & | GetSingleton () |
Definition at line 29 of file lugre_game.h.
| Lugre::cGame::cGame | ( | ) |
| static cGame& Lugre::cGame::GetSingleton | ( | ) | [inline, static] |
Definition at line 30 of file lugre_game.h.
References cGame().
Referenced by Lugre::cOgreWrapper::CreateOgreWindow(), and Lugre::Lugre_Run().
| void Lugre::cGame::Run | ( | const int | iArgC, | |
| char ** | pszArgV | |||
| ) |
the programm ends after this
Definition at line 19 of file lugre_game.cpp.
References Lugre::cOgreWrapper::DeInit(), Lugre::cOgreWrapper::GetSingleton(), Lugre::cScripting::GetSingletonPtr(), Lugre::cTimer::GetSingletonPtr(), Lugre::cShell::GetTicks(), Lugre::cScripting::Init(), Lugre::cScripting::LuaCall(), and PROFILE.
Referenced by Lugre::Lugre_Run().
| void Lugre::cGame::RenderOneFrame | ( | ) |
Definition at line 37 of file lugre_game.cpp.
References Lugre::cOgreWrapper::GetSingleton(), Lugre::cTimer::GetSingletonPtr(), Lugre::cShell::GetTicks(), Lugre::cGfx2D::PrepareFrame(), Lugre::cGfx3D::PrepareFrame(), PROFILE, Lugre::cOgreWrapper::RenderOneFrame(), and Lugre::cTimer::StartFrame().
| void Lugre::cGame::NotifyMainWindowResized | ( | const int | w, | |
| const int | h | |||
| ) |
called from ogrewrapper
Definition at line 45 of file lugre_game.cpp.
References Lugre::cScripting::GetSingletonPtr(), and Lugre::cScripting::LuaCall().
Referenced by Lugre::cOgreWrapper::CreateOgreWindow().
1.5.6