Changeset 2053 for code/branches/lod
- Timestamp:
- Oct 29, 2008, 3:39:35 PM (16 years ago)
- Location:
- code/branches/lod
- Files:
-
- 2 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/lod/bin/def_keybindings.ini
r1887 r2053 254 254 255 255 [MouseAxes] 256 MouseXNeg= "scale 1 moveYaw"257 MouseXPos= "scale -1 moveYaw"258 MouseYNeg= "scale 1 movePitch"259 MouseYPos= "scale -1 movePitch"256 MouseXNeg= 257 MouseXPos= 258 MouseYNeg= 259 MouseYPos= 260 260 -
code/branches/lod/src/core/XMLPort.h
r1889 r2053 468 468 for (ticpp::Iterator<ticpp::Element> child = xmlsubelement->FirstChildElement(false); child != child.end(); child++) 469 469 { 470 COUT(2) << child->Value() << std::endl; 470 471 Identifier* identifier = ClassByName(child->Value()); 471 472 if (identifier) -
code/branches/lod/src/core/input/InputManager.cc
r1934 r2053 47 47 #include "core/CommandExecutor.h" 48 48 #include "core/ConsoleCommand.h" 49 #include "core/CommandLine.h"50 49 #include "util/Debug.h" 51 50 … … 63 62 SetConsoleCommand(InputManager, calibrate, true); 64 63 SetConsoleCommand(InputManager, reload, false); 65 SetCommandLineSwitch(keyboard_no_grab);66 64 67 65 std::string InputManager::bindingCommmandString_s = ""; … … 155 153 #if defined OIS_LINUX_PLATFORM 156 154 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 else164 paramList.insert(std::make_pair(std::string("x11_keyboard_grab"), std::string("true")));165 155 #endif 166 156 -
code/branches/lod/src/orxonox/CMakeLists.txt
r1844 r2053 57 57 objects/Tickable.cc 58 58 objects/WorldEntity.cc 59 objects/Planet.cc 59 60 60 61 objects/Projectile.cc … … 93 94 objects/SpaceShip.cc 94 95 objects/WorldEntity.cc 96 objects/Planet.cc 95 97 ) 96 98 -
code/branches/lod/src/orxonox/OrxonoxPrereqs.h
r1755 r2053 91 91 class SpaceShipAI; 92 92 class WorldEntity; 93 class Planet; 93 94 94 95 class Projectile; -
code/branches/lod/src/orxonox/OrxonoxStableHeaders.h
r1841 r2053 46 46 #endif 47 47 #include <Ogre.h> 48 #include <OgreProgressiveMesh.h> 48 49 #include <CEGUI.h> 49 50 #include <boost/thread/recursive_mutex.hpp> -
code/branches/lod/src/orxonox/gamestates/GSLevel.cc
r1934 r2053 38 38 #include "core/CommandExecutor.h" 39 39 #include "core/ConsoleCommand.h" 40 #include "core/CommandLine.h"41 40 #include "core/ConfigValueIncludes.h" 42 41 #include "core/CoreIncludes.h" … … 50 49 namespace orxonox 51 50 { 52 SetCommandLineArgument(level, "sample.oxw").setShortcut("l");53 54 51 GSLevel::GSLevel(const std::string& name) 55 52 : GameState<GSGraphics>(name) … … 160 157 // call the loader 161 158 COUT(0) << "Loading level..." << std::endl; 162 std::string levelName; 163 CommandLine::getValue("level", &levelName); 164 startLevel_ = new Level(Settings::getDataPath() + std::string("levels/") + levelName); 159 startLevel_ = new Level(Settings::getDataPath() + "levels/sample.oxw"); 165 160 Loader::open(startLevel_); 166 161 } -
code/branches/lod/src/util/OrxonoxPlatform.h
r1921 r2053 137 137 } 138 138 139 //-----------------------------------------------------------------------140 // Version Information141 //-----------------------------------------------------------------------142 143 #define ORXONOX_VERSION_MAJOR 0144 #define ORXONOX_VERSION_MINOR 1145 #define ORXONOX_VERSION_PATCH 2146 #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)150 139 151 140
Note: See TracChangeset
for help on using the changeset viewer.