26 #include <boost/filesystem.hpp>
27 #include <boost/algorithm/string.hpp>
31 namespace fs = boost::filesystem;
49 const int USERLISTMAX = 100;
50 const int MAXSCENE = 1000;
76 bool EventProcess(
const Event &event);
77 void ChangePhase(Phase phase);
79 void SetSceneRead(
const char* name);
80 void SetStackRead(
const char* name);
81 void SetSceneName(
const char* name);
82 void SetSceneRank(
int rank);
83 std::string & GetSceneRead();
84 std::string & GetStackRead();
87 const char* GetSceneDir();
88 bool GetSceneSoluce();
89 std::string & GetSavegameDir();
90 std::string & GetPublicDir();
97 bool GetHimselfDamage();
99 void SetUserDir(
char *base,
int rank);
100 void BuildSceneName(std::string &filename,
char *base,
int rank);
101 void BuildResumeName(
char *filename,
char *base,
int rank);
102 std::string & GetFilesDir();
105 void StartDeleteObject();
106 void StartDeleteGame(
char *gamer);
108 void StartDialog(
Math::Point dim,
bool bFire,
bool bOK,
bool bCancel);
109 void FrameDialog(
float rTime);
116 void SetupMemorize();
119 bool ReadGamerInfo();
120 bool WriteGamerInfo();
121 void SetGamerInfoTry(
int rank,
int numTry);
122 int GetGamerInfoTry(
int rank);
123 void SetGamerInfoPassed(
int rank,
bool bPassed);
124 bool GetGamerInfoPassed(
int rank);
127 void WriteGamerPerso(
char *gamer);
128 void ReadGamerPerso(
char *gamer);
129 void SetGamerFace(
char *gamer,
int face);
130 int GetGamerFace(
char *gamer);
132 int GetGamerGlasses();
133 bool GetGamerOnlyHead();
134 float GetPersoAngle();
139 void AllMissionUpdate();
140 void ShowSoluceUpdate();
144 void FrameParticle(
float rTime);
147 void UpdateNameList();
148 void UpdateNameEdit();
149 void UpdateNameControl();
150 void UpdateNameFace();
156 void FixPerso(
int rank,
int index);
159 bool IsIOReadScene();
163 void IODeleteScene();
167 void UpdateSceneChap(
int &chap);
168 void UpdateSceneList(
int chap,
int &sel);
169 void UpdateSceneResume(
int rank);
170 void UpdateDisplayDevice();
171 void UpdateDisplayMode();
172 void ChangeDisplay();
174 void UpdateSetupButtons();
175 void ChangeSetupButtons();
176 void ChangeSetupQuality(
int quality);
200 std::string m_sceneDir;
201 std::string m_savegameDir;
202 std::string m_publicDir;
203 std::string m_userDir;
204 std::string m_filesDir;
211 std::string m_sceneRead;
212 std::string m_stackRead;
213 char m_sceneName[20];
218 bool m_accessMission;
224 std::vector<std::string> m_userList;
227 std::string m_shotName;
229 int m_setupSelDevice;
239 bool m_bHimselfDamage;
240 bool m_bCameraScroll;
241 bool m_bCameraInvertX;
242 bool m_bCameraInvertY;
248 int m_loadingCounter;
252 bool m_bDialogDelete;
260 int m_partiPhase[10];
261 float m_partiTime[10];
266 std::vector<fs::path> m_saveList;
CameraType
Type of camera.
Definition: camera.h:42
Definition: maindialog.h:70
Definition: maindialog.h:59
CRobotMain - main class of Colobot game engine.
Global event queue.
Definition: event.h:765
Definition: robotmain.h:191
Particle engine.
Definition: particle.h:266
Definition: maindialog.h:53
Color structs and related functions.
2D point
Definition: point.h:46
Main application.
Definition: app.h:200
Camera moving in 3D scene.
Definition: camera.h:130
The graphics engine.
Definition: engine.h:681
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:687
Definition: interface.h:56
Sound plugin interface.
Definition: sound.h:149