Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7258 in orxonox.OLD


Ignore:
Timestamp:
Mar 30, 2006, 1:51:45 PM (18 years ago)
Author:
rennerc
Message:

added some command line arguments

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/parser/preferences/cmd_line_prefs_reader.cc

    r7256 r7258  
    105105  CmdLineParser parser;
    106106 
    107   parser.add( ID_HELP, "help", 'h', 0, "", "Shows this help");
     107  parser.add( ID_HELP, "help", 'h', 0, "", "Shows this help and exits");
    108108 
    109109  for ( int i = 0; i<regArgs.size(); i++ )
  • trunk/src/orxonox.cc

    r7256 r7258  
    6868SHELL_COMMAND(restart, Orxonox, restart);
    6969
    70 REGISTER_ARG_FLAG( l, license, "misc", "showLicenseAndExit", "Prints the licence and exit",    "1" );
    71 REGISTER_ARG_FLAG( c, client,  "game", "gameType",           "Connect to Server (-H)",         "multiplayer_client" );
    72 REGISTER_ARG_FLAG( s, server,  "game", "gameType",           "Start Orxonox as Game Server",   "multiplayer_server" );
    73 REGISTER_ARG_ARG(  H, host,    "game", "host",               "Host to connect to",             "host");
    74 REGISTER_ARG_ARG(  p, port,    "game", "port",               "Port to use",                    "port" );
    75 REGISTER_ARG_FLAG( g, gui,     "game", "showGui",            "starts the orxonox with the configuration GUI", "1");
     70REGISTER_ARG_FLAG( l, license,    "misc",  "showLicenseAndExit", "Prints the license and exit",      "1" );
     71REGISTER_ARG_FLAG( c, client,     "game",  "gameType",           "Connect to Server (-H)",           "multiplayer_client" );
     72REGISTER_ARG_FLAG( s, server,     "game",  "gameType",           "Start Orxonox as Game Server",     "multiplayer_server" );
     73REGISTER_ARG_ARG(  H, host,       "game",  "host",               "Host to connect to",               "host");
     74REGISTER_ARG_ARG(  p, port,       "game",  "port",               "Port to use",                      "port" );
     75REGISTER_ARG_FLAG( g, gui,        "game",  "showGui",            "starts the orxonox with the configuration GUI", "1");
     76
     77REGISTER_ARG_FLAG( f, fullscreen, "video", "Fullscreen-mode",    "start Orxonox in fullscreen mode", "1");
     78REGISTER_ARG_FLAG( w, windowed,   "video", "Fullscreen-mode",    "start Orxonox in windowed mode",   "0");
     79REGISTER_ARG_ARG(  r, resolution, "video", "Resolution",         "Sets resolution / window size",    "res");
    7680
    7781/**
Note: See TracChangeset for help on using the changeset viewer.