Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 27, 2009, 2:42:37 PM (16 years ago)
Author:
rgrieder
Message:

Moved startup argument parsing (console, dedicated, server, client and standalone) from GSRoot.cc to Main.cc.
This allows to finally prevent GameState request while loading/unloading them (changed the code in Game.cc to enforce this).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/resource/src/orxonox/gamestates/GSGraphics.cc

    r3357 r3358  
    6868        masterInputState_ = InputManager::getInstance().createInputState("master", true);
    6969        masterKeyBinder_ = new KeyBinder();
     70        masterInputState_->setKeyHandler(masterKeyBinder_);
    7071    }
    7172
     
    99100
    100101        masterKeyBinder_->loadBindings("masterKeybindings.ini");
    101         masterInputState_->setKeyHandler(masterKeyBinder_);
    102102
    103103        // Load the SoundManager
Note: See TracChangeset for help on using the changeset viewer.