Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2163


Ignore:
Timestamp:
Nov 9, 2008, 12:53:57 PM (15 years ago)
Author:
rgrieder
Message:

Hack-fixed hack with Tickables in dedicated mode.

Location:
code/branches/objecthierarchy/src/orxonox/gamestates
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/orxonox/gamestates/GSDedicated.cc

    r2161 r2163  
    7575        server_->tick(time.getDeltaTime());
    7676        this->tickChild(time);
    77 
    78         /*** HACK *** HACK ***/
    79         // Call the Tickable objects
    80         for (ObjectList<Tickable>::iterator it = ObjectList<Tickable>::begin(); it; ++it)
    81             it->tick(time.getDeltaTime());
    82         /*** HACK *** HACK ***/
    8377    }
    8478}
  • code/branches/objecthierarchy/src/orxonox/gamestates/GSGraphics.cc

    r2101 r2163  
    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/branches/objecthierarchy/src/orxonox/gamestates/GSRoot.cc

    r2079 r2163  
    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    }
Note: See TracChangeset for help on using the changeset viewer.