Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 3, 2010, 1:30:59 PM (14 years ago)
Author:
rgrieder
Message:

Added separate page for a commandline argument reference.
It's not too useful, but better than nothing.

Location:
code/branches/doc/src/orxonox
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/doc/src/orxonox/LevelManager.cc

    r7284 r7335  
    4242namespace orxonox
    4343{
     44    //! @cmdarg
    4445    SetCommandLineArgument(level, "").shortcut("l").information("Default level file (overrides LevelManager::defaultLevelName_ configValue)");
    4546
  • code/branches/doc/src/orxonox/Main.cc

    r7163 r7335  
    4343#include "Main.h"
    4444
    45 SetCommandLineSwitch(console).information("Start in console mode (text IO only)");
    46 // Shortcuts for easy direct loading
    47 SetCommandLineSwitch(server).information("Start in server mode");
    48 SetCommandLineSwitch(client).information("Start in client mode");
    49 SetCommandLineSwitch(dedicated).information("Start in dedicated server mode");
    50 SetCommandLineSwitch(standalone).information("Start in standalone mode");
    51 SetCommandLineSwitch(dedicatedClient).information("Start in dedicated client mode");
    52 
    5345DeclareToluaInterface(Orxonox);
    5446DeclareToluaInterface(Network);
     
    5648namespace orxonox
    5749{
     50    //! @cmdarg
     51    SetCommandLineSwitch(console).information("Start in console mode (text IO only)");
     52    //! @cmdarg
     53    SetCommandLineSwitch(server).information("Start in server mode");
     54    //! @cmdarg
     55    SetCommandLineSwitch(client).information("Start in client mode");
     56    //! @cmdarg
     57    SetCommandLineSwitch(dedicated).information("Start in dedicated server mode");
     58    //! @cmdarg
     59    SetCommandLineSwitch(standalone).information("Start in standalone mode");
     60    //! @cmdarg
     61    SetCommandLineSwitch(dedicatedClient).information("Start in dedicated client mode");
     62
    5863    /**
    5964    @brief
  • code/branches/doc/src/orxonox/gamestates/GSClient.cc

    r7163 r7335  
    4040    DeclareGameState(GSClient, "client", false, false);
    4141
     42    //! @cmdarg
    4243    SetCommandLineArgument(dest, "127.0.0.1").information("Server hostname/IP (IP in the form of #.#.#.#)");
    4344
  • code/branches/doc/src/orxonox/gamestates/GSServer.cc

    r6105 r7335  
    3939    DeclareGameState(GSServer, "server", false, false);
    4040
     41    //! @cmdarg
    4142    SetCommandLineArgument(port, 55556).shortcut("p").information("Network communication port to be used 0-65535 (default: 55556)");
    4243
Note: See TracChangeset for help on using the changeset viewer.