Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 21, 2008, 6:14:31 PM (17 years ago)
Author:
rgrieder
Message:
  • merged all changes in the input branch into this one
  • moved Tickable to core (would have created circular library dependencies)
  • exported OrxListener to a separate file, soon to be deleted
changed
, &&, XOR back to or, and, xor because I found the necessary include file for VC++
  • created abortRequest() in Orxonox.cc to call for a smooth end of the game (an alternative would be to make tick() return a boolean, like it is with frameStarted())
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/orxonox/Orxonox.h

    r888 r917  
    99
    1010#include <string>
     11#include <deque>
    1112
    1213#include <OgrePrerequisites.h>
     
    3738      // not sure if this should be private
    3839      void die(/* some error code */);
     40      void abortRequest();
    3941      static Orxonox* getSingleton();
    4042      inline Ogre::SceneManager* getSceneManager()         { return ogre_->getSceneManager(); };
     
    6567      void createFrameListener();
    6668      void startRenderLoop();
     69      void mainLoop();
     70      void updateTimers(float);
     71      float calculateEventTime(unsigned long, std::deque<unsigned long>&);
    6772
    6873    private:
     
    7883      OrxListener*          frameListener_;
    7984      Ogre::Root*           root_;
     85      // TODO: make this a config-value by creating a config class for orxonox
     86      float                 frameSmoothingTime_;
     87      // little hack to actually show something dynamic in the HUD
     88      HUD*                  orxonoxHUD_;
     89      bool                  bAbort_;
    8090
    8191      // this is used to identify the mode (server/client/...) we're in
Note: See TracChangeset for help on using the changeset viewer.