Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9150 in orxonox.OLD


Ignore:
Timestamp:
Jul 4, 2006, 3:54:44 PM (18 years ago)
Author:
rennerc
Message:

fpsplayer in om_players

Location:
branches/presentation/src/world_entities/creatures
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/creatures/fps_player.cc

    r9148 r9150  
    403403}
    404404
    405 /*
    406405void FPSPlayer::respawn( )
    407406{
    408   Playable::respawn();
    409 
    410   AABB* box = this->getModelAABB();
    411   if( box != NULL)
    412   {
    413     float f = 1.3f;
    414     State::getCameraNode()->setRelCoor(0, box->halfLength[1] * f, 0);
    415     State::getCameraTargetNode()->setRelCoor(10, box->halfLength[1] * f, 0);
    416 
    417     this->getWeaponManager().setSlotPosition(0, Vector(1.5, box->halfLength[1] * f - 0.7, 1.1));
    418     this->getWeaponManager().setSlotPosition(1, Vector(5.0, box->halfLength[1] * f, 0.0));
    419   }
    420 }
    421 */
    422 
    423 
    424 
     407  toList( OM_PLAYERS );
     408}
     409
  • branches/presentation/src/world_entities/creatures/fps_player.h

    r9139 r9150  
    2727    virtual void reset();
    2828   
    29     //virtual void respawn();
     29    virtual void respawn();
    3030
    3131    virtual void tick(float time);
Note: See TracChangeset for help on using the changeset viewer.