Changeset 2087 for code/trunk/src/orxonox/Settings.cc
- Timestamp:
- Nov 1, 2008, 7:04:09 PM (16 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/Settings.cc
r1907 r2087 39 39 #include "core/CoreIncludes.h" 40 40 #include "core/ConfigValueIncludes.h" 41 #include "core/LuaBind.h" 41 42 42 43 namespace orxonox … … 49 50 */ 50 51 Settings::Settings() 51 : bShowsGraphics_(false)52 , bHasServer_(false)53 , bIsClient_(false)54 52 { 55 53 RegisterRootObject(Settings); … … 65 63 void Settings::setConfigValues() 66 64 { 67 SetConfigValue(dataPath_, "../../ Media/").description("Relative path to the game data.").callback(this, &Settings::dataPathChanged);65 SetConfigValue(dataPath_, "../../media/").description("Relative path to the game data.").callback(this, &Settings::dataPathChanged); 68 66 } 69 67 … … 84 82 COUT(2) << "Warning: Data path set to \"/\", is that really correct?" << std::endl; 85 83 } 84 85 LuaBind::getInstance()->setIncludePath(this->dataPath_); 86 86 } 87 87
Note: See TracChangeset
for help on using the changeset viewer.