ACE3/addons/nightvision/RscTitles.hpp
PabstMirror 4b42eb4385
ST Nightvision Effects (#4694)
* Merge ST Nightvision

* Cleanup

* Header cleanup

* Add ace setting for fog

* Cleanup debug

* Manual merge refuel changes

* Add new setting for effect scaling

* Cleanup

* Use ace_common_fnc_getZoom

* Fix compat inheritance changes

* Fix stringtable

* Add category

* Tidy function headers

* Replace global event with remote event
2017-12-06 13:15:33 -06:00

42 lines
1.2 KiB
C++

class RscPicture;
class RscText;
class RscTitles {
class GVAR(title) {
idd = 10777;
movingEnable = 1;
enableSimulation = 1;
enableDisplay = 1;
onLoad = QUOTE(with uiNamespace do {GVAR(titleDisplay) = _this select 0};);
onunLoad = "";
duration = 999999;
fadein = 0;
fadeout = 0;
class controls {
class Hexes: RscPicture {
idc = 1000;
};
class Mask: RscPicture {
idc = 1001;
};
// Add blinders for side monitors for tripple monitors (mask won't cover them)
class trippleHeadLeft: RscPicture {
idc = 1002;
text = "#(argb,8,8,3)color(0,0,0,1)";
x = "safeZoneXAbs";
Y = "safezoneY";
W = "(safezoneX - safeZoneXAbs) * ((getResolution select 4)/(16/3))";
H = "safeZoneH";
};
class trippleHeadRight: trippleHeadLeft {
idc = 1003;
x = "safeZoneXAbs + safeZoneWAbs - (safezoneX - safeZoneXABS) * ((getResolution select 4)/(16/3))";
};
};
};
};