Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 10, 2008, 12:05:03 AM (16 years ago)
Author:
landauf
Message:

merged revisions 2111-2170 from objecthierarchy branch back to trunk.

Location:
code/trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • code/trunk

  • code/trunk/src/orxonox/gamestates/GSClient.cc

    r2087 r2171  
    5353        Core::setIsClient(true);
    5454
    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"));
    5656
    5757        if(!client_->establishConnection())
  • code/trunk/src/orxonox/gamestates/GSClient.h

    r2087 r2171  
    4949        void ticked(const Clock& time);
    5050
    51         network::Client* client_;
     51        Client* client_;
    5252    };
    5353}
  • code/trunk/src/orxonox/gamestates/GSDedicated.cc

    r2087 r2171  
    3232#include "core/CommandLine.h"
    3333#include "core/Core.h"
     34#include "core/Iterator.h"
    3435#include "network/Server.h"
     36#include "objects/Tickable.h"
    3537
    3638namespace orxonox
     
    5052        Core::setHasServer(true);
    5153
    52         this->server_ = new network::Server(CommandLine::getValue("port"));
     54        this->server_ = new Server(CommandLine::getValue("port"));
    5355        COUT(0) << "Loading scene in server mode" << std::endl;
    5456
  • code/trunk/src/orxonox/gamestates/GSDedicated.h

    r2087 r2171  
    4848        void ticked(const Clock& time);
    4949
    50         network::Server*      server_;
     50        Server*      server_;
    5151    };
    5252}
  • code/trunk/src/orxonox/gamestates/GSGraphics.cc

    r2103 r2171  
    5656#include "gui/GUIManager.h"
    5757#include "tools/WindowEventListener.h"
    58 #include "objects/Tickable.h"
    5958#include "Settings.h"
    6059
     
    242241        this->tickChild(time);
    243242
    244         /*** HACK *** HACK ***/
    245         // Call the Tickable objects
    246         for (ObjectList<Tickable>::iterator it = ObjectList<Tickable>::begin(); it; ++it)
    247             it->tick(time.getDeltaTime());
    248         /*** HACK *** HACK ***/
    249 
    250243        if (this->bWindowEventListenerUpdateRequired_)
    251244        {
  • code/trunk/src/orxonox/gamestates/GSRoot.cc

    r2087 r2171  
    4141#include "core/TclThreadManager.h"
    4242#include "tools/Timer.h"
     43#include "objects/Tickable.h"
    4344#include "Settings.h"
    4445
     
    143144            it->tick(time);
    144145
     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
    145152        this->tickChild(time);
    146153    }
  • code/trunk/src/orxonox/gamestates/GSServer.cc

    r2087 r2171  
    5252        Core::setHasServer(true);
    5353
    54         this->server_ = new network::Server(CommandLine::getValue("port"));
     54        this->server_ = new Server(CommandLine::getValue("port"));
    5555        COUT(0) << "Loading scene in server mode" << std::endl;
    5656
  • code/trunk/src/orxonox/gamestates/GSServer.h

    r2087 r2171  
    4848        void ticked(const Clock& time);
    4949
    50         network::Server*      server_;
     50        Server*      server_;
    5151    };
    5252}
Note: See TracChangeset for help on using the changeset viewer.