Changeset 2171 for code/trunk/src/orxonox/gamestates
- Timestamp:
- Nov 10, 2008, 12:05:03 AM (16 years ago)
- Location:
- code/trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/objecthierarchy merged: 2111-2115,2123,2132-2134,2143-2144,2153-2158,2160-2169
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/gamestates/GSClient.cc
r2087 r2171 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/trunk/src/orxonox/gamestates/GSClient.h
r2087 r2171 49 49 void ticked(const Clock& time); 50 50 51 network::Client* client_;51 Client* client_; 52 52 }; 53 53 } -
code/trunk/src/orxonox/gamestates/GSDedicated.cc
r2087 r2171 32 32 #include "core/CommandLine.h" 33 33 #include "core/Core.h" 34 #include "core/Iterator.h" 34 35 #include "network/Server.h" 36 #include "objects/Tickable.h" 35 37 36 38 namespace orxonox … … 50 52 Core::setHasServer(true); 51 53 52 this->server_ = new network::Server(CommandLine::getValue("port"));54 this->server_ = new Server(CommandLine::getValue("port")); 53 55 COUT(0) << "Loading scene in server mode" << std::endl; 54 56 -
code/trunk/src/orxonox/gamestates/GSDedicated.h
r2087 r2171 48 48 void ticked(const Clock& time); 49 49 50 network::Server* server_;50 Server* server_; 51 51 }; 52 52 } -
code/trunk/src/orxonox/gamestates/GSGraphics.cc
r2103 r2171 56 56 #include "gui/GUIManager.h" 57 57 #include "tools/WindowEventListener.h" 58 #include "objects/Tickable.h"59 58 #include "Settings.h" 60 59 … … 242 241 this->tickChild(time); 243 242 244 /*** HACK *** HACK ***/245 // Call the Tickable objects246 for (ObjectList<Tickable>::iterator it = ObjectList<Tickable>::begin(); it; ++it)247 it->tick(time.getDeltaTime());248 /*** HACK *** HACK ***/249 250 243 if (this->bWindowEventListenerUpdateRequired_) 251 244 { -
code/trunk/src/orxonox/gamestates/GSRoot.cc
r2087 r2171 41 41 #include "core/TclThreadManager.h" 42 42 #include "tools/Timer.h" 43 #include "objects/Tickable.h" 43 44 #include "Settings.h" 44 45 … … 143 144 it->tick(time); 144 145 146 /*** HACK *** HACK ***/ 147 // Call the Tickable objects 148 for (ObjectList<Tickable>::iterator it = ObjectList<Tickable>::begin(); it; ++it) 149 it->tick(time.getDeltaTime()); 150 /*** HACK *** HACK ***/ 151 145 152 this->tickChild(time); 146 153 } -
code/trunk/src/orxonox/gamestates/GSServer.cc
r2087 r2171 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/trunk/src/orxonox/gamestates/GSServer.h
r2087 r2171 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.