Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5848


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
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/bin/CMakeLists.txt

    r5695 r5848  
    2626
    2727# Create run scripts for Windows to manually add the DLL path when executing
    28 SET(RUN_SCRIPTS run standalone client1 client2 server dedicated)
     28SET(RUN_SCRIPTS run standalone client1 client2 server dedicated dedicatedClient)
    2929IF(WIN32)
    3030  FOREACH(_script ${RUN_SCRIPTS})
  • 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.