Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 25, 2009, 6:24:15 PM (15 years ago)
Author:
rgrieder
Message:

Moving game clock from Core to Game.
Other small fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gui/src/core/Core.cc

    r2815 r2846  
    102102    }
    103103
    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    {
    109106        // Parse command line arguments fist
    110107        try
     
    175172       
    176173        this->loaded_ = true;
    177 
    178         // Return non const pointer to the game's clock for the main loop
    179         return this->gameClock_;
    180174    }
    181175
     
    199193        // Also delete external console command that don't belong to an Identifier
    200194        CommandExecutor::destroyExternalCommands();
    201 
    202         delete this->gameClock_;
    203195
    204196        assert(Core::singletonRef_s);
Note: See TracChangeset for help on using the changeset viewer.