diff options
author | krzys-h <krzys_h@interia.pl> | 2014-07-01 12:15:38 +0200 |
---|---|---|
committer | krzys-h <krzys_h@interia.pl> | 2014-07-01 12:16:32 +0200 |
commit | d9fee8b2adad613cf8c10d153cd5cd7b261b7863 (patch) | |
tree | f6b71cc2daa719c10c1ce31cf738e1c6ec934a73 /src/app/app.h | |
parent | 0f2adf05fd2b2b38c2b84aa8d72b3fd756dcfcd4 (diff) | |
parent | 1835d2ae580525603308206f7b8e6b4552b3ca0f (diff) | |
download | colobot-d9fee8b2adad613cf8c10d153cd5cd7b261b7863.tar.gz colobot-d9fee8b2adad613cf8c10d153cd5cd7b261b7863.tar.bz2 colobot-d9fee8b2adad613cf8c10d153cd5cd7b261b7863.zip |
Release 0.1.3-alpha
Diffstat (limited to 'src/app/app.h')
-rw-r--r-- | src/app/app.h | 29 |
1 files changed, 9 insertions, 20 deletions
diff --git a/src/app/app.h b/src/app/app.h index 6b02f67..86a757f 100644 --- a/src/app/app.h +++ b/src/app/app.h @@ -42,6 +42,7 @@ class CInstanceManager; class CEventQueue; class CRobotMain; class CSoundInterface; +class CGameData; namespace Gfx { class CModelManager; @@ -328,18 +329,6 @@ public: static bool ParseDebugModes(const std::string& str, int& debugModes); //@} - //! Returns the full path to data directory - std::string GetDataDirPath() const; - - //! Returns the full path to a standard dir in data directory - std::string GetDataSubdirPath(DataDir stdDir) const; - - //! Returns the full path to a file in data directory given standard dir and subpath - std::string GetDataFilePath(DataDir stdDir, const std::string &subpath) const; - - //! Returns the full path to a file in texture pack directory - std::string GetTexPackFilePath(const std::string& textureName) const; - //! Management of language //@{ Language GetLanguage() const; @@ -360,8 +349,8 @@ public: void StopPerformanceCounter(PerformanceCounter counter); float GetPerformanceCounterData(PerformanceCounter counter) const; //@} - - bool GetProtoMode() const; + + bool GetSceneTestMode(); protected: //! Creates the window's SDL_Surface @@ -413,6 +402,8 @@ protected: CRobotMain* m_robotMain; //! Profile (INI) reader/writer CProfile* m_profile; + //! Game data + CGameData* m_gameData; //! Code to return at exit int m_exitCode; @@ -485,17 +476,15 @@ protected: //! Path to directory with language files std::string m_langPath; - - //! Path to directory with user texture pack - std::string m_texPackPath; - + //@{ //! Scene to run on startup std::string m_runSceneName; int m_runSceneRank; //@} - - const char* m_standardDataDirs[DIR_MAX]; + + //! Scene test mode + bool m_sceneTest; //! Application language Language m_language; |