Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 31, 2005, 12:58:32 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: now system events work again: quit, pause, next-level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/loading/game_loader.cc

    r4410 r4411  
    6565  if(this->currentCampaign != NULL)
    6666    this->currentCampaign->init();
     67
     68  this->eventHandler = EventHandler::getInstance();
     69  this->eventHandler->subscribe(this, ES_ALL, KeyMapper::PEV_PAUSE);
     70  this->eventHandler->subscribe(this, ES_ALL, KeyMapper::PEV_QUIT);
     71  this->eventHandler->subscribe(this, ES_ALL, KeyMapper::PEV_NEXT_WORLD);
     72  this->eventHandler->subscribe(this, ES_ALL, KeyMapper::PEV_PREVIOUS_WORLD);
    6773}
    6874
     
    258264
    259265
     266
     267
    260268void GameLoader::process(const Event& event)
    261269{
Note: See TracChangeset for help on using the changeset viewer.