mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
I need more coffee. this should be more accurate.
This commit is contained in:
@ -316,7 +316,7 @@ if (hasInterface) then {
|
|||||||
ACE_time = diag_tickTime;
|
ACE_time = diag_tickTime;
|
||||||
ACE_realTime = diag_tickTime;
|
ACE_realTime = diag_tickTime;
|
||||||
ACE_virtualTime = diag_tickTime;
|
ACE_virtualTime = diag_tickTime;
|
||||||
ACE_tickTime = diag_tickTime;
|
ACE_diagTime = diag_tickTime;
|
||||||
ACE_gameTime = time;
|
ACE_gameTime = time;
|
||||||
|
|
||||||
PREP(timePFH);
|
PREP(timePFH);
|
||||||
|
@ -7,9 +7,9 @@ _lastRealTime = ACE_realTime;
|
|||||||
_lastGameTime = ACE_gameTime;
|
_lastGameTime = ACE_gameTime;
|
||||||
|
|
||||||
ACE_gameTime = time;
|
ACE_gameTime = time;
|
||||||
ACE_tickTime = diag_tickTime;
|
ACE_diagTime = diag_tickTime;
|
||||||
|
|
||||||
_delta = ACE_tickTime - _lastRealTime;
|
_delta = ACE_diagTime - _lastRealTime;
|
||||||
if(ACE_gameTime <= _lastGameTime) then {
|
if(ACE_gameTime <= _lastGameTime) then {
|
||||||
ACE_paused = true;
|
ACE_paused = true;
|
||||||
// Game is paused or not running
|
// Game is paused or not running
|
||||||
|
@ -83,7 +83,7 @@
|
|||||||
#define HASHLIST_PUSH(hashList, value) ([hashList, value, __FILE__, __LINE__] call EFUNC(common,hashListPush))
|
#define HASHLIST_PUSH(hashList, value) ([hashList, value, __FILE__, __LINE__] call EFUNC(common,hashListPush))
|
||||||
|
|
||||||
// Time functions for accuracy per frame
|
// Time functions for accuracy per frame
|
||||||
#define ACE_tickTime (ACE_tickTime + (diag_tickTime - ACE_tickTime))
|
#define ACE_tickTime (ACE_diagTime + (diag_tickTime - ACE_diagTime))
|
||||||
|
|
||||||
|
|
||||||
#include "script_debug.hpp"
|
#include "script_debug.hpp"
|
Reference in New Issue
Block a user