Applied virtual time acceleration to the master ACE_time. Created ACE_tickTime macro, to provide same-frame millisecond resolution.

This commit is contained in:
jaynus
2015-05-10 07:42:53 -07:00
parent 7fb7b04a85
commit 318b2437f9
3 changed files with 9 additions and 3 deletions

View File

@ -82,4 +82,8 @@
#define HASHLIST_SET(hashList, index, value) ([hashList, index, value, __FILE__, __LINE__] call EFUNC(common,hashListSet))
#define HASHLIST_PUSH(hashList, value) ([hashList, value, __FILE__, __LINE__] call EFUNC(common,hashListPush))
// Time functions for accuracy per frame
#define ACE_tickTime (ACE_tickTime + (diag_tickTime - ACE_tickTime))
#include "script_debug.hpp"