Changeset 2058
- Timestamp:
- Oct 29, 2008, 4:00:45 PM (16 years ago)
- Location:
- code/branches/lod
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/lod/bin/def_keybindings.ini
r2053 r2058 254 254 255 255 [MouseAxes] 256 MouseXNeg= 257 MouseXPos= 258 MouseYNeg= 259 MouseYPos= 256 MouseXNeg="scale 1 moveYaw" 257 MouseXPos="scale -1 moveYaw" 258 MouseYNeg="scale 1 movePitch" 259 MouseYPos="scale -1 movePitch" 260 260 -
code/branches/lod/src/core/XMLPort.h
r2053 r2058 468 468 for (ticpp::Iterator<ticpp::Element> child = xmlsubelement->FirstChildElement(false); child != child.end(); child++) 469 469 { 470 COUT(2) << child->Value() << std::endl;471 470 Identifier* identifier = ClassByName(child->Value()); 472 471 if (identifier) -
code/branches/lod/src/core/input/InputManager.cc
r2053 r2058 47 47 #include "core/CommandExecutor.h" 48 48 #include "core/ConsoleCommand.h" 49 #include "core/CommandLine.h" 49 50 #include "util/Debug.h" 50 51 … … 62 63 SetConsoleCommand(InputManager, calibrate, true); 63 64 SetConsoleCommand(InputManager, reload, false); 65 SetCommandLineSwitch(keyboard_no_grab); 64 66 65 67 std::string InputManager::bindingCommmandString_s = ""; … … 153 155 #if defined OIS_LINUX_PLATFORM 154 156 paramList.insert(std::make_pair(std::string("XAutoRepeatOn"), std::string("true"))); 157 paramList.insert(std::make_pair(std::string("x11_mouse_grab"), "true")); 158 paramList.insert(std::make_pair(std::string("x11_mouse_hide"), "true")); 159 bool kbNoGrab; 160 CommandLine::getValue("keyboard_no_grab", &kbNoGrab); 161 if (kbNoGrab) 162 paramList.insert(std::make_pair(std::string("x11_keyboard_grab"), std::string("false"))); 163 else 164 paramList.insert(std::make_pair(std::string("x11_keyboard_grab"), std::string("true"))); 155 165 #endif 156 166 -
code/branches/lod/src/orxonox/OrxonoxStableHeaders.h
r2053 r2058 46 46 #endif 47 47 #include <Ogre.h> 48 #include <OgreProgressiveMesh.h>49 48 #include <CEGUI.h> 50 49 #include <boost/thread/recursive_mutex.hpp> -
code/branches/lod/src/orxonox/gamestates/GSLevel.cc
r2053 r2058 38 38 #include "core/CommandExecutor.h" 39 39 #include "core/ConsoleCommand.h" 40 #include "core/CommandLine.h" 40 41 #include "core/ConfigValueIncludes.h" 41 42 #include "core/CoreIncludes.h" … … 49 50 namespace orxonox 50 51 { 52 SetCommandLineArgument(level, "sample.oxw").setShortcut("l"); 53 51 54 GSLevel::GSLevel(const std::string& name) 52 55 : GameState<GSGraphics>(name) … … 157 160 // call the loader 158 161 COUT(0) << "Loading level..." << std::endl; 159 startLevel_ = new Level(Settings::getDataPath() + "levels/sample.oxw"); 162 std::string levelName; 163 CommandLine::getValue("level", &levelName); 164 startLevel_ = new Level(Settings::getDataPath() + std::string("levels/") + levelName); 160 165 Loader::open(startLevel_); 161 166 } -
code/branches/lod/src/util/OrxonoxPlatform.h
r2053 r2058 137 137 } 138 138 139 //----------------------------------------------------------------------- 140 // Version Information 141 //----------------------------------------------------------------------- 142 143 #define ORXONOX_VERSION_MAJOR 0 144 #define ORXONOX_VERSION_MINOR 1 145 #define ORXONOX_VERSION_PATCH 2 146 #define ORXONOX_VERSION_SUFFIX "" 147 #define ORXONOX_VERSION_NAME "Bellatrix" 148 149 #define ORXONOX_VERSION ((ORXONOX_VERSION_MAJOR << 16) | (ORXONOX_VERSION_MINOR << 8) | ORXONOX_VERSION_PATCH) 139 150 140 151
Note: See TracChangeset
for help on using the changeset viewer.