Changeset 2690 for code/branches/buildsystem3/src/orxonox
- Timestamp:
- Feb 23, 2009, 8:57:42 PM (16 years ago)
- Location:
- code/branches/buildsystem3/src/orxonox
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem3/src/orxonox/CMakeLists.txt
r2685 r2690 39 39 # Not using precompiled header files: Avoid dependencies 40 40 INCLUDE_DIRECTORIES(pch/nopch) 41 42 IF(GCC_NO_SYSTEM_HEADER_SUPPORT)43 # Get around displaying a few hundred lines of warning code44 SET_SOURCE_FILES_PROPERTIES(45 gamestates/GSGraphics.cc46 gui/GUIManager.cc47 PROPERTIES COMPILE_FLAGS "-Wno-sign-compare"48 )49 ENDIF()50 41 51 42 ADD_EXECUTABLE(orxonox ${ORXONOX_FILES}) -
code/branches/buildsystem3/src/orxonox/Main.cc
r2685 r2690 37 37 #include <exception> 38 38 #include <cassert> 39 #include <fstream>40 39 41 40 #include "OrxonoxConfig.h" … … 95 94 // First, determine whether we have an installed or a binary dir run 96 95 // The latter occurs when simply running from the build directory 97 std::ifstream probe; 98 probe.open("orxonox_dev_build.keep_me"); 99 if (probe) 100 { 101 Core::setDevBuild(); 102 probe.close(); 103 } 96 Core::checkDevBuild(); 97 98 // Make sure the directories we write in exist or else make them 99 Core::createDirectories(); 104 100 105 101 // create a signal handler (only active for linux) -
code/branches/buildsystem3/src/orxonox/gamestates/GSGraphics.cc
r2687 r2690 107 107 SetConfigValue(ogreLogLevelCritical_, 2) 108 108 .description("Corresponding orxonox debug level for ogre Critical"); 109 SetConfigValue(defaultMasterKeybindings_, "def_masterKeybindings.ini")110 .description("Filename of default master keybindings.");111 109 } 112 110 … … 148 146 // Configure master input state with a KeyBinder 149 147 masterKeyBinder_ = new KeyBinder(); 150 masterKeyBinder_->loadBindings("masterKeybindings.ini" , defaultMasterKeybindings_);148 masterKeyBinder_->loadBindings("masterKeybindings.ini"); 151 149 inputManager_->getMasterInputState()->addKeyHandler(masterKeyBinder_); 152 150 -
code/branches/buildsystem3/src/orxonox/gamestates/GSGraphics.h
r2664 r2690 105 105 int ogreLogLevelNormal_; //!< Corresponding Orxonx debug level for LL_NORMAL 106 106 int ogreLogLevelCritical_; //!< Corresponding Orxonx debug level for LL_CRITICAL 107 std::string defaultMasterKeybindings_; //!< Filename of default master keybindings.108 107 109 108 // console commands -
code/branches/buildsystem3/src/orxonox/gamestates/GSLevel.cc
r2685 r2690 75 75 { 76 76 SetConfigValue(keyDetectorCallbackCode_, "KeybindBindingStringKeyName="); 77 SetConfigValue(defaultKeybindings_, "def_keybindings.ini")78 .description("Filename of default keybindings.");79 77 } 80 78 … … 85 83 inputState_ = InputManager::getInstance().createInputState<SimpleInputState>("game", 20); 86 84 keyBinder_ = new KeyBinder(); 87 keyBinder_->loadBindings("keybindings.ini" , defaultKeybindings_);85 keyBinder_->loadBindings("keybindings.ini"); 88 86 inputState_->setHandler(keyBinder_); 89 87 -
code/branches/buildsystem3/src/orxonox/gamestates/GSLevel.h
r2662 r2690 66 66 //##### ConfigValues ##### 67 67 std::string keyDetectorCallbackCode_; 68 //! Filename of default keybindings.69 std::string defaultKeybindings_;70 68 71 69 // console commands
Note: See TracChangeset
for help on using the changeset viewer.