Changeset 4411 in orxonox.OLD for orxonox/trunk
- Timestamp:
- May 31, 2005, 12:58:32 AM (19 years ago)
- Location:
- orxonox/trunk/src/util
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/event/key_mapper.cc
r4410 r4411 206 206 { 207 207 if( !strcmp (name, map[i].pName)) { *map[i].pValue = keyID; break;} 208 PRINTF(0)("Mapping %s to id %i\n", name, keyID); 208 209 } 209 210 } -
orxonox/trunk/src/util/loading/game_loader.cc
r4410 r4411 65 65 if(this->currentCampaign != NULL) 66 66 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); 67 73 } 68 74 … … 258 264 259 265 266 267 260 268 void GameLoader::process(const Event& event) 261 269 { -
orxonox/trunk/src/util/loading/game_loader.h
r4410 r4411 24 24 class BaseObject; 25 25 class Event; 26 class EventHandler; 26 27 27 28 //! The GameLoader … … 72 73 73 74 Campaign* fileToCampaign(const char* name); 75 EventHandler* eventHandler; 74 76 75 77 Factory* first;
Note: See TracChangeset
for help on using the changeset viewer.