Changeset 9915 in orxonox.OLD for branches/network/src/world_entities/spectator.cc
- Timestamp:
- Nov 3, 2006, 10:27:59 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/world_entities/spectator.cc
r9869 r9915 21 21 22 22 #include "shared_network_data.h" 23 24 #include "src/world_entities/creatures/fps_player.h" 23 25 24 26 #include "class_id_DEPRECATED.h" … … 79 81 registerEvent(KeyMapper::PEV_RIGHT); 80 82 registerEvent(KeyMapper::PEV_FIRE1); 83 registerEvent(KeyMapper::PEV_JUMP); 81 84 registerEvent(EV_MOUSE_MOTION); 82 85 … … 229 232 this->yMouse += event.yRel; 230 233 } 231 } 232 233 234 235 234 else if( event.type == KeyMapper::PEV_JUMP) 235 { 236 //FPSPlayer * fps = new FPSPlayer(); 237 WorldEntity * fps = new WorldEntity(); 238 239 fps->setAbsCoor( this->getAbsCoorX(), this->getAbsCoorY(), this->getAbsCoorZ() ); 240 fps->setAbsDir( this->getAbsDir() ); 241 //fps->loadMD2Texture( "doom_guy.png" ); 242 //fps->loadModel( "models/creatures/doom_guy.md2", 10.0f ); 243 fps->loadModel( "models/ships/terran_cruizer.obj" ); 244 245 //((Playable*)fps)->setPlayDirection( 0, 0, 1, 0 ); 246 } 247 } 248 249 250 251
Note: See TracChangeset
for help on using the changeset viewer.