Add dev macro to quickly recompile functions (#4699)

This commit is contained in:
PabstMirror 2016-11-23 13:35:25 -06:00 committed by GitHub
parent fbcdd8ad35
commit a3c50a6c76
91 changed files with 198 additions and 0 deletions

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,7 +2,9 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
//#include "initSettings.sqf" //#include "initSettings.sqf"
GVAR(staminaBarWidth) = 10 * (((safezoneW / safezoneH) min 1.2) / 40); GVAR(staminaBarWidth) = 10 * (((safezoneW / safezoneH) min 1.2) / 40);

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,7 +2,9 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
GVAR(captivityEnabled) = false; GVAR(captivityEnabled) = false;

View File

@ -2,7 +2,9 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
GVAR(initializedItemClasses) = []; GVAR(initializedItemClasses) = [];
GVAR(initializedVehicleClasses) = []; GVAR(initializedVehicleClasses) = [];

View File

@ -3,6 +3,8 @@
ADDON = false; ADDON = false;
LOG(MSG_INIT); LOG(MSG_INIT);
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -3,7 +3,9 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
GVAR(syncedEvents) = [] call CBA_fnc_hashCreate; GVAR(syncedEvents) = [] call CBA_fnc_hashCreate;
GVAR(showHudHash) = [] call CBA_fnc_hashCreate; GVAR(showHudHash) = [] call CBA_fnc_hashCreate;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,7 +2,9 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
GVAR(disabledFactions) = [] call CBA_fnc_createNamespace; GVAR(disabledFactions) = [] call CBA_fnc_createNamespace;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -17,7 +17,9 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
if (isServer) then { if (isServer) then {
GVAR(explosivesOrientations) = [] GVAR(explosivesOrientations) = []

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,7 +2,9 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
GVAR(replacedBisArtyWrapper) = true; GVAR(replacedBisArtyWrapper) = true;
GVAR(blackList) = []; GVAR(blackList) = [];

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,7 +2,9 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
GVAR(GForces) = []; GVAR(GForces) = [];
GVAR(GForces_Index) = 0; GVAR(GForces_Index) = 0;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,7 +2,9 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
// restore gunbag info after respawn // restore gunbag info after respawn
["CAManBase", "respawn", { ["CAManBase", "respawn", {

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,7 +2,9 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
GVAR(ActNamespace) = [] call CBA_fnc_createNamespace; GVAR(ActNamespace) = [] call CBA_fnc_createNamespace;
GVAR(ActSelfNamespace) = [] call CBA_fnc_createNamespace; GVAR(ActSelfNamespace) = [] call CBA_fnc_createNamespace;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,7 +2,9 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
GVAR(isLockKeyDown) = false; GVAR(isLockKeyDown) = false;
GVAR(pfehID) = -1; GVAR(pfehID) = -1;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,7 +2,9 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
// Laser default variables // Laser default variables
ACE_DEFAULT_LASER_CODE = 1111; ACE_DEFAULT_LASER_CODE = 1111;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -1,3 +1,20 @@
/**
Fast Recompiling via function
**/
// #define DISABLE_COMPILE_CACHE
// To Use: [] call ACE_PREP_RECOMPILE;
#ifdef DISABLE_COMPILE_CACHE
#define LINKFUNC(x) {_this call FUNC(x)}
#define PREP_RECOMPILE_START if (isNil "ACE_PREP_RECOMPILE") then {ACE_RECOMPILES = []; ACE_PREP_RECOMPILE = {{call _x} forEach ACE_RECOMPILES;}}; private _recomp = {
#define PREP_RECOMPILE_END }; call _recomp; ACE_RECOMPILES pushBack _recomp;
#else
#define LINKFUNC(x) FUNC(x)
#define PREP_RECOMPILE_START /* */
#define PREP_RECOMPILE_END /* */
#endif
/** /**
STACK TRACING STACK TRACING
**/ **/
@ -23,6 +40,7 @@ STACK TRACING
PERFORMANCE COUNTERS SECTION PERFORMANCE COUNTERS SECTION
**/ **/
//#define ENABLE_PERFORMANCE_COUNTERS //#define ENABLE_PERFORMANCE_COUNTERS
// To Use: [] call ace_common_fnc_dumpPerformanceCounters;
#ifdef ENABLE_PERFORMANCE_COUNTERS #ifdef ENABLE_PERFORMANCE_COUNTERS
#define CBA_fnc_addPerFrameHandler { _ret = [(_this select 0), (_this select 1), (_this select 2), #function] call CBA_fnc_addPerFrameHandler; if(isNil "ACE_PFH_COUNTER" ) then { ACE_PFH_COUNTER=[]; }; ACE_PFH_COUNTER pushBack [[_ret, __FILE__, __LINE__], [(_this select 0), (_this select 1), (_this select 2)]]; _ret } #define CBA_fnc_addPerFrameHandler { _ret = [(_this select 0), (_this select 1), (_this select 2), #function] call CBA_fnc_addPerFrameHandler; if(isNil "ACE_PFH_COUNTER" ) then { ACE_PFH_COUNTER=[]; }; ACE_PFH_COUNTER pushBack [[_ret, __FILE__, __LINE__], [(_this select 0), (_this select 1), (_this select 2)]]; _ret }

View File

@ -3,6 +3,8 @@
ADDON = false; ADDON = false;
LOG(MSG_INIT); LOG(MSG_INIT);
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,7 +2,9 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
GVAR(GroupColorCfgMappingNew) = call CBA_fnc_createNamespace; GVAR(GroupColorCfgMappingNew) = call CBA_fnc_createNamespace;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,7 +2,9 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
// init marker types // init marker types
if (isNil QGVAR(MarkersCache)) then { if (isNil QGVAR(MarkersCache)) then {

View File

@ -2,7 +2,9 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
GVAR(injuredUnitCollection) = []; GVAR(injuredUnitCollection) = [];

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,7 +2,9 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
// blood object model namespace // blood object model namespace
GVAR(models) = [] call CBA_fnc_createNamespace; GVAR(models) = [] call CBA_fnc_createNamespace;

View File

@ -2,7 +2,9 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
GVAR(INTERACTION_TARGET) = objNull; GVAR(INTERACTION_TARGET) = objNull;
GVAR(actionsOther) = []; GVAR(actionsOther) = [];

View File

@ -2,7 +2,9 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
//Functions that are called for each draw of the map: //Functions that are called for each draw of the map:
GVAR(miniMapDrawHandlers) = []; GVAR(miniMapDrawHandlers) = [];

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,7 +2,9 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
GVAR(moduleInitCollection) = []; GVAR(moduleInitCollection) = [];

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,7 +2,9 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
GVAR(clientSideOptions) = []; GVAR(clientSideOptions) = [];
GVAR(clientSideColors) = []; GVAR(clientSideColors) = [];

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -17,6 +17,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -3,6 +3,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,7 +2,9 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
["ACE_RepairItem_Base", "killed", { ["ACE_RepairItem_Base", "killed", {
params ["_object"]; params ["_object"];

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,7 +2,9 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
GVAR(slideshows) = 0; GVAR(slideshows) = 0;

View File

@ -2,7 +2,9 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
// Reset the stored display // Reset the stored display
SETUVAR(GVAR(interface),displayNull); SETUVAR(GVAR(interface),displayNull);

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,7 +2,9 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
GVAR(cachedTags) = []; GVAR(cachedTags) = [];
GVAR(cachedRequiredItems) = []; GVAR(cachedRequiredItems) = [];

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,7 +2,9 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
GVAR(interfaceInitialized) = false; GVAR(interfaceInitialized) = false;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,7 +2,9 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
// collect frag and other grenades separately // collect frag and other grenades separately
GVAR(GrenadesAll) = []; GVAR(GrenadesAll) = [];

View File

@ -3,7 +3,9 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
// Make sure this data is read before client/server postInit // Make sure this data is read before client/server postInit
call FUNC(getMapData); call FUNC(getMapData);

View File

@ -12,6 +12,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,6 +2,8 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true; ADDON = true;

View File

@ -2,7 +2,9 @@
ADDON = false; ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp" #include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
if (isServer) then { if (isServer) then {
[QGVAR(zeusUnitAssigned), FUNC(handleZeusUnitAssigned)] call CBA_fnc_addEventHandler; [QGVAR(zeusUnitAssigned), FUNC(handleZeusUnitAssigned)] call CBA_fnc_addEventHandler;