Changeset 6412 for code/branches/pickup2/src/orxonox/gamestates/GSClient.cc
- Timestamp:
- Dec 25, 2009, 1:18:03 PM (15 years ago)
- Location:
- code/branches/pickup2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickup2
- Property svn:mergeinfo changed
-
code/branches/pickup2/src/orxonox/gamestates/GSClient.cc
r5929 r6412 29 29 #include "GSClient.h" 30 30 31 #include "util/ Clock.h"31 #include "util/Debug.h" 32 32 #include "util/Exception.h" 33 #include "core/CommandLine .h"33 #include "core/CommandLineParser.h" 34 34 #include "core/Game.h" 35 35 #include "core/GameMode.h" … … 38 38 namespace orxonox 39 39 { 40 DeclareGameState(GSClient, "client", false, true);40 DeclareGameState(GSClient, "client", false, false); 41 41 42 42 SetCommandLineArgument(ip, "127.0.0.1").information("Sever IP as string in the form #.#.#.#"); … … 56 56 GameMode::setIsClient(true); 57 57 58 this->client_ = new Client(CommandLine ::getValue("ip").getString(), CommandLine::getValue("port"));58 this->client_ = new Client(CommandLineParser::getValue("ip").getString(), CommandLineParser::getValue("port")); 59 59 60 60 if(!client_->establishConnection())
Note: See TracChangeset
for help on using the changeset viewer.