77 void SetParent(wxWindow *parent);
86 int GetEngineCount(
bool loading_only =
false);
89 void SetActiveEngine(
int number,
bool switch_engines =
false,
bool force =
false);
90 bool IsEngineLoading();
95 int GetFreeInstanceNumber();
96 int Run(std::vector<EngineContext*> &newengine);
97 bool StartEngine(
EngineContext* engine, std::vector<Ogre::Camera*> &cameras);
100 bool Load(
bool clear,
const std::string &filename,
EngineContext *parent = 0,
const Vector3 &position = Vector3::ZERO,
Real rotation = 0.0,
const Vector3 &area_min = Vector3::ZERO,
const Vector3 &area_max = Vector3::ZERO);
102 wxWindow* GetParent();
103 bool UpdateProgress();
104 bool ReportMissingFiles(std::vector<std::string> &missing_files);
106 void ProcessConsole();
109 void SetRenderOnStartup(
bool value);
110 bool GetRenderOnStartup();
111 unsigned long Uptime();
112 unsigned long GetElapsedTime(
int instance);
113 void ListPlayingSounds();
142 bool RunEngines(std::vector<EngineContext*> &newengines);
144 void HandleEngineShutdown();
146 void SwitchEngines();
147 void Report(
const std::string &message);
148 bool ReportError(
const std::string &message);
149 bool ReportFatalError(
const std::string &message);