2015-05-16 13:28:59 +00:00
|
|
|
#define COMPONENT ui
|
2015-09-05 20:00:51 +00:00
|
|
|
#include "\z\ace\addons\main\script_mod.hpp"
|
2015-05-16 13:28:59 +00:00
|
|
|
|
2016-03-14 16:25:20 +00:00
|
|
|
// #define DEBUG_MODE_FULL
|
|
|
|
// #define DISABLE_COMPILE_CACHE
|
2016-01-29 05:26:02 +00:00
|
|
|
// #define CBA_DEBUG_SYNCHRONOUS
|
|
|
|
// #define ENABLE_PERFORMANCE_COUNTERS
|
|
|
|
|
2015-05-16 13:28:59 +00:00
|
|
|
#ifdef DEBUG_ENABLED_UI
|
|
|
|
#define DEBUG_MODE_FULL
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef DEBUG_SETTINGS_UI
|
|
|
|
#define DEBUG_SETTINGS DEBUG_SETTINGS_UI
|
|
|
|
#endif
|
|
|
|
|
2015-09-05 20:00:51 +00:00
|
|
|
#include "\z\ace\addons\main\script_macros.hpp"
|
2015-10-28 22:23:02 +00:00
|
|
|
|
|
|
|
|
|
|
|
// Elements
|
|
|
|
#define ELEMENTS_BASIC [QGVAR(soldierVehicleWeaponInfo), QGVAR(vehicleRadar), QGVAR(vehicleCompass), QGVAR(commandMenu), QGVAR(groupBar)]
|
|
|
|
|
2016-03-08 17:40:23 +00:00
|
|
|
// IDD, IDC, Element (must be string to compare to changed setting name)
|
2015-10-28 22:23:02 +00:00
|
|
|
#define ELEMENTS_ADVANCED [ \
|
2016-03-08 17:40:23 +00:00
|
|
|
[300, [118], QGVAR(weaponName)], \
|
|
|
|
[300, [1001, 1008], QGVAR(weaponNameBackground)], \
|
|
|
|
[300, [187, 1203], QGVAR(firingMode)], \
|
|
|
|
[300, [155], QGVAR(ammoType)], \
|
|
|
|
[300, [184], QGVAR(ammoCount)], \
|
|
|
|
[300, [185], QGVAR(magCount)], \
|
|
|
|
[300, [152], QGVAR(throwableName)], \
|
|
|
|
[300, [151], QGVAR(throwableCount)], \
|
|
|
|
[300, [1202], QGVAR(weaponLowerInfoBackground)], \
|
|
|
|
[300, [168], QGVAR(zeroing)], \
|
2016-03-09 17:58:46 +00:00
|
|
|
[305, [193], QGVAR(staminaBar)], \
|
2016-03-08 17:40:23 +00:00
|
|
|
[303, [188, 1201], QGVAR(stance)], \
|
|
|
|
[300, [120], QGVAR(vehicleName)], \
|
|
|
|
[300, [1000, 1013], QGVAR(vehicleNameBackground)], \
|
|
|
|
[300, [113, 1202], QGVAR(vehicleFuelBar)], \
|
|
|
|
[300, [121, 1004, 1006], QGVAR(vehicleSpeed)], \
|
|
|
|
[300, [122, 1005, 1014], QGVAR(vehicleAltitude)], \
|
|
|
|
[300, [111], QGVAR(vehicleDamage)], \
|
|
|
|
[300, [1200], QGVAR(vehicleInfoBackground)], \
|
|
|
|
[300, [150], QGVAR(vehicleGunnerWeapon)] \
|
2015-10-28 22:23:02 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
RscUnitInfo = 300
|
|
|
|
--------------------
|
|
|
|
118 (Weapon Name)
|
|
|
|
+ 1001 (Weapon Name Background 1/2)
|
|
|
|
+ 1008 (Weapon Name Background 2/2)
|
|
|
|
|
|
|
|
187 (Firing Mode)
|
|
|
|
+ 1203 (Firing Mode Background)
|
|
|
|
|
|
|
|
155 (Ammo Type)
|
|
|
|
184 (Ammo Count) - disabled in config by ace_reload
|
|
|
|
185 (Magazine Count)
|
|
|
|
152 (Grenade/Flare Type)
|
|
|
|
151 (Grenade/Flare Count)
|
|
|
|
1202 (Lower Weapon Info Background)
|
|
|
|
168 (Zeroing)
|
|
|
|
|
|
|
|
|
|
|
|
120 (Vehicle Name)
|
|
|
|
1000 (Vehicle Name Background 1/2)
|
|
|
|
+ 1013 (Vehicle Name Background 2/2)
|
|
|
|
|
|
|
|
113 (Vehicle Fuel Bar)
|
|
|
|
+ 1202 (Vehicle Fuel Bar Background)
|
|
|
|
|
|
|
|
121 (Vehicle Speed Number)
|
|
|
|
+ 1004 (Vehicle Speed Unit)
|
|
|
|
+ 1006 (Vehicle Speed Background)
|
|
|
|
122 (Vehicle Altitude Number)
|
|
|
|
+ 1005 (Vehicle Altitude Units)
|
|
|
|
+ 1014 (Vehicle Altitude Background)
|
|
|
|
111 (Vehicle Damage)
|
|
|
|
1200 (Vehicle Info Background)
|
|
|
|
|
|
|
|
150 (Vehicle Gunner Weapon)
|
|
|
|
|
|
|
|
|
|
|
|
RscStanceInfo = 303
|
|
|
|
--------------------
|
|
|
|
188 (Stance)
|
|
|
|
+ 1201 (Stance Background)
|
2016-03-09 17:58:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
RscStaminaBar = 305
|
|
|
|
--------------------
|
|
|
|
193 (Stamina Bar)
|
2015-10-28 22:23:02 +00:00
|
|
|
*/
|