core/TimerSys.h
changeset 1459 8132c2259758
parent 1415 edf4efe5707c
child 1462 c5feb60740cf
     1.1 --- a/core/TimerSys.h	Sun Sep 23 16:01:12 2007 +0000
     1.2 +++ b/core/TimerSys.h	Sun Sep 23 19:33:19 2007 +0000
     1.3 @@ -77,6 +77,8 @@
     1.4  	void MapTimeLeftChanged();
     1.5  	IMapTimer *SetMapTimer(IMapTimer *pTimer);
     1.6  	float GetTickedTime();
     1.7 +	void NotifyOfGameStart(float offset /* = 0.0f */);
     1.8 +	bool GetMapTimeLeft(float *pTime);
     1.9  public:
    1.10  	void RunFrame();
    1.11  	void MapChange(bool real_mapchange);
    1.12 @@ -96,12 +98,14 @@
    1.13  									*/
    1.14  
    1.15  	IForward *m_pOnGameFrame;
    1.16 +	IForward *m_pOnMapTimeLeftChanged;
    1.17  };
    1.18  
    1.19  time_t GetAdjustedTime(time_t *buf = NULL);
    1.20  
    1.21  extern const float *g_pUniversalTime;
    1.22  extern TimerSystem g_Timers;
    1.23 +extern int g_TimeLeftMode;
    1.24  
    1.25  #endif //_INCLUDE_SOURCEMOD_CTIMERSYS_H_
    1.26