Changeset 2112 for code/branches/objecthierarchy/src/orxonox/gamestates
- Timestamp:
- Nov 2, 2008, 12:54:17 PM (16 years ago)
- Location:
- code/branches/objecthierarchy/src/orxonox/gamestates
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/gamestates/GSClient.cc
r2023 r2112 53 53 Core::setIsClient(true); 54 54 55 this->client_ = new network::Client(CommandLine::getValue("ip").getString(), CommandLine::getValue("port"));55 this->client_ = new Client(CommandLine::getValue("ip").getString(), CommandLine::getValue("port")); 56 56 57 57 if(!client_->establishConnection()) -
code/branches/objecthierarchy/src/orxonox/gamestates/GSClient.h
r2023 r2112 49 49 void ticked(const Clock& time); 50 50 51 network::Client* client_;51 Client* client_; 52 52 }; 53 53 } -
code/branches/objecthierarchy/src/orxonox/gamestates/GSDedicated.cc
r2023 r2112 50 50 Core::setHasServer(true); 51 51 52 this->server_ = new network::Server(CommandLine::getValue("port"));52 this->server_ = new Server(CommandLine::getValue("port")); 53 53 COUT(0) << "Loading scene in server mode" << std::endl; 54 54 -
code/branches/objecthierarchy/src/orxonox/gamestates/GSDedicated.h
r2023 r2112 48 48 void ticked(const Clock& time); 49 49 50 network::Server* server_;50 Server* server_; 51 51 }; 52 52 } -
code/branches/objecthierarchy/src/orxonox/gamestates/GSServer.cc
r2023 r2112 52 52 Core::setHasServer(true); 53 53 54 this->server_ = new network::Server(CommandLine::getValue("port"));54 this->server_ = new Server(CommandLine::getValue("port")); 55 55 COUT(0) << "Loading scene in server mode" << std::endl; 56 56 -
code/branches/objecthierarchy/src/orxonox/gamestates/GSServer.h
r2023 r2112 48 48 void ticked(const Clock& time); 49 49 50 network::Server* server_;50 Server* server_; 51 51 }; 52 52 }
Note: See TracChangeset
for help on using the changeset viewer.