Changeset 3084 for code/trunk/src/core/Game.cc
- Timestamp:
- May 26, 2009, 9:20:57 PM (16 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/core/Game.cc
r3037 r3084 185 185 for (std::vector<GameState*>::const_iterator it = this->activeStates_.begin(); 186 186 it != this->activeStates_.end(); ++it) 187 { 188 // Add tick time for most of the states 189 uint64_t timeBeforeTick; 190 if ((*it)->getCountTickTime()) 191 timeBeforeTick = this->gameClock_->getRealMicroseconds(); 192 187 193 (*it)->update(*this->gameClock_); 194 195 if ((*it)->getCountTickTime()) 196 this->addTickTime(this->gameClock_->getRealMicroseconds() - timeBeforeTick); 197 } 188 198 189 199 // STATISTICS
Note: See TracChangeset
for help on using the changeset viewer.