summaryrefslogtreecommitdiffstats
path: root/src/ui/maindialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/maindialog.h')
-rw-r--r--src/ui/maindialog.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/ui/maindialog.h b/src/ui/maindialog.h
index 32c0e1d..2b3ca6f 100644
--- a/src/ui/maindialog.h
+++ b/src/ui/maindialog.h
@@ -25,8 +25,13 @@
#include "app/pausemanager.h"
+#include <boost/filesystem.hpp>
+#include <boost/algorithm/string.hpp>
+
#include <vector>
+namespace fs = boost::filesystem;
+
class CEventQueue;
class CSoundInterface;
@@ -93,7 +98,6 @@ public:
bool GetNiceReset();
bool GetHimselfDamage();
- void SetUserDir(char *base, int rank);
void BuildSceneName(std::string &filename, char *base, int rank, bool sceneFile = true);
void BuildResumeName(char *filename, char *base, int rank);
std::string & GetFilesDir();
@@ -135,6 +139,8 @@ public:
void AllMissionUpdate();
void ShowSoluceUpdate();
+
+ std::string& GetUserLevelName(int id);
protected:
void GlintMove();
@@ -197,7 +203,6 @@ protected:
std::string m_savegameDir; // savegame folder
std::string m_publicDir; // program folder
- std::string m_userDir; // user folder
std::string m_filesDir; // case files
int m_index; // 0..4
@@ -260,7 +265,7 @@ protected:
SceneInfo m_sceneInfo[MAXSCENE];
- std::vector<std::string> m_saveList;
+ std::vector<fs::path> m_saveList;
};
} // namespace Ui