Debug rendering functionality helper functions.

This commit is contained in:
jaynus 2015-05-16 09:14:16 -07:00
parent 6ce393e8fc
commit 9b1b38bc85
4 changed files with 13 additions and 2 deletions

View File

@ -14,8 +14,9 @@ GVAR(ready) = false;
#ifdef DEBUG_LOG_EXTENSION
GVAR(debug_log) = [];
PREP(exportLogClipboard);
PREP(exportLogFile);
PREP(debug_exportLogClipboard);
PREP(debug_exportLogFile);
PREP(debug_animateCurrentVehicle);
#endif
#ifdef DEBUG_EXTENSION_DYNLOAD
// This value is used for debug loading of the extension with dynload

View File

@ -0,0 +1,10 @@
#include "script_component.hpp"
"debug_render:" call FUNC(callExtension);
_animateCurrentVehicleWorker = {
if( (vehicle ACE_player) != ACE_player) then {
[(vehicle ACE_player), true] call FUNC(getAnimationStates);
};
};
[_animateCurrentVehicleWorker, 0, []] call CBA_fnc_addPerFrameHandler;