Merge branch 'vehicledamage' of https://github.com/acemod/ACE3 into vehicledamage

This commit is contained in:
Nou 2015-05-16 09:27:37 -07:00
commit 4e47a7b526
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;