Changeset 3274 for code/branches/core4/src/orxonox/gamestates/GSGraphics.cc
- Timestamp:
- Jul 12, 2009, 4:12:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core4/src/orxonox/gamestates/GSGraphics.cc
r3270 r3274 38 38 #include <OgreRenderWindow.h> 39 39 40 #include "util/Convert.h" 40 41 #include "core/ConfigValueIncludes.h" 41 42 #include "core/Clock.h" 43 #include "core/CommandExecutor.h" 42 44 #include "core/ConsoleCommand.h" 43 45 #include "core/Core.h" … … 47 49 #include "core/input/InputManager.h" 48 50 #include "core/input/KeyBinder.h" 49 #include "core/input/ SimpleInputState.h"51 #include "core/input/InputState.h" 50 52 #include "core/Loader.h" 51 53 #include "core/XMLFile.h" … … 125 127 126 128 // load master key bindings 127 masterInputState_ = InputManager::getInstance().createInputState <SimpleInputState>("master", true);129 masterInputState_ = InputManager::getInstance().createInputState("master", true); 128 130 masterKeyBinder_ = new KeyBinder(); 129 131 masterKeyBinder_->loadBindings("masterKeybindings.ini"); … … 244 246 { 245 247 // OIS needs this under linux even if we only use relative input measurement. 246 if (this->inputManager_)247 this->inputManager_->setWindowExtents(newWidth, newHeight);248 // HACK: 249 CommandExecutor::execute("setWindowExtents_s " + multi_cast<std::string>(newWidth) + " " + multi_cast<std::string>(newHeight)); 248 250 } 249 251
Note: See TracChangeset
for help on using the changeset viewer.