Move timer natives into logic binary (bug 4402, r=ds).

--HG--
rename : core/smn_timers.cpp => core/logic/smn_timers.cpp
This commit is contained in:
David Anderson
2010-05-13 01:47:12 -07:00
parent f4e22cb44c
commit a6ceb337b2
15 changed files with 102 additions and 51 deletions
+8 -1
View File
@@ -42,7 +42,7 @@
#include <IForwardSys.h>
#define SMINTERFACE_TIMERSYS_NAME "ITimerSys"
#define SMINTERFACE_TIMERSYS_VERSION 3
#define SMINTERFACE_TIMERSYS_VERSION 4
namespace SourceMod
{
@@ -203,6 +203,13 @@ namespace SourceMod
* @return True on success, false if no support.
*/
virtual bool GetMapTimeLeft(float *pTime) =0;
/**
* @brief Returns the interface for dealing with map time limits.
*
* @return Map timer interface.
*/
virtual IMapTimer *GetMapTimer() = 0;
};
}