Convert all true/false in configs to 0/1 (#8095)

This commit is contained in:
PabstMirror 2021-02-07 21:14:45 -06:00 committed by GitHub
parent 7a65acdc15
commit b50a49c287
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 12 additions and 14 deletions

View File

@ -2,7 +2,7 @@
class GVAR(menu) { class GVAR(menu) {
idd = 314614; idd = 314614;
movingEnable = true; movingEnable = 1;
onLoad = QUOTE([_this select 0] call FUNC(onMenuOpen)); onLoad = QUOTE([_this select 0] call FUNC(onMenuOpen));
onUnload = QUOTE(uiNamespace setVariable [ARR_2(QUOTE(QGVAR(menuDisplay)),nil)];); onUnload = QUOTE(uiNamespace setVariable [ARR_2(QUOTE(QGVAR(menuDisplay)),nil)];);
class controlsBackground { class controlsBackground {

View File

@ -8,14 +8,12 @@ class Extended_PreStart_EventHandlers {
class Extended_PreInit_EventHandlers { class Extended_PreInit_EventHandlers {
class ADDON { class ADDON {
init = QUOTE(call COMPILE_FILE(XEH_preInit)); init = QUOTE(call COMPILE_FILE(XEH_preInit));
disableModuload = true;
}; };
}; };
class Extended_PostInit_EventHandlers { class Extended_PostInit_EventHandlers {
class ADDON { class ADDON {
init = QUOTE(call COMPILE_FILE(XEH_postInit)); init = QUOTE(call COMPILE_FILE(XEH_postInit));
disableModuload = true;
}; };
}; };

View File

@ -23,7 +23,7 @@ class RscTitles {
class ACE_RscHint { class ACE_RscHint {
idd = -1; idd = -1;
onLoad = "uiNamespace setVariable ['ACE_ctrlHint', (_this select 0) displayCtrl 1];"; onLoad = "uiNamespace setVariable ['ACE_ctrlHint', (_this select 0) displayCtrl 1];";
movingEnable = false; movingEnable = 0;
duration = 4; duration = 4;
fadeIn = 0.2; fadeIn = 0.2;
fadeOut = 0.2; fadeOut = 0.2;
@ -48,7 +48,7 @@ class RscTitles {
class ACE_RscErrorHint { class ACE_RscErrorHint {
idd = -1; idd = -1;
onLoad = "uiNamespace setVariable ['ACE_ctrlErrorHint', (_this select 0) displayCtrl 1];"; onLoad = "uiNamespace setVariable ['ACE_ctrlErrorHint', (_this select 0) displayCtrl 1];";
movingEnable = false; movingEnable = 0;
duration = 999999; duration = 999999;
fadeIn = 0.2; fadeIn = 0.2;
fadeOut = 0.2; fadeOut = 0.2;

View File

@ -1,6 +1,6 @@
class GVAR(ProgressBar_Dialog) { class GVAR(ProgressBar_Dialog) {
idd = -1; idd = -1;
movingEnable = false; movingEnable = 0;
onLoad = QUOTE(uiNamespace setVariable [ARR_2(QUOTE(QGVAR(ctrlProgressBG)),(_this select 0) displayCtrl 1)]; uiNamespace setVariable [ARR_2(QUOTE(QGVAR(ctrlProgressBar)),(_this select 0) displayCtrl 2)]; uiNamespace setVariable [ARR_2(QUOTE(QGVAR(ctrlProgressBarTitle)),(_this select 0) displayCtrl 3)];); onLoad = QUOTE(uiNamespace setVariable [ARR_2(QUOTE(QGVAR(ctrlProgressBG)),(_this select 0) displayCtrl 1)]; uiNamespace setVariable [ARR_2(QUOTE(QGVAR(ctrlProgressBar)),(_this select 0) displayCtrl 2)]; uiNamespace setVariable [ARR_2(QUOTE(QGVAR(ctrlProgressBarTitle)),(_this select 0) displayCtrl 3)];);
objects[] = {}; objects[] = {};
@ -52,7 +52,7 @@ class GVAR(ProgressBar_Dialog) {
class GVAR(DisableMouse_Dialog) { class GVAR(DisableMouse_Dialog) {
idd = -1; idd = -1;
movingEnable = false; movingEnable = 0;
onLoad = QUOTE(uiNamespace setVariable [ARR_2(QUOTE(QGVAR(dlgDisableMouse)),_this select 0)];); onLoad = QUOTE(uiNamespace setVariable [ARR_2(QUOTE(QGVAR(dlgDisableMouse)),_this select 0)];);
objects[] = {}; objects[] = {};
class controlsBackground { class controlsBackground {

View File

@ -159,7 +159,7 @@ class ACE_gui_buttonBase {
colorBackgroundFocused[] = {1,1,1,1}; colorBackgroundFocused[] = {1,1,1,1};
periodFocus = 1.2; periodFocus = 1.2;
periodOver = 0.8; periodOver = 0.8;
default = false; default = 0;
class HitZone { class HitZone {
left = 0.00; left = 0.00;
top = 0.00; top = 0.00;

View File

@ -139,7 +139,7 @@ class DAGR_Menu_Text {
class DAGR_Menu { class DAGR_Menu {
idd = 266860; idd = 266860;
movingEnable = false; movingEnable = 0;
duration = 100000; duration = 100000;
fadein = 0; fadein = 0;
fadeout = 0; fadeout = 0;

View File

@ -32,7 +32,7 @@ class RscTitles {
class DAGR_Display { class DAGR_Display {
idd = 266850; idd = 266850;
movingEnable = false; movingEnable = 0;
duration = 100000; duration = 100000;
fadein = 0; fadein = 0;
fadeout = 0; fadeout = 0;

View File

@ -7,7 +7,7 @@ class RscTitles{
onUnload = "uiNamespace setVariable ['ACE_Goggles_Display', displayNull]"; onUnload = "uiNamespace setVariable ['ACE_Goggles_Display', displayNull]";
fadeIn=0.5; fadeIn=0.5;
fadeOut=0.5; fadeOut=0.5;
movingEnable = false; movingEnable = 0;
duration = 10e10; duration = 10e10;
name = "RscACE_Goggles_BaseTitle"; name = "RscACE_Goggles_BaseTitle";
class controls; class controls;

View File

@ -60,7 +60,7 @@
class GVAR(cam_dialog) { class GVAR(cam_dialog) {
idd = 18880; idd = 18880;
movingEnable = true; movingEnable = 1;
controlsBackground[] = { }; controlsBackground[] = { };
objects[] = { }; objects[] = { };
controls[] = { controls[] = {

View File

@ -3,7 +3,7 @@
class RscTitles { class RscTitles {
class GVAR(cam_rose) { class GVAR(cam_rose) {
idd=-1; idd=-1;
movingEnable = true; movingEnable = 1;
fadein = 0; fadein = 0;
fadeout = 1; fadeout = 1;
duration = 1e+011; duration = 1e+011;

View File

@ -12,7 +12,7 @@ class RscTitles {
onUnload = QUOTE(uiNamespace setVariable [ARR_2(QUOTE(QGVAR(menuBackground)),displayNull)]); onUnload = QUOTE(uiNamespace setVariable [ARR_2(QUOTE(QGVAR(menuBackground)),displayNull)]);
fadeIn = 0.25; fadeIn = 0.25;
fadeOut = 0.25; fadeOut = 0.25;
movingEnable = false; movingEnable = 0;
duration = 10e10; duration = 10e10;
name = QGVAR(menuBackground); name = QGVAR(menuBackground);
class controls {}; class controls {};