ACE3/addons/fire/RscTitles.hpp
Brandon Danyluk caca92f71d
Add Fire component (#8245)
* merge fire

* Change required addons. Change getPos to getPosASL. Remove include

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Kyle Mckay <kymckay.dev@gmail.com>

* Update addons/fire/stringtable.xml

Co-authored-by: jonpas <jonpas33@gmail.com>
Co-authored-by: Kyle Mckay <kymckay.dev@gmail.com>
2021-10-14 10:49:10 -05:00

42 lines
1.2 KiB
C++

class RscTitles {
class RscPicture;
class GVAR(onFire1) {
idd = -1;
movingEnable = "true";
duration = 0.1;
fadein = 0.15;
fadeout = 0.75;
name = QGVAR(onFire1);
onload = QUOTE(with uiNamespace do {GVAR(onFireIndicator1) = _this select 0});
class controls {
class GVAR(indicator): RscPicture {
idc = -1;
type = 0;
style = 48;
colorBackground[] = {0, 0, 0, 0};
colorText[] = {0.9, 0.9, 0.9, 0.6};
font = "LucidaConsoleB";
sizeEx = 0.023;
x = "SafeZoneX";
y = "SafeZoneY";
w = "SafeZoneW + 0.05";
h = "SafeZoneH + 0.05";
text = PATHTOF(data\overlay_burn_1.paa);
};
};
};
class GVAR(onFire2): GVAR(onFire1) {
idd = -1;
name = QGVAR(onFire2);
onload = QUOTE(with uiNamespace do {GVAR(onFireIndicator2) = _this select 0});
class controls: controls {
class GVAR(indicator): GVAR(indicator) {
text = PATHTOF(data\overlay_burn_2.paa);
};
};
};
};