25 #ifndef ENGINES_ENGINE_H 26 #define ENGINES_ENGINE_H 30 #include <boost/noncopyable.hpp> 57 std::vector<Aurora::Language> &languages)
const;
62 std::vector<Aurora::Language> &languagesText,
63 std::vector<Aurora::Language> &languagesVoice)
const;
67 std::vector<Aurora::Language> &languagesVoice)
const;
93 virtual void run() = 0;
101 #endif // ENGINES_ENGINE_H virtual bool getLanguage(Aurora::Language &language) const
Return the game's current language.
Aurora::Platform _platform
A class holding an UTF-8 string.
Common::ScopedPtr< Console > _console
bool evaluateLanguage(bool find, Aurora::Language &language) const
A simple scoped smart pointer template.
Types and functions related to language.
virtual void run()=0
Run the game.
A scoped plain pointer, allowing pointer-y access and normal deletion.
Basic type definitions to handle files used in BioWare's Aurora engine.
The base class for an engine within BioWare's Aurora family.
void start(Aurora::GameID game, const Common::UString &target, Aurora::Platform platform)
virtual bool changeLanguage()
Change the game's current language.
void showFPS()
Evaluate the FPS display setting and show/hide the FPS display.
Common::ScopedPtr< Graphics::Aurora::FPS > _fps
virtual bool detectLanguages(Aurora::GameID game, const Common::UString &target, Aurora::Platform platform, std::vector< Aurora::Language > &languages) const
Detect which languages this game instance supports.