Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 8, 2008, 1:29:38 PM (17 years ago)
Author:
rgrieder
Message:
  • added initialiser lists
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ogre/src/orxonox/Orxonox.cc

    r1244 r1249  
    158158   * Create a new instance of Orxonox. Avoid doing any actual work here.
    159159   */
    160   Orxonox::Orxonox()
    161   {
    162     this->mode_ = STANDALONE;
    163     this->serverIp_ = "";
    164     this->ogre_ = &GraphicsEngine::getSingleton();
    165     this->timer_ = 0;
    166     //this->auMan_ = 0;
    167     this->orxonoxHUD_ = 0;
    168     this->inputHandler_ = 0;
     160  Orxonox::Orxonox() :
     161    ogre_(&GraphicsEngine::getSingleton()),
     162    //auMan_(0),
     163    timer_(0),
    169164    // turn on frame smoothing by setting a value different from 0
    170     this->frameSmoothingTime_ = 0.0f;
    171     this->bAbort_ = false;
    172     this->timefactor_ = 1.0f;
     165    frameSmoothingTime_(0.0f),
     166    orxonoxConsole_(0),
     167    orxonoxHUD_(0),
     168    bAbort_(false),
     169    timefactor_(1.0f),
     170    mode_(STANDALONE),
     171    serverIp_("")
     172  {
    173173  }
    174174
Note: See TracChangeset for help on using the changeset viewer.