diff options
author | krzys-h <krzys_h@interia.pl> | 2014-08-06 12:27:17 +0200 |
---|---|---|
committer | krzys-h <krzys_h@interia.pl> | 2014-08-06 12:27:17 +0200 |
commit | 0b2f25a6e3fda014b0f5a4282283fb90b0958d42 (patch) | |
tree | 110222c4e1dd4885e24d9c76257032106da68af3 /src/app/system.h | |
parent | 9a3cd67c3bb2f7d0d4b83f6a5ac8bbcfedf4207b (diff) | |
download | colobot-0b2f25a6e3fda014b0f5a4282283fb90b0958d42.tar.gz colobot-0b2f25a6e3fda014b0f5a4282283fb90b0958d42.tar.bz2 colobot-0b2f25a6e3fda014b0f5a4282283fb90b0958d42.zip |
Restored -datadir and -langdir arguments, added -savedir
Also, fixed some crashes when unable to open file
Diffstat (limited to 'src/app/system.h')
-rw-r--r-- | src/app/system.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/app/system.h b/src/app/system.h index 6d2fe58..5177815 100644 --- a/src/app/system.h +++ b/src/app/system.h @@ -130,6 +130,12 @@ public: /** The difference is \a after - \a before. */ virtual long long TimeStampExactDiff(SystemTimeStamp *before, SystemTimeStamp *after) = 0; + //! Returns the data path (containing textures, levels, helpfiles, etc) + virtual std::string GetDataPath(); + + //! Returns the translations path + virtual std::string GetLangPath(); + //! Returns the save dir location virtual std::string GetSaveDir(); }; |