1.1 --- a/core/TimerSys.h Wed May 02 21:00:13 2007 +0000
1.2 +++ b/core/TimerSys.h Wed May 02 22:35:51 2007 +0000
1.3 @@ -27,6 +27,13 @@
1.4 typedef List<ITimer *> TimerList;
1.5 typedef List<ITimer *>::iterator TimerIter;
1.6
1.7 +struct TickInfo
1.8 +{
1.9 + bool ticking; /* true=game is ticking, false=we're ticking */
1.10 + unsigned int tickcount; /* number of simulated ticks we've done */
1.11 + float ticktime; /* tick time we're maintaining */
1.12 +};
1.13 +
1.14 class SourceMod::ITimer
1.15 {
1.16 public:
1.17 @@ -64,5 +71,6 @@
1.18 };
1.19
1.20 extern TimerSystem g_Timers;
1.21 +extern TickInfo g_SimTicks;
1.22
1.23 #endif //_INCLUDE_SOURCEMOD_CTIMERSYS_H_