-
Notifications
You must be signed in to change notification settings - Fork 123
Expand file tree
/
Copy pathXEH_preInit.sqf
More file actions
44 lines (32 loc) · 1.1 KB
/
XEH_preInit.sqf
File metadata and controls
44 lines (32 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#include "script_component.hpp"
ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
#include "initSettings.sqf"
// Define caches to save repetitive config lookups.
GVAR(radioUniqueCache) = HASH_CREATE;
GVAR(radioBaseClassCache) = HASH_CREATE;
GVAR(radioIsBaseClassCache) = HASH_CREATE;
if (hasInterface) then {
//DGVAR(workingRadioList) = [];
DGVAR(currentRadioList) = [];
// Addition for compat: Compat features / remote features can add a radio here.
// TODO: not managed by monitorRadios yet
DGVAR(auxRadioList) = [];
DGVAR(pendingClaim) = 0;
DGVAR(replacementRadioIdList) = [];
// handler callbacks
//DGVAR(radioListHandlers) = [];
//DGVAR(lostRadioHandlers) = [];
//DGVAR(gotRadioHandlers) = [];
DGVAR(currentRadioDialog) = "";
DVAR(ACRE_ACTIVE_RADIO) = "";
DVAR(ACRE_SPECTATOR_RADIOS) = [];
// this isn't used anymore i do not think?
// acre_player setVariable [QGVAR(currentRadioList), []];
if (isNil QGVAR(defaultItemRadioType)) then {
GVAR(defaultItemRadioType) = "ACRE_PRC343";
};
};
ADDON = true;