56 bool Initialize(
const std::string &data_path, Ogre::Root *root = 0, Ogre::OverlaySystem *overlay = 0);
58 void ClickedObject(
bool left,
bool shift,
bool ctrl,
bool alt,
bool right,
Real scale,
bool center_only);
59 void UnclickedObject();
60 int GetConfigInt(Ogre::ConfigFile *file,
const std::string &key,
int default_value);
61 std::string GetConfigString(Ogre::ConfigFile *file,
const std::string &key,
const std::string &default_value);
62 bool GetConfigBool(Ogre::ConfigFile *file,
const std::string &key,
bool default_value);
63 Real GetConfigFloat(Ogre::ConfigFile *file,
const std::string &key,
Real default_value);
64 bool PlaySound(
const std::string &filename,
Real volume = 1.0);
68 void EnableStats(
bool value);
69 FMOD::System* GetSoundSystem();
70 Ogre::RenderWindow* GetRenderWindow();
72 Ogre::SceneManager* GetSceneManager();
73 Ogre::RenderWindow* CreateRenderWindow(
const std::string &name,
int width,
int height,
const Ogre::NameValuePairList ¶ms);
74 void DestroyRenderWindow();
75 void RefreshViewport();
78 void Report(
const std::string &message,
const std::string &
prompt);
79 bool ReportError(
const std::string &message,
const std::string &
prompt);
80 bool ReportFatalError(
const std::string &message,
const std::string &
prompt);
81 void LoadConfiguration(
const std::string data_path,
bool show_console);
82 bool LoadSystem(
const std::string &data_path, Ogre::RenderWindow *renderwindow);
83 void ConsoleOut(
const std::string &message,
const std::string &color =
"white");
84 std::string
GetColors(
const std::string &color);
85 unsigned long GetCurrentTime();
117 void Report(
const std::string &message);
118 bool ReportError(
const std::string &message);
119 bool ReportFatalError(
const std::string &message);
120 Ogre::ConfigFile* ConfigLoad(
const std::string &filename,
bool delete_after_use =
false);
121 void messageLogged(
const std::string &message, Ogre::LogMessageLevel lml,
bool maskDebug,
const std::string &logName,
bool &skipThisMessage);