fix macros in common' config

This commit is contained in:
commy2 2015-01-13 20:56:02 +01:00
parent b7050a4a92
commit e071b2f684
134 changed files with 313 additions and 313 deletions

View File

@ -29,7 +29,7 @@ class ACE_Tile_Base {
right = 0;
bottom = 0;
};
action = "(findDisplay 49) closeDisplay 0; 0 spawn ACE_Common_openMenu;";
action = QUOTE((findDisplay 49) closeDisplay 0; 0 spawn GVAR(openMenu););
animTextureDefault = "#(argb,8,8,3)color(1,1,1,1)";
animTextureDisabled = "#(argb,8,8,3)color(1,1,1,1)";
animTextureFocused = "#(argb,8,8,3)color(1,1,1,1)";

View File

@ -3,7 +3,7 @@
#define VSPACE 0.3
#define BORDER 0.1
class ACE_Common_Interactive_Button_Base {
class GVAR(Interactive_Button_Base) {
tooltip = "";
action = "";
@ -46,7 +46,7 @@ class ACE_Common_Interactive_Button_Base {
#define VSPACE2 0.05
#define BORDER 0.1
class ACE_Common_Text_Button_Base {
class GVAR(Text_Button_Base) {
idc = 2;
moving = 0;
text = "";
@ -65,10 +65,10 @@ class ACE_Common_Text_Button_Base {
h = 0;
};
class ACE_Common_OptionsMenu_Dialog {
class GVAR(OptionsMenu_Dialog) {
idd = -1;
movingEnable = true;
onLoad = "_dlgMenuDialog = _this select 0; for '_a' from 20 to 32 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; for '_a' from 100 to 119 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; for '_a' from 200 to 219 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; for '_a' from 300 to 319 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; for '_a' from 400 to 419 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; for '_a' from 500 to 519 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; uiNamespace setVariable ['ACE_Common_MenuDialog', _dlgMenuDialog];";
onLoad = QUOTE(_dlgMenuDialog = _this select 0; for '_a' from 20 to 32 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; for '_a' from 100 to 119 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; for '_a' from 200 to 219 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; for '_a' from 300 to 319 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; for '_a' from 400 to 419 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; for '_a' from 500 to 519 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; uiNamespace setVariable [ARR_2(QUOTE(QGVAR(MenuDialog)),_dlgMenuDialog)];);
objects[] = {};
class controlsBackground {
@ -112,7 +112,7 @@ class ACE_Common_OptionsMenu_Dialog {
h = 0.3 / 9 * safezoneH;
};
class ACE_Logo : ACE_Common_Interactive_Button_Base {
class ACE_Logo: GVAR(Interactive_Button_Base) {
action = "closeDialog 0;";
type = 0;
style = 48;
@ -128,7 +128,7 @@ class ACE_Common_OptionsMenu_Dialog {
};
class controls {
class Text_Button0 : ACE_Common_Text_Button_Base {
class Text_Button0: GVAR(Text_Button_Base) {
idc = 100;
style = 0 + 0x800;
x = (HSPACE2 + 0 * 0.1) * safezoneW + safezoneX;
@ -137,105 +137,105 @@ class ACE_Common_OptionsMenu_Dialog {
h = 0.3 / 9 * safezoneH;
};
class Text_Button1 : Text_Button0 {
class Text_Button1: Text_Button0 {
idc = 101;
y = (VSPACE2 + 3 * 0.04) * safezoneH + safezoneY;
};
class Text_Button2 : Text_Button0 {
class Text_Button2: Text_Button0 {
idc = 102;
y = (VSPACE2 + 4 * 0.04) * safezoneH + safezoneY;
};
class Text_Button3 : Text_Button0 {
class Text_Button3: Text_Button0 {
idc = 103;
y = (VSPACE2 + 5 * 0.04) * safezoneH + safezoneY;
};
class Text_Button4 : Text_Button0 {
class Text_Button4: Text_Button0 {
idc = 104;
y = (VSPACE2 + 6 * 0.04) * safezoneH + safezoneY;
};
class Text_Button5 : Text_Button0 {
class Text_Button5: Text_Button0 {
idc = 105;
y = (VSPACE2 + 7 * 0.04) * safezoneH + safezoneY;
};
class Text_Button6 : Text_Button0 {
class Text_Button6: Text_Button0 {
idc = 106;
y = (VSPACE2 + 8 * 0.04) * safezoneH + safezoneY;
};
class Text_Button7 : Text_Button0 {
class Text_Button7: Text_Button0 {
idc = 107;
y = (VSPACE2 + 9 * 0.04) * safezoneH + safezoneY;
};
class Text_Button8 : Text_Button0 {
class Text_Button8: Text_Button0 {
idc = 108;
y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY;
};
class Text_Button9 : Text_Button0 {
class Text_Button9: Text_Button0 {
idc = 109;
y = (VSPACE2 + 11 * 0.04) * safezoneH + safezoneY;
};
class Text_Button10 : Text_Button0 {
class Text_Button10: Text_Button0 {
idc = 110;
y = (VSPACE2 + 12 * 0.04) * safezoneH + safezoneY;
};
class Text_Button11 : Text_Button0 {
class Text_Button11: Text_Button0 {
idc = 111;
y = (VSPACE2 + 13 * 0.04) * safezoneH + safezoneY;
};
class Text_Button12 : Text_Button0 {
class Text_Button12: Text_Button0 {
idc = 112;
y = (VSPACE2 + 14 * 0.04) * safezoneH + safezoneY;
};
class Text_Button13 : Text_Button0 {
class Text_Button13: Text_Button0 {
idc = 113;
y = (VSPACE2 + 15 * 0.04) * safezoneH + safezoneY;
};
class Text_Button14 : Text_Button0 {
class Text_Button14: Text_Button0 {
idc = 114;
y = (VSPACE2 + 16 * 0.04) * safezoneH + safezoneY;
};
class Text_Button15 : Text_Button0 {
class Text_Button15: Text_Button0 {
idc = 115;
y = (VSPACE2 + 17 * 0.04) * safezoneH + safezoneY;
};
class Text_Button16 : Text_Button0 {
class Text_Button16: Text_Button0 {
idc = 116;
y = (VSPACE2 + 18 * 0.04) * safezoneH + safezoneY;
};
class Text_Button17 : Text_Button0 {
class Text_Button17: Text_Button0 {
idc = 117;
y = (VSPACE2 + 19 * 0.04) * safezoneH + safezoneY;
};
class Text_Button18 : Text_Button0 {
class Text_Button18: Text_Button0 {
idc = 118;
y = (VSPACE2 + 20 * 0.04) * safezoneH + safezoneY;
};
class Text_Button19 : Text_Button0 {
class Text_Button19: Text_Button0 {
idc = 119;
y = (VSPACE2 + 21 * 0.04) * safezoneH + safezoneY;
};
//////////////////////////////////////////////////
class Interactive_Button0 : ACE_Common_Interactive_Button_Base {
action = "ACE_Common_keySet = -1; [0] spawn ACE_Common_editKey";
class Interactive_Button0: GVAR(Interactive_Button_Base) {
action = QUOTE(GVAR(keySet) = -1; [0] spawn GVAR(editKey));
sizeEx = "0.8 / 40 / (getResolution select 5)";// * safezoneX / safezoneXAbs";
idc = 200;
style = 2 + 0x800;
@ -245,123 +245,123 @@ class ACE_Common_OptionsMenu_Dialog {
h = 0.3 / 9 * safezoneH;
};
class Interactive_Button1 : Interactive_Button0 {
action = "ACE_Common_keySet = -1; [1] spawn ACE_Common_editKey";
class Interactive_Button1: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [1] spawn GVAR(editKey));
idc = 201;
y = (VSPACE2 + 3 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Button2 : Interactive_Button0 {
action = "ACE_Common_keySet = -1; [2] spawn ACE_Common_editKey";
class Interactive_Button2: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [2] spawn GVAR(editKey));
idc = 202;
y = (VSPACE2 + 4 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Button3 : Interactive_Button0 {
action = "ACE_Common_keySet = -1; [3] spawn ACE_Common_editKey";
class Interactive_Button3: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [3] spawn GVAR(editKey));
idc = 203;
y = (VSPACE2 + 5 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Button4 : Interactive_Button0 {
action = "ACE_Common_keySet = -1; [4] spawn ACE_Common_editKey";
class Interactive_Button4: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [4] spawn GVAR(editKey));
idc = 204;
y = (VSPACE2 + 6 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Button5 : Interactive_Button0 {
action = "ACE_Common_keySet = -1; [5] spawn ACE_Common_editKey";
class Interactive_Button5: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [5] spawn GVAR(editKey));
idc = 205;
y = (VSPACE2 + 7 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Button6 : Interactive_Button0 {
action = "ACE_Common_keySet = -1; [6] spawn ACE_Common_editKey";
class Interactive_Button6: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [6] spawn GVAR(editKey));
idc = 206;
y = (VSPACE2 + 8 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Button7 : Interactive_Button0 {
action = "ACE_Common_keySet = -1; [7] spawn ACE_Common_editKey";
class Interactive_Button7: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [7] spawn GVAR(editKey));
idc = 207;
y = (VSPACE2 + 9 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Button8 : Interactive_Button0 {
action = "ACE_Common_keySet = -1; [8] spawn ACE_Common_editKey";
class Interactive_Button8: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [8] spawn GVAR(editKey));
idc = 208;
y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Button9 : Interactive_Button0 {
action = "ACE_Common_keySet = -1; [9] spawn ACE_Common_editKey";
class Interactive_Button9: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [9] spawn GVAR(editKey));
idc = 209;
y = (VSPACE2 + 11 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Button10 : Interactive_Button0 {
action = "ACE_Common_keySet = -1; [10] spawn ACE_Common_editKey";
class Interactive_Button10: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [10] spawn GVAR(editKey));
idc = 210;
y = (VSPACE2 + 12 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Button11 : Interactive_Button0 {
action = "ACE_Common_keySet = -1; [11] spawn ACE_Common_editKey";
class Interactive_Button11: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [11] spawn GVAR(editKey));
idc = 211;
y = (VSPACE2 + 13 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Button12 : Interactive_Button0 {
action = "ACE_Common_keySet = -1; [12] spawn ACE_Common_editKey";
class Interactive_Button12: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [12] spawn GVAR(editKey));
idc = 212;
y = (VSPACE2 + 14 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Button13 : Interactive_Button0 {
action = "ACE_Common_keySet = -1; [13] spawn ACE_Common_editKey";
class Interactive_Button13: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [13] spawn GVAR(editKey));
idc = 213;
y = (VSPACE2 + 15 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Button14 : Interactive_Button0 {
action = "ACE_Common_keySet = -1; [14] spawn ACE_Common_editKey";
class Interactive_Button14: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [14] spawn GVAR(editKey));
idc = 214;
y = (VSPACE2 + 16 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Button15 : Interactive_Button0 {
action = "ACE_Common_keySet = -1; [15] spawn ACE_Common_editKey";
class Interactive_Button15: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [15] spawn GVAR(editKey));
idc = 215;
y = (VSPACE2 + 17 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Button16 : Interactive_Button0 {
action = "ACE_Common_keySet = -1; [16] spawn ACE_Common_editKey";
class Interactive_Button16: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [16] spawn GVAR(editKey));
idc = 216;
y = (VSPACE2 + 18 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Button17 : Interactive_Button0 {
action = "ACE_Common_keySet = -1; [17] spawn ACE_Common_editKey";
class Interactive_Button17: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [17] spawn GVAR(editKey));
idc = 217;
y = (VSPACE2 + 19 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Button18 : Interactive_Button0 {
action = "ACE_Common_keySet = -1; [18] spawn ACE_Common_editKey";
class Interactive_Button18: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [18] spawn GVAR(editKey));
idc = 218;
y = (VSPACE2 + 20 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Button19 : Interactive_Button0 {
action = "ACE_Common_keySet = -1; [19] spawn ACE_Common_editKey";
class Interactive_Button19: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [19] spawn GVAR(editKey));
idc = 219;
y = (VSPACE2 + 21 * 0.04) * safezoneH + safezoneY;
};
//////////////////////////////////////////////////
class Interactive_Checkbox0 : Text_Button0 {
class Interactive_Checkbox0: Text_Button0 {
action = "hint '0'";
idc = 300;
//type = 0;
@ -375,115 +375,115 @@ class ACE_Common_OptionsMenu_Dialog {
h = 0.3 / 9 * safezoneH;
};
class Interactive_Checkbox1 : Interactive_Checkbox0 {
class Interactive_Checkbox1: Interactive_Checkbox0 {
action = "";
idc = 301;
y = (VSPACE2 + 3 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Checkbox2 : Interactive_Checkbox0 {
class Interactive_Checkbox2: Interactive_Checkbox0 {
action = "";
idc = 302;
y = (VSPACE2 + 4 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Checkbox3 : Interactive_Checkbox0 {
class Interactive_Checkbox3: Interactive_Checkbox0 {
action = "";
idc = 303;
y = (VSPACE2 + 5 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Checkbox4 : Interactive_Checkbox0 {
class Interactive_Checkbox4: Interactive_Checkbox0 {
action = "";
idc = 304;
y = (VSPACE2 + 6 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Checkbox5 : Interactive_Checkbox0 {
class Interactive_Checkbox5: Interactive_Checkbox0 {
action = "";
idc = 305;
y = (VSPACE2 + 7 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Checkbox6 : Interactive_Checkbox0 {
class Interactive_Checkbox6: Interactive_Checkbox0 {
action = "";
idc = 306;
y = (VSPACE2 + 8 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Checkbox7 : Interactive_Checkbox0 {
class Interactive_Checkbox7: Interactive_Checkbox0 {
action = "";
idc = 307;
y = (VSPACE2 + 9 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Checkbox8 : Interactive_Checkbox0 {
class Interactive_Checkbox8: Interactive_Checkbox0 {
action = "";
idc = 308;
y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Checkbox9 : Interactive_Checkbox0 {
class Interactive_Checkbox9: Interactive_Checkbox0 {
action = "";
idc = 309;
y = (VSPACE2 + 11 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Checkbox10 : Interactive_Checkbox0 {
class Interactive_Checkbox10: Interactive_Checkbox0 {
action = "";
idc = 310;
y = (VSPACE2 + 12 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Checkbox11 : Interactive_Checkbox0 {
class Interactive_Checkbox11: Interactive_Checkbox0 {
action = "";
idc = 311;
y = (VSPACE2 + 13 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Checkbox12 : Interactive_Checkbox0 {
class Interactive_Checkbox12: Interactive_Checkbox0 {
action = "";
idc = 312;
y = (VSPACE2 + 14 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Checkbox13 : Interactive_Checkbox0 {
class Interactive_Checkbox13: Interactive_Checkbox0 {
action = "";
idc = 313;
y = (VSPACE2 + 15 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Checkbox14 : Interactive_Checkbox0 {
class Interactive_Checkbox14: Interactive_Checkbox0 {
action = "";
idc = 314;
y = (VSPACE2 + 16 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Checkbox15 : Interactive_Checkbox0 {
class Interactive_Checkbox15: Interactive_Checkbox0 {
action = "";
idc = 315;
y = (VSPACE2 + 17 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Checkbox16 : Interactive_Checkbox0 {
class Interactive_Checkbox16: Interactive_Checkbox0 {
action = "";
idc = 316;
y = (VSPACE2 + 18 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Checkbox17 : Interactive_Checkbox0 {
class Interactive_Checkbox17: Interactive_Checkbox0 {
action = "";
idc = 317;
y = (VSPACE2 + 19 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Checkbox18 : Interactive_Checkbox0 {
class Interactive_Checkbox18: Interactive_Checkbox0 {
action = "";
idc = 318;
y = (VSPACE2 + 20 * 0.04) * safezoneH + safezoneY;
};
class Interactive_Checkbox19 : Interactive_Checkbox0 {
class Interactive_Checkbox19: Interactive_Checkbox0 {
action = "";
idc = 319;
y = (VSPACE2 + 21 * 0.04) * safezoneH + safezoneY;
@ -491,7 +491,7 @@ class ACE_Common_OptionsMenu_Dialog {
//////////////////////////////////////////////////
class Text_Checkbox0 : Text_Button0 {
class Text_Checkbox0: Text_Button0 {
idc = 400;
x = (HSPACE2 + 0 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 2 * 0.04) * safezoneH + safezoneY;
@ -499,105 +499,105 @@ class ACE_Common_OptionsMenu_Dialog {
h = 0.3 / 9 * safezoneH;
};
class Text_Checkbox1 : Text_Checkbox0 {
class Text_Checkbox1: Text_Checkbox0 {
idc = 401;
y = (VSPACE2 + 3 * 0.04) * safezoneH + safezoneY;
};
class Text_Checkbox2 : Text_Checkbox0 {
class Text_Checkbox2: Text_Checkbox0 {
idc = 402;
y = (VSPACE2 + 4 * 0.04) * safezoneH + safezoneY;
};
class Text_Checkbox3 : Text_Checkbox0 {
class Text_Checkbox3: Text_Checkbox0 {
idc = 403;
y = (VSPACE2 + 5 * 0.04) * safezoneH + safezoneY;
};
class Text_Checkbox4 : Text_Checkbox0 {
class Text_Checkbox4: Text_Checkbox0 {
idc = 404;
y = (VSPACE2 + 6 * 0.04) * safezoneH + safezoneY;
};
class Text_Checkbox5 : Text_Checkbox0 {
class Text_Checkbox5: Text_Checkbox0 {
idc = 405;
y = (VSPACE2 + 7 * 0.04) * safezoneH + safezoneY;
};
class Text_Checkbox6 : Text_Checkbox0 {
class Text_Checkbox6: Text_Checkbox0 {
idc = 406;
y = (VSPACE2 + 8 * 0.04) * safezoneH + safezoneY;
};
class Text_Checkbox7 : Text_Checkbox0 {
class Text_Checkbox7: Text_Checkbox0 {
idc = 407;
y = (VSPACE2 + 9 * 0.04) * safezoneH + safezoneY;
};
class Text_Checkbox8 : Text_Checkbox0 {
class Text_Checkbox8: Text_Checkbox0 {
idc = 408;
y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY;
};
class Text_Checkbox9 : Text_Checkbox0 {
class Text_Checkbox9: Text_Checkbox0 {
idc = 409;
y = (VSPACE2 + 11 * 0.04) * safezoneH + safezoneY;
};
class Text_Checkbox10 : Text_Checkbox0 {
class Text_Checkbox10: Text_Checkbox0 {
idc = 410;
y = (VSPACE2 + 12 * 0.04) * safezoneH + safezoneY;
};
class Text_Checkbox11 : Text_Checkbox0 {
class Text_Checkbox11: Text_Checkbox0 {
idc = 411;
y = (VSPACE2 + 13 * 0.04) * safezoneH + safezoneY;
};
class Text_Checkbox12 : Text_Checkbox0 {
class Text_Checkbox12: Text_Checkbox0 {
idc = 412;
y = (VSPACE2 + 14 * 0.04) * safezoneH + safezoneY;
};
class Text_Checkbox13 : Text_Checkbox0 {
class Text_Checkbox13: Text_Checkbox0 {
idc = 413;
y = (VSPACE2 + 15 * 0.04) * safezoneH + safezoneY;
};
class Text_Checkbox14 : Text_Checkbox0 {
class Text_Checkbox14: Text_Checkbox0 {
idc = 414;
y = (VSPACE2 + 16 * 0.04) * safezoneH + safezoneY;
};
class Text_Checkbox15 : Text_Checkbox0 {
class Text_Checkbox15: Text_Checkbox0 {
idc = 415;
y = (VSPACE2 + 17 * 0.04) * safezoneH + safezoneY;
};
class Text_Checkbox16 : Text_Checkbox0 {
class Text_Checkbox16: Text_Checkbox0 {
idc = 416;
y = (VSPACE2 + 18 * 0.04) * safezoneH + safezoneY;
};
class Text_Checkbox17 : Text_Checkbox0 {
class Text_Checkbox17: Text_Checkbox0 {
idc = 417;
y = (VSPACE2 + 19 * 0.04) * safezoneH + safezoneY;
};
class Text_Checkbox18 : Text_Checkbox0 {
class Text_Checkbox18: Text_Checkbox0 {
idc = 418;
y = (VSPACE2 + 20 * 0.04) * safezoneH + safezoneY;
};
class Text_Checkbox19 : Text_Checkbox0 {
class Text_Checkbox19: Text_Checkbox0 {
idc = 419;
y = (VSPACE2 + 21 * 0.04) * safezoneH + safezoneY;
};
//////////////////////////////////////////////////
class Interactive_CheckboxButton0 : ACE_Common_Interactive_Button_Base {
action = "[0] call ACE_Common_toggleState";
class Interactive_CheckboxButton0: GVAR(Interactive_Button_Base) {
action = QUOTE([0] call GVAR(toggleState));
idc = 500;
colorBackground[] = {0, 0, 0, 0};
colorBackgroundActive[] = {0, 0, 0, 0};
@ -608,123 +608,123 @@ class ACE_Common_OptionsMenu_Dialog {
h = 0.3 / 9 * safezoneH;
};
class Interactive_CheckboxButton1 : Interactive_CheckboxButton0 {
action = "[1] call ACE_Common_toggleState";
class Interactive_CheckboxButton1: Interactive_CheckboxButton0 {
action = QUOTE([1] call GVAR(toggleState));
idc = 501;
y = (VSPACE2 + 3 * 0.04) * safezoneH + safezoneY;
};
class Interactive_CheckboxButton2 : Interactive_CheckboxButton0 {
action = "[2] call ACE_Common_toggleState";
class Interactive_CheckboxButton2: Interactive_CheckboxButton0 {
action = QUOTE([2] call GVAR(toggleState));
idc = 502;
y = (VSPACE2 + 4 * 0.04) * safezoneH + safezoneY;
};
class Interactive_CheckboxButton3 : Interactive_CheckboxButton0 {
action = "[3] call ACE_Common_toggleState";
class Interactive_CheckboxButton3: Interactive_CheckboxButton0 {
action = QUOTE([3] call GVAR(toggleState));
idc = 503;
y = (VSPACE2 + 5 * 0.04) * safezoneH + safezoneY;
};
class Interactive_CheckboxButton4 : Interactive_CheckboxButton0 {
action = "[4] call ACE_Common_toggleState";
class Interactive_CheckboxButton4: Interactive_CheckboxButton0 {
action = QUOTE([4] call GVAR(toggleState));
idc = 504;
y = (VSPACE2 + 6 * 0.04) * safezoneH + safezoneY;
};
class Interactive_CheckboxButton5 : Interactive_CheckboxButton0 {
action = "[5] call ACE_Common_toggleState";
class Interactive_CheckboxButton5: Interactive_CheckboxButton0 {
action = QUOTE([5] call GVAR(toggleState));
idc = 505;
y = (VSPACE2 + 7 * 0.04) * safezoneH + safezoneY;
};
class Interactive_CheckboxButton6 : Interactive_CheckboxButton0 {
action = "[6] call ACE_Common_toggleState";
class Interactive_CheckboxButton6: Interactive_CheckboxButton0 {
action = QUOTE([6] call GVAR(toggleState));
idc = 506;
y = (VSPACE2 + 8 * 0.04) * safezoneH + safezoneY;
};
class Interactive_CheckboxButton7 : Interactive_CheckboxButton0 {
action = "[7] call ACE_Common_toggleState";
class Interactive_CheckboxButton7: Interactive_CheckboxButton0 {
action = QUOTE([7] call GVAR(toggleState));
idc = 507;
y = (VSPACE2 + 9 * 0.04) * safezoneH + safezoneY;
};
class Interactive_CheckboxButton8 : Interactive_CheckboxButton0 {
action = "[8] call ACE_Common_toggleState";
class Interactive_CheckboxButton8: Interactive_CheckboxButton0 {
action = QUOTE([8] call GVAR(toggleState));
idc = 508;
y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY;
};
class Interactive_CheckboxButton9 : Interactive_CheckboxButton0 {
action = "[9] call ACE_Common_toggleState";
class Interactive_CheckboxButton9: Interactive_CheckboxButton0 {
action = QUOTE([9] call GVAR(toggleState));
idc = 509;
y = (VSPACE2 + 11 * 0.04) * safezoneH + safezoneY;
};
class Interactive_CheckboxButton10 : Interactive_CheckboxButton0 {
action = "[10] call ACE_Common_toggleState";
class Interactive_CheckboxButton10: Interactive_CheckboxButton0 {
action = QUOTE([10] call GVAR(toggleState));
idc = 510;
y = (VSPACE2 + 12 * 0.04) * safezoneH + safezoneY;
};
class Interactive_CheckboxButton11 : Interactive_CheckboxButton0 {
action = "[11] call ACE_Common_toggleState";
class Interactive_CheckboxButton11: Interactive_CheckboxButton0 {
action = QUOTE([11] call GVAR(toggleState));
idc = 511;
y = (VSPACE2 + 13 * 0.04) * safezoneH + safezoneY;
};
class Interactive_CheckboxButton12 : Interactive_CheckboxButton0 {
action = "[12] call ACE_Common_toggleState";
class Interactive_CheckboxButton12: Interactive_CheckboxButton0 {
action = QUOTE([12] call GVAR(toggleState));
idc = 512;
y = (VSPACE2 + 14 * 0.04) * safezoneH + safezoneY;
};
class Interactive_CheckboxButton13 : Interactive_CheckboxButton0 {
action = "[13] call ACE_Common_toggleState";
class Interactive_CheckboxButton13: Interactive_CheckboxButton0 {
action = QUOTE([13] call GVAR(toggleState));
idc = 513;
y = (VSPACE2 + 15 * 0.04) * safezoneH + safezoneY;
};
class Interactive_CheckboxButton14 : Interactive_CheckboxButton0 {
action = "[14] call ACE_Common_toggleState";
class Interactive_CheckboxButton14: Interactive_CheckboxButton0 {
action = QUOTE([14] call GVAR(toggleState));
idc = 514;
y = (VSPACE2 + 16 * 0.04) * safezoneH + safezoneY;
};
class Interactive_CheckboxButton15 : Interactive_CheckboxButton0 {
action = "[15] call ACE_Common_toggleState";
class Interactive_CheckboxButton15: Interactive_CheckboxButton0 {
action = QUOTE([15] call GVAR(toggleState));
idc = 515;
y = (VSPACE2 + 17 * 0.04) * safezoneH + safezoneY;
};
class Interactive_CheckboxButton16 : Interactive_CheckboxButton0 {
action = "[16] call ACE_Common_toggleState";
class Interactive_CheckboxButton16: Interactive_CheckboxButton0 {
action = QUOTE([16] call GVAR(toggleState));
idc = 516;
y = (VSPACE2 + 18 * 0.04) * safezoneH + safezoneY;
};
class Interactive_CheckboxButton17 : Interactive_CheckboxButton0 {
action = "[17] call ACE_Common_toggleState";
class Interactive_CheckboxButton17: Interactive_CheckboxButton0 {
action = QUOTE([17] call GVAR(toggleState));
idc = 517;
y = (VSPACE2 + 19 * 0.04) * safezoneH + safezoneY;
};
class Interactive_CheckboxButton18 : Interactive_CheckboxButton0 {
action = "[18] call ACE_Common_toggleState";
class Interactive_CheckboxButton18: Interactive_CheckboxButton0 {
action = QUOTE([18] call GVAR(toggleState));
idc = 518;
y = (VSPACE2 + 20 * 0.04) * safezoneH + safezoneY;
};
class Interactive_CheckboxButton19 : Interactive_CheckboxButton0 {
action = "[19] call ACE_Common_toggleState";
class Interactive_CheckboxButton19: Interactive_CheckboxButton0 {
action = QUOTE([19] call GVAR(toggleState));
idc = 519;
y = (VSPACE2 + 21 * 0.04) * safezoneH + safezoneY;
};
//////////////////////////////////////////////////
class TextBox_KeyChange : Text_Button0 {
class TextBox_KeyChange: Text_Button0 {
text = "";
idc = 20;
style = 2 + 0x800;
@ -734,7 +734,7 @@ class ACE_Common_OptionsMenu_Dialog {
h = (3.0 / 9 - VSPACE2 / 2) * safezoneH;
};
/*class TextBox_Key_Shift : TextBox_KeyChange {
/*class TextBox_Key_Shift: TextBox_KeyChange {
text = "$STR_ACE_Common_Shift";
idc = 21;
colorText[] = {0.25,0.25,0.25,1};
@ -745,22 +745,22 @@ class ACE_Common_OptionsMenu_Dialog {
h = 0.3 / 9 * safezoneH;
};
class TextBox_Key_Control : TextBox_Key_Shift {
class TextBox_Key_Control: TextBox_Key_Shift {
text = "$STR_ACE_Common_Ctrl";
idc = 22;
x = (3 / 4 * HSPACE2 + 6.75 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY;
};
class TextBox_Key_Alt : TextBox_Key_Shift {
class TextBox_Key_Alt: TextBox_Key_Shift {
text = "$STR_ACE_Common_Alt";
idc = 23;
x = (3 / 4 * HSPACE2 + 7.75 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY;
};*/
class TextBox_Key_Shift : Interactive_Button0 {
action = "ACE_Common_keyNewTemp = [42, [false, false, false], 42];";
class TextBox_Key_Shift: Interactive_Button0 {
action = QUOTE(GVAR(keyNewTemp) = [ARR_3(42,[ARR_3(false,false,false)],42)];);
text = "$STR_ACE_Common_Shift";
sizeEx = "0.7 / 40 / (getResolution select 5)";// * safezoneX / safezoneXAbs";
idc = 21;
@ -772,47 +772,47 @@ class ACE_Common_OptionsMenu_Dialog {
h = 0.3 / 9 * safezoneH;
};
class TextBox_Key_Control : TextBox_Key_Shift {
action = "ACE_Common_keyNewTemp = [29, [false, false, false], 29];";
class TextBox_Key_Control: TextBox_Key_Shift {
action = QUOTE(GVAR(keyNewTemp) = [ARR_3(29,[ARR_3(false,false,false)],29)];);
text = "$STR_ACE_Common_Ctrl";
idc = 22;
x = (3 / 4 * HSPACE2 + 6.75 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY;
};
class TextBox_Key_Alt : TextBox_Key_Shift {
action = "ACE_Common_keyNewTemp = [56, [false, false, false], 56];";
class TextBox_Key_Alt: TextBox_Key_Shift {
action = QUOTE(GVAR(keyNewTemp) = [ARR_3(56,[ARR_3(false,false,false)],56)];);
text = "$STR_ACE_Common_Alt";
idc = 23;
x = (3 / 4 * HSPACE2 + 7.5 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY;
};
class TextBox_Key_Shift_Right : TextBox_Key_Shift {
action = "ACE_Common_keyNewTemp = [54, [false, false, false], 54];";
class TextBox_Key_Shift_Right: TextBox_Key_Shift {
action = QUOTE(GVAR(keyNewTemp) = [ARR_3(54,[ARR_3(false,false,false)],54)];);
text = "$STR_ACE_Common_Shift_Right";
idc = 27;
x = (3 / 4 * HSPACE2 + 6 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 11 * 0.04) * safezoneH + safezoneY;
};
class TextBox_Key_Control_Right : TextBox_Key_Shift {
action = "ACE_Common_keyNewTemp = [157, [false, false, false], 157];";
class TextBox_Key_Control_Right: TextBox_Key_Shift {
action = QUOTE(GVAR(keyNewTemp) = [ARR_3(157,[ARR_3(false,false,false)],157)];);
text = "$STR_ACE_Common_Ctrl_Right";
idc = 28;
x = (3 / 4 * HSPACE2 + 6.75 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 11 * 0.04) * safezoneH + safezoneY;
};
class TextBox_Key_Alt_Right : TextBox_Key_Shift {
action = "ACE_Common_keyNewTemp = [184, [false, false, false], 184];";
class TextBox_Key_Alt_Right: TextBox_Key_Shift {
action = QUOTE(GVAR(keyNewTemp) = [ARR_3(184,[ARR_3(false,false,false)],184)];);
text = "$STR_ACE_Common_Alt_Right";
idc = 29;
x = (3 / 4 * HSPACE2 + 7.5 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 11 * 0.04) * safezoneH + safezoneY;
};
class TextBox_Action : TextBox_KeyChange {
class TextBox_Action: TextBox_KeyChange {
text = "";
idc = 30;
colorText[] = {1,1,1,1};
@ -824,23 +824,23 @@ class ACE_Common_OptionsMenu_Dialog {
h = 0.3 / 9 * safezoneH;
};
class TextBox_Key_Default : TextBox_Key_Shift {
action = "call ACE_Common_keysetDefault";
class TextBox_Key_Default: TextBox_Key_Shift {
action = QUOTE(call GVAR(keysetDefault));
text = "$STR_ACE_Common_KeyDefault";
idc = 31;
x = (3 / 4 * HSPACE2 + 8.25 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY;
};
class TextBox_Key_None : TextBox_Key_Shift {
action = "ACE_Common_keyNewTemp = [0, [false, false, false], 0];";
class TextBox_Key_None: TextBox_Key_Shift {
action = QUOTE(GVAR(keyNewTemp) = [ARR_3(0,[ARR_3(false,false,false)],0)];);
text = "$STR_ACE_Common_KeyNone";
idc = 32;
x = (3 / 4 * HSPACE2 + 8.25 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 11 * 0.04) * safezoneH + safezoneY;
};
class TextBox_Key : TextBox_KeyChange {
class TextBox_Key: TextBox_KeyChange {
text = "";
idc = 24;
colorText[] = {1,1,1,1};
@ -852,8 +852,8 @@ class ACE_Common_OptionsMenu_Dialog {
h = 0.3 / 9 * safezoneH;
};
class Interactive_ButtonV : Interactive_Button0 {
action = "ACE_Common_keySet = 1";
class Interactive_ButtonV: Interactive_Button0 {
action = QUOTE(ACE_Common_keySet = 1);
text = "$STR_ACE_Common_Save";
sizeEx = "1 / 40 / (getResolution select 5)";// * safezoneX / safezoneXAbs";
idc = 25;
@ -864,8 +864,8 @@ class ACE_Common_OptionsMenu_Dialog {
h = 0.3 / 9 * safezoneH;
};
class Interactive_ButtonW : Interactive_ButtonV {
action = "ACE_Common_keySet = -1";
class Interactive_ButtonW: Interactive_ButtonV {
action = QUOTE(GVAR(keySet) = -1);
text = "$STR_ACE_Common_Cancel";
idc = 26;
x = (HSPACE2 + 7.5 * 0.1) * safezoneW + safezoneX;
@ -874,8 +874,8 @@ class ACE_Common_OptionsMenu_Dialog {
h = 0.3 / 9 * safezoneH;
};
class Interactive_ButtonX : Interactive_Button0 {
action = "ACE_Common_keySave = 1; closeDialog 0";
class Interactive_ButtonX: Interactive_Button0 {
action = QUOTE(GVAR(keySave) = 1; closeDialog 0);
text = "$STR_ACE_Common_Save";
sizeEx = "1 / 40 / (getResolution select 5)";// * safezoneX / safezoneXAbs";
idc = 10;
@ -885,8 +885,8 @@ class ACE_Common_OptionsMenu_Dialog {
h = 0.3 / 9 * safezoneH;
};
class Interactive_ButtonY : Interactive_Button0 {
action = "ACE_Common_keySave = -1; closeDialog 0";
class Interactive_ButtonY: Interactive_Button0 {
action = QUOTE(GVAR(keySave) = -1; closeDialog 0);
text = "$STR_ACE_Common_Cancel";
sizeEx = "1 / 40 / (getResolution select 5)";// * safezoneX / safezoneXAbs";
idc = 11;
@ -896,8 +896,8 @@ class ACE_Common_OptionsMenu_Dialog {
h = 0.3 / 9 * safezoneH;
};
class Interactive_ButtonA : ACE_Common_Interactive_Button_Base {
action = "false call ACE_Common_nextKeys";
class Interactive_ButtonA: GVAR(Interactive_Button_Base) {
action = QUOTE(false call GVAR(nextKeys));
text = "$STR_ACE_Common_Prev";
idc = 12;
style = 2 + 0x800;
@ -907,14 +907,14 @@ class ACE_Common_OptionsMenu_Dialog {
h = 0.3 / 9 * safezoneH;
};
class Interactive_ButtonB : Interactive_ButtonA {
action = "true call ACE_Common_nextKeys";
class Interactive_ButtonB: Interactive_ButtonA {
action = QUOTE(true call GVAR(nextKeys));
text = "$STR_ACE_Common_Next";
idc = 13;
x = (HSPACE2 + 3 * 0.1 + 2.0 / 16) * safezoneW + safezoneX;
};
class Interactive_ButtonC : ACE_Common_Text_Button_Base {
class Interactive_ButtonC: GVAR(Text_Button_Base) {
text = "";
idc = 14;
style = 2 + 0x800;

View File

@ -8,7 +8,7 @@ QGVAR(remoteFnc) addPublicVariableEventHandler {
[missionNamespace] call FUNC(executePersistent);
// check previous version number from profile
_currentVersion = getText (configFile >> "CfgPatches" >> "ACE_Common" >> "version");
_currentVersion = getText (configFile >> "CfgPatches" >> ADDON >> "version");
_previousVersion = profileNamespace getVariable ["ACE_VersionNumberString", ""];
if (_currentVersion != _previousVersion) then {

View File

@ -12,7 +12,7 @@
* Return value:
* ID of the action (used to remove it later).
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_unit", "_action", "_condition", "_statement", "_name", "_actionsVar", "_actionID", "_actions", "_id", "_actionIDs"];

View File

@ -16,7 +16,7 @@
* Return value:
* ID of the action (used to remove it later).
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_unit", "_displayName", "_action", "_condition", "_statement", "_condition2", "_statement2", "_priority", "_name", "_actionsVar", "_id", "_actionIDs", "_actions", "_nameVar", "_addAction", "_actionID"];

View File

@ -10,7 +10,7 @@
* Return value:
* ID of the event script (used to remove it later).
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_statement", "_actionsVar", "_id", "_actionIDs", "_actions"];

View File

@ -1,5 +1,5 @@
// by commy2
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private "_dlg";

View File

@ -11,7 +11,7 @@
* Return value:
* ID of the event script (used to remove it later).
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_object", "_type", "_statement", "_name", "_actionsVar", "_id", "_actionIDs", "_actions"];

View File

@ -10,7 +10,7 @@
* Return value:
* ID of the event script (used to remove it later).
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_type", "_statement", "_actionsVar", "_id", "_actionIDs", "_actions"];

View File

@ -9,7 +9,7 @@
* Return value:
* ID of the event script (used to remove it later).
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_statement", "_actionsVar", "_id", "_actionIDs", "_actions"];

View File

@ -9,7 +9,7 @@
* Return value:
* ID of the event script (used to remove it later).
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_statement", "_actionsVar", "_id", "_actionIDs", "_actions"];

View File

@ -9,7 +9,7 @@
* Return value:
* ID of the event script (used to remove it later).
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_statement", "_actionsVar", "_id", "_actionIDs", "_actions"];

View File

@ -1,5 +1,5 @@
// by commy2
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private "_name";

View File

@ -9,6 +9,6 @@
* Return value:
* Ambient brightness (Number)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
sunOrMoon * sunOrMoon + moonIntensity/5 min 1

View File

@ -15,7 +15,7 @@ Returns:
Example:
[ACE_Player] call FUNC(applyForceWalkStatus)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_unit", "_forceWalkNumber"];

View File

@ -10,7 +10,7 @@
* Return value:
* Booleans (Array)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_number", "_minLength", "_array", "_index", "_rest"];

View File

@ -11,7 +11,7 @@
* Return value:
* None.
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_object", "_type", "_argument", "_name", "_actions"];

View File

@ -11,6 +11,6 @@
* Return value:
* None.
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
[_this, QUOTE(FUNC(callCustomEventHandlers)), 2] call FUNC(execRemoteFnc);

View File

@ -14,7 +14,7 @@
* Return Value:
* Nothing
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
#define CANGETINDRIVER (isNull (driver _vehicle) || {!alive driver _vehicle}) && {!lockedDriver _vehicle} && {getNumber (_config >> "isUav") != 1}
#define CANGETINTURRETINDEX (isNull (_vehicle turretUnit _turret) || {!alive (_vehicle turretUnit _turret)}) && {!(_vehicle lockedTurret _turret)} && {getNumber (_config >> "isUav") != 1}

View File

@ -1,5 +1,5 @@
// by commy2
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_unit", "_target", "_owner"];

View File

@ -1,5 +1,5 @@
// by commy2
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
// returns true if the unit is on foot or in a ffv position

View File

@ -12,7 +12,7 @@
* Return value:
* None.
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_projectile", "_adjustDir", "_adjustUp", "_adjustSpeed", "_vdir", "_dir", "_up", "_l", "_r", "_vup", "_vel"];

View File

@ -14,7 +14,7 @@
* Return value:
* None.
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_mode", "_checkAll", "_whitelist", "_logic"];

View File

@ -1,5 +1,5 @@
// by commy2
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_unit", "_target", "_lockTarget", "_owner"];

View File

@ -10,7 +10,7 @@
* Return Value:
* None
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
_this spawn {
_target = _this select 0;

View File

@ -1,4 +1,4 @@
// by commy2
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
["", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"] select ([2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 30, 48, 46, 32, 18, 33, 34, 35, 23, 36, 37, 38, 50, 49, 24, 25, 16, 19, 31, 20, 22, 47, 17, 45, 44, 21] find (_this select 0)) + 1

View File

@ -9,7 +9,7 @@
* Return value:
* Code (String)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private "_function";

View File

@ -12,7 +12,7 @@
* Return value:
* Key code (Number)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
#define KEY_MODIFIERS [42, 54, 29, 157, 56, 184]

View File

@ -9,7 +9,7 @@
* Return value:
* The current channel. Can be "group", "side", "global", "command", "vehicle" or "direct" (String)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
#define CHANNELS ["group", "side", "global", "command", "vehicle", "direct"]
#define CHANNELS_LOCALIZED [localize "str_channel_group", localize "str_channel_side", localize "str_channel_global", localize "str_channel_command", localize "str_channel_vehicle", localize "str_channel_direct"]

View File

@ -9,7 +9,7 @@
* Return value:
* Nothing
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_state", "_dlg"];

View File

@ -12,7 +12,7 @@
* Return value:
* Nothing
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
#define DEFAULT_PLAY_SOUND false
#define DEFAULT_DELAY 2

View File

@ -10,7 +10,7 @@
* Return value:
* Nothing
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_text", "_image"];

View File

@ -10,7 +10,7 @@
* Return value:
* Nothing
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_text", "_size", "_isShown", "_ctrlHint"];

View File

@ -14,7 +14,7 @@
* Return value:
* Nothing
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_unit", "_animation", "_priority", "_force"];

View File

@ -10,7 +10,7 @@
* None.
*
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
// ACRE
if (isClass (configFile >> "CfgPatches" >> "acre_main")) then {

View File

@ -12,7 +12,7 @@
* Return value:
* Nothing.
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_arguments", "_function", "_unit", "_name"];

View File

@ -15,7 +15,7 @@
* Return value:
* Nothing
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_arguments", "_function", "_unit", "_id"];

View File

@ -1,5 +1,5 @@
// by commy2
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private "_target";

View File

@ -4,7 +4,7 @@
(configFile >> "CfgAmmo") call FUNC(exportConfig);
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private "_fnc_logEntries";

View File

@ -13,7 +13,7 @@
* Usage:
* [[0,1,2,3,4], {_this > 2}] call FUNC(filter) ==> [3,4]
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_array", "_code", "_newArray", "_index"];

View File

@ -1,5 +1,5 @@
// by commy2
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_crate", "_weapons", "_items"];

View File

@ -1,5 +1,5 @@
// by commy2
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private "_unit";

View File

@ -9,7 +9,7 @@
* Return value:
* Reasons, why the unit is a captive. An empty array is returned if the unit is not a captive (Array of Strings)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_unit", "_captivityReasons", "_unitCaptivityStatus", "_unitCaptivityReasons"];

View File

@ -1,5 +1,5 @@
// by commy2
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_name", "_cfgClass", "_classes"];

View File

@ -9,7 +9,7 @@
* Return value:
* Commander config (Config)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_vehicle", "_config", "_turret"];

View File

@ -9,7 +9,7 @@
* Return value:
* Gunner config (Config)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_vehicle", "_config", "_turret"];

View File

@ -1,5 +1,5 @@
// by commy2
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_unit", "_anim", "_stance"];

View File

@ -1,5 +1,5 @@
// by commy2
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_configName", "_index"];

View File

@ -9,7 +9,7 @@
* Return value:
* Turret indexes of the door gunner. Empty array means no gunner position. (Array)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_vehicleType", "_turrets", "_doorTurrets", "_config"];

View File

@ -15,7 +15,7 @@ Returns:
Example:
[ACE_Player] call FUNC(getForceWalkStatus)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_unit", "_forceWalkReasons", "_unitForceWalkNumber", "_unitForceWalkStatus", "_unitForceWalkReasons"];

View File

@ -9,7 +9,7 @@
* Return Value:
* The hitpoints (Array)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_vehicle", "_config", "_hitpoints"];

View File

@ -9,7 +9,7 @@
* Return Value:
* The hitpoints with selections. Format: [hitpoints, selections]. They correspond by index. (Array)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_vehicle", "_config", "_hitpoints", "_selections"];

View File

@ -13,7 +13,7 @@
* Return Value:
* Nothing
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
#define CANGETINDRIVER (isNull (driver _vehicle) || {!alive driver _vehicle}) && {!lockedDriver _vehicle} && {getNumber (_config >> "isUav") != 1}
#define CANGETINTURRETINDEX (isNull (_vehicle turretUnit _turret) || {!alive (_vehicle turretUnit _turret)}) && {!(_vehicle lockedTurret _turret)} && {getNumber (_config >> "isUav") != 1}

View File

@ -9,7 +9,7 @@
* Return Value:
* Marker Type (string)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
_group = _this select 0;
_leader = leader _group;

View File

@ -10,7 +10,7 @@
* Return value:
* The name.
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_unit", "_showEffective", "_name"];

View File

@ -9,7 +9,7 @@
* Return value:
* Value of the entry. Note: If the entry does not exist, it might return 0 or an entry with the same name of another class! (Number)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private "_number";

View File

@ -9,6 +9,6 @@
* Return Value:
* [pitch, bank, yaw]
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
((_this select 0) call BIS_fnc_getPitchBank) + [getDir (_this select 0)]

View File

@ -9,7 +9,7 @@
* Return value:
* Value of the entry. Note: If the entry does not exist, it might return an empty string or an entry with the same name of another class! (String)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_path", "_mission", "_a", "_class", "_index", "_array", "_b", "_entry"];

View File

@ -10,7 +10,7 @@
* 0: Azimuth (Number)
* 1: Inclination or 'slope' (Number)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_position", "_direction", "_azimuth", "_inclination"];

View File

@ -11,7 +11,7 @@
* Return value:
* Measured distance in meters. Can return maximal or minimal distance (Number)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_interval", "_maxDistance", "_minDistance", "_position", "_laser", "_line", "_distance", "_iteration"];

View File

@ -9,7 +9,7 @@
* Return value:
* Nearest object directly in line of sight, if none objNull (Object)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_maxDistance", "_position", "_laser", "_intersects"];

View File

@ -9,7 +9,7 @@
* Return value:
* Turret index of the vehicles commander. Empty array means no observer position. (Array)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_vehicle", "_turrets", "_turret", "_config"];

View File

@ -10,7 +10,7 @@
* Return value:
* Turret config (Config)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_config", "_turretIndex", "_index", "_offset", "_config2", "_foundClasses"];

View File

@ -9,7 +9,7 @@
* Return value:
* Turret index of the vehicles gunner. Empty array means no copilot position. (Array)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_vehicle", "_turrets", "_turret", "_config"];

View File

@ -9,7 +9,7 @@
* Return value:
* Turret index of the vehicles gunner. Empty array means no gunner position. (Array)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_vehicle", "_turrets", "_turret", "_config"];

View File

@ -9,7 +9,7 @@
* Return value:
* Turret index array or config path. E.g: [0] for gunner or [0,0] for commander. Returns empty array if unit is not in a turret. (Array)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_unit", "_vehicle", "_turrets", "_units", "_index"];

View File

@ -9,7 +9,7 @@
* Return value:
* All turret index arrays of the vehicle. E.g: [[0], [0,0]] (Array)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_type", "_config", "_turrets", "_fnc_addTurret"];

View File

@ -9,7 +9,7 @@
* Return value:
* Turret index of the vehicles gunner. Empty array means no ffv turrets. (Array)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_vehicle", "_turrets", "_turret", "_config"];

View File

@ -9,7 +9,7 @@
* Return value:
* Turret index of the vehicles gunner. Empty array means no other turrets. (Array)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_vehicle", "_turrets", "_turret", "_config"];

View File

@ -18,7 +18,7 @@ Returns:
Example:
[ACE_Player] call FUNC(getUavControlPosition)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_unit", "_uav", "_positionArray", "_playerIndex"];

View File

@ -9,7 +9,7 @@
* Return value:
* Vehicle cargo positions. (Array)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_vehicle", "_config", "_cargo", "_codrivers"];

View File

@ -9,7 +9,7 @@
* Return value:
* Vehicle codriver positions. (Array)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_vehicle", "_config", "_cargo", "_codrivers"];

View File

@ -10,7 +10,7 @@
* Return value:
* Crew (Array)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_vehicle", "_types", "_crew"];

View File

@ -10,7 +10,7 @@
* 0: Azimuth (Number)
* 1: Inclination or 'slope' (Number)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_weapon", "_direction", "_azimuth", "_inclination"];

View File

@ -9,7 +9,7 @@
* Return value:
* Slot index of the given class name, 1: primary, 2: secondary, 3: handgun, else: -1 (Number)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_weapon", "_type", "_index"];

View File

@ -9,7 +9,7 @@
* Return value:
* Wind direction. (String)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
switch (round (windDir / 360 * 16)) do {
case 1 : {localize QUOTE(DOUBLES(STR,GVAR(SSW)))};

View File

@ -9,7 +9,7 @@
* Return value:
* None.
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private "_unit";

View File

@ -11,7 +11,7 @@
* Return Value:
* Hadamard Product
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
_vector1 = _this select 0;
_vector2 = _this select 1;

View File

@ -1,4 +1,4 @@
// by commy2
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> animationState (_this select 0) >> "looped") == 0

View File

@ -1,5 +1,5 @@
// by commy2
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_array", "_value", "_min", "_max"];

View File

@ -9,6 +9,6 @@
* Return value:
* This mission has automatic wind? (Bool)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
["Mission", "Intel", "windForced"] call FUNC(getNumberFromMissionSQM) != 1

View File

@ -18,7 +18,7 @@
Example:
_isSpecialist = [player] call FUNC(isEOD);
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private "_unit";

View File

@ -9,7 +9,7 @@
* Return Value:
* Bool: is the unit an engineer?
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private "_unit";

View File

@ -9,7 +9,7 @@
* Return value:
* Is the unit in a building? (Bool)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
#define DISTANCE 10

View File

@ -9,7 +9,7 @@
* Return Value:
* Bool: is unit medic?
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_unit"];

View File

@ -10,6 +10,6 @@
* Return Value:
* Bool: is unit a player?
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
isPlayer (_this select 0) || {_this select 0 == call FUNC(player)}

View File

@ -9,7 +9,7 @@
* Return value:
* Is the unit turned out or not? Will return false if there is no option to turn out in the first place. (Bool)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_unit", "_vehicle", "_config", "_animation", "_action", "_inAction", "_turretIndex"];

View File

@ -1,4 +1,4 @@
// by commy2
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
[-1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 30, 48, 46, 32, 18, 33, 34, 35, 23, 36, 37, 38, 50, 49, 24, 25, 16, 19, 31, 20, 22, 47, 17, 45, 44, 21] select (["1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"] find toUpper (_this select 0)) + 1

View File

@ -1,5 +1,5 @@
// by commy2
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
if ((_this select 0) in (missionNamespace getVariable ["ACE_Debug", []])) then {
private ["_type", "_argument", "_function", "_showInGame"];

View File

@ -1,5 +1,5 @@
// by commy2
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_array", "_index"];

View File

@ -1,5 +1,5 @@
// by commy2
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_array", "_index"];

View File

@ -13,7 +13,7 @@
* Usage:
* [["2", "gobblecock", "25"], {parseNumber _this}] call FUNC(map) ==> [2, 0, 25]
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_array", "_code"];

View File

@ -9,7 +9,7 @@
* Return Value:
* None
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
_logic = _this select 0;
_units = _this select 1;

View File

@ -9,7 +9,7 @@
* Return Value:
* None
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
_logic = _this select 0;
_units = _this select 1;

View File

@ -1,5 +1,5 @@
// by commy2
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
terminate (missionNamespace getVariable [QGVAR(MonitorFnc), scriptNull]);

View File

@ -9,7 +9,7 @@
* Return value:
* Nothing
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_unit", "_speaker"];

View File

@ -10,7 +10,7 @@
* Return value:
* Digits. The maximum count is six digits. (Array)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_number", "_minLength", "_length", "_digits", "_index", "_count"];

View File

@ -10,7 +10,7 @@
* Return value:
* Digits. The maximum length is six digits. (String)
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private ["_digits", "_count", "_string", "_index"];

View File

@ -13,7 +13,7 @@
Returns:
Nothing
*/
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
uiNamespace setVariable ["ACE_ctrlChannel", (_this select 0) displayCtrl 101];

View File

@ -1,5 +1,5 @@
// by commy2
#include "\z\ace\addons\common\script_component.hpp"
#include "script_component.hpp"
private "_object";

Some files were not shown because too many files have changed in this diff Show More