Deprecate delayed execution functions

This commit is contained in:
jonpas 2016-05-22 15:25:59 +02:00
parent 391191241b
commit 472e4631d6
3 changed files with 6 additions and 0 deletions

View File

@ -13,6 +13,8 @@
*/
#include "script_component.hpp"
ACE_DEPRECATED("ace_common_fnc_execNextFrame","3.8.0","CBA_fnc_execNextFrame");
params ["_func", "_params"];
if (diag_frameno != GVAR(nextFrameNo)) then {

View File

@ -17,6 +17,8 @@
*/
#include "script_component.hpp"
ACE_DEPRECATED("ace_common_fnc_waitAndExecute","3.8.0","CBA_fnc_waitAndExecute");
params ["_func", "_params", "_delay"];
GVAR(waitAndExecArray) pushBack [ACE_time + _delay, _func, _params];

View File

@ -17,6 +17,8 @@
*/
#include "script_component.hpp"
ACE_DEPRECATED("ace_common_fnc_waitUntilAndExecute","3.8.0","CBA_fnc_waitUntilAndExecute");
TRACE_1("Adding",_this);
GVAR(waitUntilAndExecArray) pushBack _this;