Changeset 1755 for code/trunk/src/orxonox/gamestates/GSLevel.cc
- Timestamp:
- Sep 10, 2008, 1:37:36 AM (16 years ago)
- Location:
- code/trunk
- Files:
-
- 1 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/gui (added) merged: 1636,1638,1640-1647,1649-1654,1656,1659-1665,1670,1672-1674,1686,1688-1692,1694-1697,1704 /code/branches/input (added) merged: 1629-1630
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/gamestates/GSLevel.cc
r1724 r1755 86 86 // reset game speed to normal 87 87 timeFactor_ = 1.0f; 88 89 // TODO: insert slomo console command with 90 // .accessLevel(AccessLevel::Offline).defaultValue(0, 1.0).axisParamIndex(0).isAxisRelative(false); 88 91 } 89 92 … … 111 114 { 112 115 // 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) 114 117 it->tick(time.getDeltaTime()); 115 118 // 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) 117 120 it->tick(time.getDeltaTime() * this->timeFactor_); 118 121 119 for ( Iterator<TimerBase> it = ObjectList<TimerBase>::start(); it; ++it)122 for (ObjectList<TimerBase>::iterator it = ObjectList<TimerBase>::begin(); it; ++it) 120 123 it->tick(time); 121 124 } … … 129 132 float change = factor / this->timeFactor_; 130 133 this->timeFactor_ = factor; 131 for ( Iterator<ParticleInterface>it = ObjectList<ParticleInterface>::begin(); it; ++it)134 for (ObjectList<ParticleInterface>::iterator it = ObjectList<ParticleInterface>::begin(); it; ++it) 132 135 it->setSpeedFactor(it->getSpeedFactor() * change); 133 136 134 for ( Iterator<Backlight>it = ObjectList<Backlight>::begin(); it; ++it)137 for (ObjectList<Backlight>::iterator it = ObjectList<Backlight>::begin(); it; ++it) 135 138 it->setTimeFactor(timeFactor_); 136 139 }
Note: See TracChangeset
for help on using the changeset viewer.