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.h

    r2807 r2846  
    4545#include "util/OutputHandler.h"
    4646
    47 // Only allow main to access postMainInitialisation, so we need a forward declaration
    48 int main(int, char**);
    4947// boost::filesystem header has quite a large tail, use forward declaration
    5048namespace boost { namespace filesystem
     
    6462            ~Core();
    6563
    66             Clock* initialise(int argc, char** argv);
     64            void initialise(int argc, char** argv);
    6765            void setConfigValues();
    6866
     
    7573            static const std::string& getLanguage();
    7674            static void  resetLanguage();
    77 
    78             static const Clock& getGameClock() { return *getInstance().gameClock_; }
    7975
    8076            static void tsetMediaPath(const std::string& path)
     
    123119            TclThreadManager*     tclThreadManager_;
    124120
    125             Clock*                gameClock_;
    126 
    127121            int softDebugLevel_;                            //!< The debug level
    128122            int softDebugLevelConsole_;                     //!< The debug level for the console
Note: See TracChangeset for help on using the changeset viewer.