Changeset 2846 for code/branches/gui/src/core/Core.cc
- Timestamp:
- Mar 25, 2009, 6:24:15 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/core/Core.cc
r2815 r2846 102 102 } 103 103 104 Clock* Core::initialise(int argc, char** argv) 105 { 106 // Set up a basic clock to keep time 107 this->gameClock_ = new Clock(); 108 104 void Core::initialise(int argc, char** argv) 105 { 109 106 // Parse command line arguments fist 110 107 try … … 175 172 176 173 this->loaded_ = true; 177 178 // Return non const pointer to the game's clock for the main loop179 return this->gameClock_;180 174 } 181 175 … … 199 193 // Also delete external console command that don't belong to an Identifier 200 194 CommandExecutor::destroyExternalCommands(); 201 202 delete this->gameClock_;203 195 204 196 assert(Core::singletonRef_s);
Note: See TracChangeset
for help on using the changeset viewer.