Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 10, 2008, 1:37:36 AM (16 years ago)
Author:
rgrieder
Message:

merged gui back to trunk.
update the media repository!

Location:
code/trunk
Files:
1 edited
2 copied

Legend:

Unmodified
Added
Removed
  • code/trunk

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

    r1724 r1755  
    8686        // reset game speed to normal
    8787        timeFactor_ = 1.0f;
     88
     89        // TODO: insert slomo console command with
     90        // .accessLevel(AccessLevel::Offline).defaultValue(0, 1.0).axisParamIndex(0).isAxisRelative(false);
    8891    }
    8992
     
    111114    {
    112115        // Call those objects that need the real time
    113         for (Iterator<TickableReal> it = ObjectList<TickableReal>::start(); it; ++it)
     116        for (ObjectList<TickableReal>::iterator it = ObjectList<TickableReal>::begin(); it; ++it)
    114117            it->tick(time.getDeltaTime());
    115118        // Call the scene objects
    116         for (Iterator<Tickable> it = ObjectList<Tickable>::start(); it; ++it)
     119        for (ObjectList<Tickable>::iterator it = ObjectList<Tickable>::begin(); it; ++it)
    117120            it->tick(time.getDeltaTime() * this->timeFactor_);
    118121
    119         for (Iterator<TimerBase> it = ObjectList<TimerBase>::start(); it; ++it)
     122        for (ObjectList<TimerBase>::iterator it = ObjectList<TimerBase>::begin(); it; ++it)
    120123            it->tick(time);
    121124    }
     
    129132        float change = factor / this->timeFactor_;
    130133        this->timeFactor_ = factor;
    131         for (Iterator<ParticleInterface> it = ObjectList<ParticleInterface>::begin(); it; ++it)
     134        for (ObjectList<ParticleInterface>::iterator it = ObjectList<ParticleInterface>::begin(); it; ++it)
    132135            it->setSpeedFactor(it->getSpeedFactor() * change);
    133136
    134         for (Iterator<Backlight> it = ObjectList<Backlight>::begin(); it; ++it)
     137        for (ObjectList<Backlight>::iterator it = ObjectList<Backlight>::begin(); it; ++it)
    135138            it->setTimeFactor(timeFactor_);
    136139    }
Note: See TracChangeset for help on using the changeset viewer.