Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 13, 2008, 5:40:42 PM (16 years ago)
Author:
rgrieder
Message:
  • filled initialiser list of SpaceShip
  • adapted VS files in order to link network statically (circular depend.)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/merge/src/orxonox/objects/SpaceShip.cc

    r1264 r1265  
    6464    SpaceShip* SpaceShip::instance_s;
    6565
    66     SpaceShip::SpaceShip()
     66    SpaceShip::SpaceShip() :
     67      //testvector_(0,0,0),
     68      //bInvertYAxis_(false),
     69      setMouseEventCallback_(false),
     70      bLMousePressed_(false),
     71      bRMousePressed_(false),
     72      camNode_(0),
     73      cam_(0),
     74      camName_("CamNode"),
     75      tt_(0),
     76      greenNode_(0),
     77      redNode_(0),
     78      blinkTime_(0.0f),
     79      chNearNode_(0),
     80      chFarNode_(0),
     81      timeToReload_(0.0f),
     82      //reloadTime_(0.0f),
     83      maxSideAndBackSpeed_(0.0f),
     84      maxSpeed_(0.0f),
     85      maxRotation_(0.0f),
     86      translationAcceleration_(0.0f),
     87      rotationAcceleration_(0.0f),
     88      translationDamping_(0.0f),
     89      rotationDamping_(0.0f),
     90      maxRotationRadian_(0),
     91      rotationAccelerationRadian_(0),
     92      rotationDampingRadian_(0),
     93      zeroRadian_(0),
     94      mouseXRotation_(0),
     95      mouseYRotation_(0),
     96      mouseX_(0.0f),
     97      mouseY_(0.0f),
     98      emitterRate_(0.0f),
     99      server_(false)
    67100    {
    68101        RegisterObject(SpaceShip);
     
    73106        this->setConfigValues();
    74107
    75         this->setMouseEventCallback_ = false;
    76         this->bLMousePressed_ = false;
    77         this->bRMousePressed_ = false;
    78         this->mouseX_ = 0;
    79         this->mouseY_ = 0;
    80 
    81         this->camNode_ = 0;
    82         this->camName_ = "camNode";
    83 
    84         this->tt_ = 0;
    85         this->redNode_ = 0;
    86         this->greenNode_ = 0;
    87         this->blinkTime_ = 0;
    88 
    89         this->timeToReload_ = 0;
    90 
    91         this->maxSpeed_ = 0;
    92         this->maxSideAndBackSpeed_ = 0;
    93         this->maxRotation_ = 0;
    94         this->translationAcceleration_ = 0;
    95         this->rotationAcceleration_ = 0;
    96         this->translationDamping_ = 0;
    97         this->rotationDamping_ = 0;
    98 
    99         this->maxRotationRadian_ = 0;
    100         this->rotationAccelerationRadian_ = 0;
    101         this->rotationDampingRadian_ = 0;
    102         this->zeroRadian_ = Radian(0);
    103 
    104108        this->setRotationAxis(1, 0, 0);
    105109        this->setStatic(false);
    106 
    107         server_=false;
    108 
    109110
    110111        COUT(3) << "Info: SpaceShip was loaded" << std::endl;
Note: See TracChangeset for help on using the changeset viewer.