Changeset 1591 for code/branches/core3/src/orxonox/Orxonox.cc
- Timestamp:
- Jun 12, 2008, 2:00:15 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core3/src/orxonox/Orxonox.cc
r1586 r1591 54 54 // core 55 55 #include "core/ConfigFileManager.h" 56 #include "core/Iterator.h" 56 57 #include "core/ConsoleCommand.h" 57 58 #include "core/Loader.h" … … 75 76 #include "GraphicsEngine.h" 76 77 #include "Settings.h" 78 77 79 78 80 // FIXME: is this really file scope? … … 169 171 Orxonox::getSingleton()->timefactor_ = factor; 170 172 171 for ( Iterator<ParticleInterface>it = ObjectList<ParticleInterface>::begin(); it; ++it)173 for (ObjectList<ParticleInterface>::iterator it = ObjectList<ParticleInterface>::begin(); it; ++it) 172 174 it->setSpeedFactor(it->getSpeedFactor() * change); 173 175 } … … 462 464 Core::tick((float)evt.timeSinceLastFrame); 463 465 // Call those objects that need the real time 464 for ( Iterator<TickableReal>it = ObjectList<TickableReal>::begin(); it; ++it)466 for (ObjectList<TickableReal>::iterator it = ObjectList<TickableReal>::begin(); it; ++it) 465 467 it->tick((float)evt.timeSinceLastFrame); 466 468 // Call the scene objects 467 for ( Iterator<Tickable>it = ObjectList<Tickable>::begin(); it; ++it)469 for (ObjectList<Tickable>::iterator it = ObjectList<Tickable>::begin(); it; ++it) 468 470 it->tick((float)evt.timeSinceLastFrame * this->timefactor_); 469 471 //AudioManager::tick();
Note: See TracChangeset
for help on using the changeset viewer.