Changeset 7870 for code/trunk/src/libraries/core/Core.cc
- Timestamp:
- Feb 12, 2011, 7:24:16 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/core/Core.cc
r7868 r7870 94 94 , bGraphicsLoaded_(false) 95 95 , bStartIOConsole_(true) 96 , lastLevelTimestamp_(0) 97 , ogreConfigTimestamp_(0) 96 98 { 97 99 // Set the hard coded fixed paths … … 221 223 SetConfigValue(bStartIOConsole_, true) 222 224 .description("Set to false if you don't want to use the IOConsole (for Lua debugging for instance)"); 225 SetConfigValue(lastLevelTimestamp_, 0) 226 .description("Timestamp when the last level was started."); 227 SetConfigValue(ogreConfigTimestamp_, 0) 228 .description("Timestamp when the ogre config file was changed."); 223 229 } 224 230 … … 395 401 } 396 402 } 403 404 void Core::updateLastLevelTimestamp() 405 { 406 ModifyConfigValue(lastLevelTimestamp_, set, static_cast<long long>(time(NULL))); 407 } 408 409 void Core::updateOgreConfigTimestamp() 410 { 411 ModifyConfigValue(ogreConfigTimestamp_, set, static_cast<long long>(time(NULL))); 412 } 397 413 }
Note: See TracChangeset
for help on using the changeset viewer.