Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 4, 2009, 12:28:59 PM (14 years ago)
Author:
rgrieder
Message:

Renamed CommandLine to CommandLineParse to avoid confusions with the class name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/Main.cc

    r5929 r6021  
    3636#include "OrxonoxPrereqs.h"
    3737
    38 #include "core/CommandLine.h"
     38#include "core/CommandLineParser.h"
    3939#include "core/Game.h"
    4040#include "core/LuaState.h"
     
    7676
    7777        // Some development hacks (not really, but in the future, this calls won't make sense anymore)
    78         if (CommandLine::getValue("standalone").getBool())
     78        if (CommandLineParser::getValue("standalone").getBool())
    7979            Game::getInstance().requestStates("graphics, standalone, level");
    80         else if (CommandLine::getValue("server").getBool())
     80        else if (CommandLineParser::getValue("server").getBool())
    8181            Game::getInstance().requestStates("graphics, server, level");
    82         else if (CommandLine::getValue("client").getBool())
     82        else if (CommandLineParser::getValue("client").getBool())
    8383            Game::getInstance().requestStates("graphics, client, level");
    84         else if (CommandLine::getValue("dedicated").getBool())
     84        else if (CommandLineParser::getValue("dedicated").getBool())
    8585            Game::getInstance().requestStates("dedicated, level");
    86         else if (CommandLine::getValue("dedicatedClient").getBool())
     86        else if (CommandLineParser::getValue("dedicatedClient").getBool())
    8787            Game::getInstance().requestStates("dedicatedClient, level");
    88         else if (CommandLine::getValue("console").getBool())
     88        else if (CommandLineParser::getValue("console").getBool())
    8989            Game::getInstance().requestStates("ioConsole");
    9090        else
Note: See TracChangeset for help on using the changeset viewer.