Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 1, 2009, 11:11:01 AM (15 years ago)
Author:
scheusso
Message:

adding the dedicatedClient (mostly for debugging reason)
there is a new runscript (for win and unix): dedicatedClient(.bat)
you can also choose GSDedicatedClient by adding the command line argument —dedicatedClient

Location:
code/branches/core5/src/orxonox
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/src/orxonox/Main.cc

    r5843 r5848  
    4848SetCommandLineSwitch(dedicated).information("Start in dedicated server mode");
    4949SetCommandLineSwitch(standalone).information("Start in standalone mode");
     50SetCommandLineSwitch(dedicatedClient).information("Start in dedicated client mode");
    5051
    5152DeclareToluaInterface(Orxonox);
     
    6768        "  standalone,server,client"
    6869        "   level"
    69         " dedicated"
     70        " dedicated,dedicatedClient"
    7071        "  level"
    7172        " ioConsole"
     
    8384        else if (CommandLine::getValue("dedicated").getBool())
    8485            Game::getInstance().requestStates("dedicated, level");
     86        else if (CommandLine::getValue("dedicatedClient").getBool())
     87            Game::getInstance().requestStates("dedicatedClient, level");
    8588        else if (CommandLine::getValue("console").getBool())
    8689            Game::getInstance().requestStates("ioConsole");
  • code/branches/core5/src/orxonox/gamestates/CMakeLists.txt

    r5842 r5848  
    22  GSClient.cc
    33  GSDedicated.cc
     4  GSDedicatedClient.cc
    45  GSGraphics.cc
    56  GSIOConsole.cc
Note: See TracChangeset for help on using the changeset viewer.