Changeset 9921 in orxonox.OLD for branches/network/src/world_entities
- Timestamp:
- Nov 9, 2006, 2:46:12 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/world_entities/spectator.cc
r9915 r9921 234 234 else if( event.type == KeyMapper::PEV_JUMP) 235 235 { 236 //FPSPlayer * fps = new FPSPlayer();237 WorldEntity * fps = new WorldEntity();236 FPSPlayer * fps = new FPSPlayer(); 237 //WorldEntity * fps = new WorldEntity(); 238 238 239 239 fps->setAbsCoor( this->getAbsCoorX(), this->getAbsCoorY(), this->getAbsCoorZ() ); 240 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" );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 244 245 245 //((Playable*)fps)->setPlayDirection( 0, 0, 1, 0 );
Note: See TracChangeset
for help on using the changeset viewer.