Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 21, 2007, 10:59:03 AM (17 years ago)
Author:
nicolasc
Message:
  • removed presentation folder - unneeded
  • fixed cmakeclearcache for for good
File:
1 edited

Legend:

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

    r663 r665  
    9494        updateAI();
    9595
    96         if(mode_==PRESENTATION)
     96        if(mode_ == PRESENTATION)
    9797          server_g->tick(evt.timeSinceLastFrame);
    98         else if(mode_==CLIENT)
     98        else if(mode_ == CLIENT)
    9999          client_g->tick(evt.timeSinceLastFrame);
    100100
     
    277277    createFrameListener();
    278278    try{
    279       server_g = new network::Server(); // add port and bindadress
    280       server_g->open(); // open server and create listener thread
     279      server_g = new network::Server(); //!< add port and bindadress
     280      server_g->open(); //!< open server and create listener thread
    281281      if(ogre_ && ogre_->getRoot())
    282282        ogre_->getRoot()->addFrameListener(new network::ServerFrameListener()); // adds a framelistener for the server
     
    301301    ogre_->setConfigPath(path);
    302302    ogre_->setup();
    303     server_g = new network::Server(); // add some settings if wanted
     303    server_g = new network::Server(); // FIXME add some settings if wanted
    304304    if(!ogre_->load()) die(/* unable to load */);
    305     // add network framelistener
     305    // FIXME add network framelistener
    306306  }
    307307
     
    426426    // fixes auto repeat problem
    427427    #if defined OIS_LINUX_PLATFORM
    428     pl.insert(std::make_pair(std::string("XAutoRepeatOn"), std::string("true")));
     428      pl.insert(std::make_pair(std::string("XAutoRepeatOn"), std::string("true")));
    429429    #endif
    430430
     
    446446  }
    447447
    448   // we actually want to do this differently...
     448  // FIXME we actually want to do this differently...
    449449  void Orxonox::createFrameListener()
    450450  {
     
    455455    ogre_->getRoot()->addFrameListener(TimerFL);
    456456
    457     //if(mode_!=CLIENT) // just a hack ------- remove this in future
     457    //if(mode_!=CLIENT) // FIXME just a hack ------- remove this in future
    458458      frameListener_ = new OrxListener(keyboard_, auMan_, mode_);
    459459    ogre_->getRoot()->addFrameListener(frameListener_);
     
    462462  void Orxonox::startRenderLoop()
    463463  {
     464    // FIXME
    464465    // this is a hack!!!
    465466    // the call to reset the mouse clipping size should probably be somewhere
Note: See TracChangeset for help on using the changeset viewer.