|
xoreos
0.0.5
|
The global engine manager. More...
#include <enginemanager.h>


Public Member Functions | |
| GameInstance * | probeGame (const Common::UString &target, const std::list< const EngineProbe *> &probes) const |
| Return a game instance capable of running the game in this directory. More... | |
| void | run (GameInstance &game) const |
| Run this game instance. More... | |
| void | listLanguages (GameInstance &game) const |
| List all available languages supported by this GameInstance's target. More... | |
Private Member Functions | |
| void | cleanup () const |
Additional Inherited Members | |
Static Public Member Functions inherited from Common::Singleton< EngineManager > | |
| static EngineManager & | instance () |
| static void | destroy () |
Protected Types inherited from Common::Singleton< EngineManager > | |
| typedef EngineManager | SingletonBaseType |
Protected Member Functions inherited from Common::Singleton< EngineManager > | |
| Singleton () | |
| virtual | ~Singleton () |
The global engine manager.
Definition at line 55 of file enginemanager.h.
|
private |
Definition at line 261 of file enginemanager.cpp.
References ConfigMan, CursorMan, FontMan, LangMan, MaterialMan, RequestMan, ResMan, SurfaceMan, TalkMan, TextureMan, TokenMan, TwoDAReg, and Engines::unregisterModelLoader().
Referenced by run().


| void Engines::EngineManager::listLanguages | ( | GameInstance & | game | ) | const |
List all available languages supported by this GameInstance's target.
Definition at line 241 of file enginemanager.cpp.
References Engines::GameInstanceEngine::listLanguages().

| GameInstance * Engines::EngineManager::probeGame | ( | const Common::UString & | target, |
| const std::list< const EngineProbe *> & | probes | ||
| ) | const |
Return a game instance capable of running the game in this directory.
Definition at line 231 of file enginemanager.cpp.
References Common::ScopedPtrBase< T, Deallocator >::release().

| void Engines::EngineManager::run | ( | GameInstance & | game | ) | const |
Run this game instance.
Definition at line 248 of file enginemanager.cpp.
References cleanup(), EventMan, GfxMan, and Engines::GameInstanceEngine::run().

1.8.14