mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Debug rendering functionality helper functions.
This commit is contained in:
parent
6ce393e8fc
commit
9b1b38bc85
@ -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
|
||||
|
@ -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;
|
Loading…
Reference in New Issue
Block a user