This commit is contained in:
Paul 2000-12-20 22:46:12 +00:00
parent b56cd688ae
commit a9a9af96f5
8 changed files with 54 additions and 23 deletions

View file

@ -20,6 +20,7 @@
/*****************************************************************************/
class CScene
{
@ -48,8 +49,7 @@ public:
static void setNextScene( CScene *_nextScene );
inline static long int getTimeSinceLast() {return s_timeSinceLast;}
inline static long int getFramesSinceLast() {return (s_timeSinceLast>>12)+1;}
inline static long int getFramesSinceLast() {return s_framesSinceLast;}
static void setTimeSpeed( int speed );
@ -67,7 +67,7 @@ private:
GameState();
static void updateTimer();
static int s_timeSinceLast;
static int s_framesSinceLast;
};