Skip to content

Commit

Permalink
postInit -> XEH
Browse files Browse the repository at this point in the history
  • Loading branch information
OverlordZorn committed Jan 4, 2025
1 parent 978e5cf commit 4c2dad8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 20 deletions.
7 changes: 6 additions & 1 deletion addons/wardrobe/CfgEventHandlers.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
// No need to change anything here
class Extended_PreInit_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_FILE(XEH_preInit));
};
};

class Extended_PostInit_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_SCRIPT(XEH_postInit));
};
};
1 change: 0 additions & 1 deletion addons/wardrobe/XEH_PREP.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
PREP(postInit);
PREP(isModifiable);
PREP(compare_components);
PREP(canModifyTo);
Expand Down
3 changes: 3 additions & 0 deletions addons/wardrobe/XEH_postInit.sqf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "script_component.hpp"

[ QGVAR(EH_say3d), FUNC(say3d) ] call CBA_fnc_addEventHandler;
18 changes: 0 additions & 18 deletions addons/wardrobe/functions/fnc_postInit.sqf

This file was deleted.

0 comments on commit 4c2dad8

Please sign in to comment.