Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 20, 2008, 10:30:28 PM (16 years ago)
Author:
rgrieder
Message:

Added CommandLine class.
You can now call SetCommandLineArgument like SetConsoleCommand and hereby define a new command line argument. They are passed in main() and then they can be accessed by commandLine::getCommandLineArgument().

File:
1 edited

Legend:

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

    r1654 r1663  
    7474      Orxonox(Orxonox& instance);
    7575
    76       bool loadLevel(const GameMode& mode);
    7776      bool serverLoad();
    7877      bool clientLoad();
     
    9190      float                 timefactor_;       //!< A factor to change the gamespeed
    9291
    93       // this is used to identify the mode (server/client/...) we're in
    94       GameMode              mode_;
    95       GameMode              modeRequest_;
    96 
    9792      // config values
    9893      float                 debugRefreshTime_;
Note: See TracChangeset for help on using the changeset viewer.