Changeset 7867 in orxonox.OLD for branches/gui/src/world_entities
- Timestamp:
- May 26, 2006, 1:19:46 PM (19 years ago)
- Location:
- branches/gui/src/world_entities
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/world_entities/camera.cc
r7866 r7867 16 16 17 17 #include "camera.h" 18 19 #include "event_handler.h" 20 21 using namespace std; 22 18 #include "key_mapper.h" 23 19 24 20 /** -
branches/gui/src/world_entities/creatures/md2_creature.cc
r7337 r7867 32 32 #include "util/loading/factory.h" 33 33 #include "key_mapper.h" 34 #include "event_handler.h"35 34 36 35 #include "graphics_engine.h" -
branches/gui/src/world_entities/space_ships/helicopter.cc
r7810 r7867 28 28 29 29 #include "key_mapper.h" 30 #include "event_handler.h"31 30 #include "state.h" 32 31 -
branches/gui/src/world_entities/space_ships/hover.cc
r7337 r7867 26 26 #include "util/loading/factory.h" 27 27 #include "key_mapper.h" 28 #include "event_handler.h"29 28 #include "state.h" 30 29 -
branches/gui/src/world_entities/space_ships/space_ship.cc
r7346 r7867 31 31 #include "util/loading/factory.h" 32 32 #include "key_mapper.h" 33 #include "event_handler.h"34 33 35 34 #include "network_game_manager.h" -
branches/gui/src/world_entities/space_ships/turbine_hover.cc
r7348 r7867 26 26 #include "util/loading/factory.h" 27 27 #include "key_mapper.h" 28 #include "event_handler.h"29 28 #include "state.h" 30 29 … … 32 31 #include "dot_emitter.h" 33 32 #include "sprite_particles.h" 34 35 using namespace std;36 33 37 34 CREATE_FACTORY(TurbineHover, CL_TURBINE_HOVER); … … 176 173 177 174 178 //add events to the eventlist 179 registerEvent(KeyMapper::PEV_FORWARD);180 registerEvent(KeyMapper::PEV_BACKWARD);181 registerEvent(KeyMapper::PEV_LEFT);182 registerEvent(KeyMapper::PEV_RIGHT);183 registerEvent(KeyMapper::PEV_UP);184 registerEvent(KeyMapper::PEV_DOWN);185 registerEvent(KeyMapper::PEV_FIRE1);186 registerEvent(KeyMapper::PEV_NEXT_WEAPON);187 registerEvent(KeyMapper::PEV_PREVIOUS_WEAPON);188 registerEvent(EV_MOUSE_MOTION);175 //add events to the eventlist of the Playable 176 this->registerEvent(KeyMapper::PEV_FORWARD); 177 this->registerEvent(KeyMapper::PEV_BACKWARD); 178 this->registerEvent(KeyMapper::PEV_LEFT); 179 this->registerEvent(KeyMapper::PEV_RIGHT); 180 this->registerEvent(KeyMapper::PEV_UP); 181 this->registerEvent(KeyMapper::PEV_DOWN); 182 this->registerEvent(KeyMapper::PEV_FIRE1); 183 this->registerEvent(KeyMapper::PEV_NEXT_WEAPON); 184 this->registerEvent(KeyMapper::PEV_PREVIOUS_WEAPON); 185 this->registerEvent(EV_MOUSE_MOTION); 189 186 190 187 dynamic_cast<Element2D*>(this->getWeaponManager().getFixedTarget())->setVisibility( false); -
branches/gui/src/world_entities/weapons/crosshair.cc
r7866 r7867 17 17 18 18 #include "crosshair.h" 19 #include "event_handler.h"20 19 21 20 #include "util/loading/load_param.h"
Note: See TracChangeset
for help on using the changeset viewer.