diff options
Diffstat (limited to 'src/app/system_macosx.cpp')
-rw-r--r-- | src/app/system_macosx.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/app/system_macosx.cpp b/src/app/system_macosx.cpp index 473a10c..06c67d3 100644 --- a/src/app/system_macosx.cpp +++ b/src/app/system_macosx.cpp @@ -87,10 +87,19 @@ void CSystemUtilsMacOSX::Init() m_dataPath += "/Contents/Resources"; } +std::string CSystemUtilsMacOSX::GetDataPath() +{ + return m_dataPath; +} + +std::string CSystemUtilsMacOSX::GetLangPath() +{ + return m_dataPath + "/i18n"; +} + std::string CSystemUtilsMacOSX::GetSaveDir() { std::string savegameDir = m_ASPath; - boost::filesystem::create_directories(savegameDir.c_str()); GetLogger()->Trace("Saved game files are going to %s\n", savegameDir.c_str()); return savegameDir; |