ACE3/addons/ui/script_component.hpp

75 lines
1.8 KiB
C++
Raw Normal View History

#define COMPONENT ui
2016-06-20 09:41:17 +00:00
#define COMPONENT_BEAUTIFIED UI
#include "\z\ace\addons\main\script_mod.hpp"
2016-03-14 16:25:20 +00:00
// #define DEBUG_MODE_FULL
// #define DISABLE_COMPILE_CACHE
// #define CBA_DEBUG_SYNCHRONOUS
// #define ENABLE_PERFORMANCE_COUNTERS
#ifdef DEBUG_ENABLED_UI
#define DEBUG_MODE_FULL
#endif
#ifdef DEBUG_SETTINGS_UI
#define DEBUG_SETTINGS DEBUG_SETTINGS_UI
#endif
#include "\z\ace\addons\main\script_macros.hpp"
2015-10-28 22:23:02 +00:00
// Basic Elements
2016-07-05 21:06:44 +00:00
#define ELEMENTS_BASIC [QGVAR(soldierVehicleWeaponInfo), QGVAR(vehicleRadar), QGVAR(vehicleCompass), QGVAR(commandMenu), QGVAR(groupBar), QGVAR(squadRadar)]
2015-10-28 22:23:02 +00:00
// Locations
#define ANYWHERE 0
#define GROUND_ONLY 1
#define VEHICLE_ONLY 2
2015-10-28 22:23:02 +00:00
/*
RscUnitInfo = 300
--------------------
118 (Weapon Name / Gunner Weapon Name)
+ 1001 (Weapon Name Background 1/2 / Gunner Weapon Name Background 1/2)
+ 1008 (Weapon Name Background 2/2 / Gunner Weapon Name Background 2/2)
2015-10-28 22:23:02 +00:00
187 (Firing Mode / Gunner Firing Mode)
+ 1203 (Firing Mode Background / Gunner Firing Mode Background)
2015-10-28 22:23:02 +00:00
155 (Ammo Type / Gunner Ammo Type)
184 (Ammo Count / Gunner Ammo Count)
185 (Magazine Count / Gunner Magazine Count)
152 (Grenade/Flare Type / Launchable Type)
151 (Grenade/Flare Count / Launchable Count)
1202 (Lower Weapon Info Background / Gunner Lower Weapon Info Background)
168 (Zeroing / Gunner Zeroing)
2015-10-28 22:23:02 +00:00
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)
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
*/