Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 17, 2007, 12:09:13 PM (18 years ago)
Author:
scheusso
Message:

added capability for presentation mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/orxonox.h

    r531 r568  
    2323namespace orxonox {
    2424
     25  enum gameMode{
     26    STANDALONE,
     27    SERVER,
     28    CLIENT,
     29    PRESENTATION
     30  };
     31 
    2532  class OrxListener;
    2633
     
    3946      Orxonox();
    4047      virtual ~Orxonox();
     48      // init functions
    4149      void serverInit(std::string path);
    4250      void clientInit(std::string path);
    43       void standalone(std::string path);
     51      void standaloneInit(std::string path);
     52      // run functions
    4453      void playableServer(std::string path);
     54      void standalone();
    4555      void defineResources();
    4656      void setupRenderSystem();
     
    6575      OrxListener*          frameListener_;
    6676      Ogre::Root*           root_;
     77     
     78      // this is used to identify the mode (server/client/...) we're in
     79      gameMode              mode_;
    6780  };
    6881}
Note: See TracChangeset for help on using the changeset viewer.