Changeset 3255 for code/branches/core4/src/orxonox/gamestates
- Timestamp:
- Jun 29, 2009, 11:59:29 PM (16 years ago)
- Location:
- code/branches/core4/src/orxonox/gamestates
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core4/src/orxonox/gamestates/GSClient.cc
r3243 r3255 40 40 DeclareGameState(GSClient, "client", false, true); 41 41 42 SetCommandLineArgument(ip, "127.0.0.1").information(" #.#.#.#");42 SetCommandLineArgument(ip, "127.0.0.1").information("Sever IP as strin in the form #.#.#.#"); 43 43 44 44 GSClient::GSClient(const GameStateConstrParams& params) -
code/branches/core4/src/orxonox/gamestates/GSRoot.cc
r3245 r3255 42 42 { 43 43 DeclareGameState(GSRoot, "root", true, false); 44 SetCommandLineSwitch(console) ;44 SetCommandLineSwitch(console).information("Start in console mode (text IO only)"); 45 45 // Shortcuts for easy direct loading 46 SetCommandLineSwitch(server) ;47 SetCommandLineSwitch(client) ;48 SetCommandLineSwitch(dedicated) ;49 SetCommandLineSwitch(standalone) ;46 SetCommandLineSwitch(server).information("Start in server mode"); 47 SetCommandLineSwitch(client).information("Start in client mode"); 48 SetCommandLineSwitch(dedicated).information("Start in dedicated server mode"); 49 SetCommandLineSwitch(standalone).information("Start in standalone mode"); 50 50 51 51 GSRoot::GSRoot(const GameStateConstrParams& params) -
code/branches/core4/src/orxonox/gamestates/GSServer.cc
r3243 r3255 39 39 DeclareGameState(GSServer, "server", false, true); 40 40 41 SetCommandLineArgument(port, 55556).shortcut("p").information(" 0-65535");41 SetCommandLineArgument(port, 55556).shortcut("p").information("Network communication port to be used 0-65535 (default: 55556)"); 42 42 43 43 GSServer::GSServer(const GameStateConstrParams& params)
Note: See TracChangeset
for help on using the changeset viewer.