Changeset 2690 for code/branches/buildsystem3/src/core/Core.h
- Timestamp:
- Feb 23, 2009, 8:57:42 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem3/src/core/Core.h
r2685 r2690 68 68 static bool isDevBuild() { return Core::isDevBuild_s; } 69 69 70 static const std::string& getMediaPath()71 { assert(singletonRef_s); return singletonRef_s->mediaPath_; }72 70 static void tsetMediaPath(const std::string& path) 73 71 { assert(singletonRef_s); singletonRef_s->_tsetMediaPath(path); } 72 static const std::string& getMediaPath() { return mediaPath_s; } 74 73 static const std::string& getConfigPath() { return configPath_s; } 75 74 static const std::string& getLogPath() { return logPath_s; } … … 96 95 void _tsetMediaPath(const std::string& path); 97 96 98 static void setDevBuild(); 97 static void createDirectories(); 98 static void checkDevBuild(); 99 99 100 100 int softDebugLevel_; //!< The debug level … … 104 104 std::string language_; //!< The language 105 105 bool bInitializeRandomNumberGenerator_; //!< If true, srand(time(0)) is called 106 std::string mediaPath_; //!< Path to the data/media file folder107 106 108 107 static bool bShowsGraphics_s; //!< global variable that tells whether to show graphics … … 115 114 static std::string configPath_s; //!< Path to the config file folder 116 115 static std::string logPath_s; //!< Path to the log file folder 116 static std::string mediaPath_s; //!< Path to the data/media file folder 117 117 118 118 static Core* singletonRef_s;
Note: See TracChangeset
for help on using the changeset viewer.