mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Cleanup transistion to CBA's waitAndExec (#3858)
This commit is contained in:
parent
4c995d4c5c
commit
68d6c1969b
@ -23,13 +23,6 @@ DFUNC(selectWeaponMode) = {
|
||||
GVAR(syncedEvents) = HASH_CREATE;
|
||||
GVAR(showHudHash) = [] call FUNC(hashCreate);
|
||||
|
||||
//GVARS for execNextFrame and waitAndExec and waitUntilAndExecute
|
||||
GVAR(waitAndExecArray) = [];
|
||||
GVAR(nextFrameNo) = diag_frameno;
|
||||
GVAR(nextFrameBufferA) = [];
|
||||
GVAR(nextFrameBufferB) = [];
|
||||
GVAR(waitUntilAndExecArray) = [];
|
||||
|
||||
GVAR(settingsInitFinished) = false;
|
||||
GVAR(runAtSettingsInitialized) = [];
|
||||
|
||||
|
@ -13,4 +13,4 @@
|
||||
|
||||
// MINIMAL required version for the Mod. Components can specify others..
|
||||
#define REQUIRED_VERSION 1.56
|
||||
#define REQUIRED_CBA_VERSION {2,3,1}
|
||||
#define REQUIRED_CBA_VERSION {2,4,0}
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
private ["_var", "_unit", "_outputText", "_text"];
|
||||
|
||||
#define MIN_ARRAY_SIZE 10
|
||||
#define MIN_ARRAY_SIZE 50
|
||||
|
||||
_outputText = {
|
||||
diag_log text (_this select 0);
|
||||
@ -30,12 +30,20 @@ time = %1
|
||||
|
||||
------Performance------
|
||||
diag_fps = %2
|
||||
count ace_common_waitAndExecArray = %3
|
||||
count cba_common_perFrameHandlerArray = %4 (max %5)
|
||||
count diag_activeSQFScripts = %6
|
||||
count diag_activeSQSScripts = %7
|
||||
count diag_activeMissionFSMs = %8",
|
||||
time, diag_fps, count ace_common_waitAndExecArray, {!isNil "_x"} count cba_common_perFrameHandlerArray, count cba_common_perFrameHandlerArray, count diag_activeSQFScripts, count diag_activeSQSScripts,count diag_activeMissionFSMs];
|
||||
count cba_common_waitAndExecArray = %3
|
||||
count cba_common_waitUntilAndExecArray = %4
|
||||
count cba_common_perFrameHandlerArray = %5 (max %6)
|
||||
count diag_activeSQFScripts = %7
|
||||
count diag_activeSQSScripts = %8
|
||||
count diag_activeMissionFSMs = %9",
|
||||
time,
|
||||
diag_fps,
|
||||
count cba_common_waitAndExecArray,
|
||||
count cba_common_waitUntilAndExecArray,
|
||||
{!isNil "_x"} count cba_common_perFrameHandlerArray, count cba_common_perFrameHandlerArray,
|
||||
count diag_activeSQFScripts,
|
||||
count diag_activeSQSScripts,
|
||||
count diag_activeMissionFSMs];
|
||||
[_text] call _outputText;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user