Changeset 3349 for code/branches/resource/src/orxonox/gamestates/GSRoot.cc
- Timestamp:
- Jul 25, 2009, 2:14:05 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/resource/src/orxonox/gamestates/GSRoot.cc
r3340 r3349 45 45 namespace orxonox 46 46 { 47 DeclareGameState(GSRoot, "root", true, false);47 DeclareGameState(GSRoot, "root", false, false); 48 48 SetCommandLineSwitch(console).information("Start in console mode (text IO only)"); 49 49 // Shortcuts for easy direct loading … … 155 155 } 156 156 157 uint64_t timeBeforeTick = time.getRealMicroseconds();158 159 157 for (ObjectList<TimerBase>::iterator it = ObjectList<TimerBase>::begin(); it; ++it) 160 158 it->tick(time); … … 171 169 it->tick(leveldt * this->timeFactor_); 172 170 /*** HACK *** HACK ***/ 173 174 uint64_t timeAfterTick = time.getRealMicroseconds();175 176 // Also add our tick time177 Game::getInstance().addTickTime(timeAfterTick - timeBeforeTick);178 171 } 179 172
Note: See TracChangeset
for help on using the changeset viewer.