Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7335


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
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • code/branches/doc/doc/api/Groups.dox

    r7325 r7335  
    5656    @defgroup Command Command
    5757    @ingroup Core
     58*/
     59
     60/**
     61    @defgroup CmdArgs Commandline Arguments
     62    @ingroup Command
     63    @brief For a reference see @ref cmdargs
    5864*/
    5965
  • code/branches/doc/doc/api/doxy.config.in

    r7317 r7335  
    191191# You can put \n's in the value part of an alias to insert newlines.
    192192
    193 ALIASES                =
     193ALIASES                = "cmdarg=\xrefitem cmdargs \"Commandline Argment\" \"Commandline Arguments Reference\""
    194194
    195195# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C
  • code/branches/doc/src/libraries/core/CommandLineParser.cc

    r7303 r7335  
    4141namespace orxonox
    4242{
     43    //! @cmdarg
    4344    SetCommandLineOnlyArgument(optionsFile, "start.ini").shortcut("o");
    4445
  • code/branches/doc/src/libraries/core/Core.cc

    r7284 r7335  
    7777    Core* Core::singletonPtr_s  = 0;
    7878
     79    //! @cmdarg
    7980    SetCommandLineArgument(settingsFile, "orxonox.ini").information("THE configuration file");
     81    //! @cmdarg
    8082    SetCommandLineSwitch(noIOConsole).information("Use this if you don't want to use the IOConsole (for instance for Lua debugging)");
    8183
    8284#ifdef ORXONOX_PLATFORM_WINDOWS
     85    //! @cmdarg
    8386    SetCommandLineArgument(limitToCPU, 1).information("Limits the program to one CPU/core (1, 2, 3, etc.). Default is the first core (faster than off)");
    8487#endif
  • code/branches/doc/src/libraries/core/PathConfig.cc

    r6417 r7335  
    7070    PathConfig* PathConfig::singletonPtr_s  = 0;
    7171
     72    //! @cmdarg
    7273    SetCommandLineArgument(externalDataPath, "").information("Path to the external data files");
     74    //! @cmdarg
    7375    SetCommandLineOnlyArgument(writingPathSuffix, "").information("Additional subfolder for config and log files");
    7476
  • code/branches/doc/src/libraries/core/input/InputManager.cc

    r7297 r7335  
    6060namespace orxonox
    6161{
     62    //! @cmdarg
    6263    SetCommandLineSwitch(keyboard_no_grab).information("Whether not to exclusively grab the keyboard");
    6364
  • 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.