28 #include <boost/filesystem.hpp>
29 #include <boost/algorithm/string.hpp>
33 namespace fs = boost::filesystem;
51 const int USERLISTMAX = 100;
52 const int MAXSCENE = 1000;
78 bool EventProcess(
const Event &event);
79 void ChangePhase(Phase phase);
81 void SetSceneRead(
const char* name);
82 void SetStackRead(
const char* name);
83 void SetSceneName(
const char* name);
84 void SetSceneRank(
int rank);
85 std::string & GetSceneRead();
86 std::string & GetStackRead();
89 const char* GetSceneDir();
90 bool GetSceneSoluce();
91 std::string & GetSavegameDir();
92 std::string & GetPublicDir();
99 bool GetHimselfDamage();
101 void SetUserDir(
char *base,
int rank);
102 void BuildSceneName(std::string &filename,
char *base,
int rank);
103 void BuildResumeName(
char *filename,
char *base,
int rank);
104 std::string & GetFilesDir();
107 void StartDeleteObject();
108 void StartDeleteGame(
char *gamer);
110 void StartDialog(
Math::Point dim,
bool bFire,
bool bOK,
bool bCancel);
111 void FrameDialog(
float rTime);
118 void SetupMemorize();
121 bool ReadGamerInfo();
122 bool WriteGamerInfo();
123 void SetGamerInfoTry(
int rank,
int numTry);
124 int GetGamerInfoTry(
int rank);
125 void SetGamerInfoPassed(
int rank,
bool bPassed);
126 bool GetGamerInfoPassed(
int rank);
129 void WriteGamerPerso(
char *gamer);
130 void ReadGamerPerso(
char *gamer);
131 void SetGamerFace(
char *gamer,
int face);
132 int GetGamerFace(
char *gamer);
134 int GetGamerGlasses();
135 bool GetGamerOnlyHead();
136 float GetPersoAngle();
141 void AllMissionUpdate();
142 void ShowSoluceUpdate();
146 void FrameParticle(
float rTime);
149 void UpdateNameList();
150 void UpdateNameEdit();
151 void UpdateNameControl();
152 void UpdateNameFace();
158 void FixPerso(
int rank,
int index);
161 bool IsIOReadScene();
165 void IODeleteScene();
169 void UpdateSceneChap(
int &chap);
170 void UpdateSceneList(
int chap,
int &sel);
171 void UpdateSceneResume(
int rank);
172 void UpdateDisplayDevice();
173 void UpdateDisplayMode();
174 void ChangeDisplay();
176 void UpdateSetupButtons();
177 void ChangeSetupButtons();
178 void ChangeSetupQuality(
int quality);
203 std::string m_sceneDir;
204 std::string m_savegameDir;
205 std::string m_publicDir;
206 std::string m_userDir;
207 std::string m_filesDir;
214 std::string m_sceneRead;
215 std::string m_stackRead;
216 char m_sceneName[20];
221 bool m_accessMission;
227 std::vector<std::string> m_userList;
230 std::string m_shotName;
232 int m_setupSelDevice;
242 bool m_bHimselfDamage;
243 bool m_bCameraScroll;
244 bool m_bCameraInvertX;
245 bool m_bCameraInvertY;
251 int m_loadingCounter;
255 bool m_bDialogDelete;
260 PauseType m_bInitPause;
263 int m_partiPhase[10];
264 float m_partiTime[10];
269 std::vector<fs::path> m_saveList;
CameraType
Type of camera.
Definition: camera.h:42
Definition: maindialog.h:72
Definition: maindialog.h:61
CRobotMain - main class of Colobot game engine.
Global event queue.
Definition: event.h:764
Definition: robotmain.h:196
Particle engine.
Definition: particle.h:266
Definition: maindialog.h:55
Color structs and related functions.
2D point
Definition: point.h:46
Main application.
Definition: app.h:201
Camera moving in 3D scene.
Definition: camera.h:130
Management of pause modes.
The graphics engine.
Definition: engine.h:682
RGBA color.
Definition: color.h:35
EventType
Type of event message.
Definition: event.h:35
Event sent by system, interface or game.
Definition: event.h:686
Definition: pausemanager.h:42
Definition: interface.h:56
Sound plugin interface.
Definition: sound.h:149