2015-05-15 23:06:29 +00:00
|
|
|
class ACE_Settings {
|
|
|
|
/*
|
|
|
|
* class GVAR(sampleSetting) {
|
|
|
|
* value = 1; // Value
|
|
|
|
* typeName = "SCALAR"; // Type (SCALAR, BOOL, STRING, ARRAY, COLOR)
|
|
|
|
* force = 0; // Force the setting?
|
|
|
|
* isClientSettable = 1; // Does it appear on the options menu?
|
|
|
|
*
|
|
|
|
* // The following settings only apply when isClientSettable == 1
|
|
|
|
* displayName = "$STR_ACE_Common_SettingName"; // Stringtable entry with the setting name
|
|
|
|
* description = "$STR_ACE_Common_SettingDescription"; // Stringtable entry with the setting description
|
|
|
|
*
|
|
|
|
* // Only applies if typeName == "SCALAR";
|
|
|
|
* values[] = {"Disabled", "Enabled", "Only Cursor", "Only On Keypress", "Only Cursor and KeyPress"}; // Stringtable entries that describe the options
|
|
|
|
* };
|
|
|
|
*/
|
|
|
|
class GVAR(checkPBOsAction) {
|
2017-11-15 19:10:20 +00:00
|
|
|
category = CSTRING(DisplayName);
|
2015-05-15 23:06:29 +00:00
|
|
|
value = 0;
|
|
|
|
typeName = "SCALAR";
|
|
|
|
isClientSettable = 0;
|
2017-11-15 19:10:20 +00:00
|
|
|
displayName = CSTRING(CheckPBOsAction);
|
2015-06-06 02:02:24 +00:00
|
|
|
values[] = {CSTRING(CheckPBO_Action_WarnOnce), CSTRING(CheckPBO_Action_WarnPerm), CSTRING(CheckPBO_Action_Kick)};
|
2015-05-15 23:06:29 +00:00
|
|
|
};
|
|
|
|
class GVAR(checkPBOsCheckAll) {
|
2017-11-15 19:10:20 +00:00
|
|
|
category = CSTRING(DisplayName);
|
2015-05-15 23:06:29 +00:00
|
|
|
value = 0;
|
|
|
|
typeName = "BOOL";
|
|
|
|
isClientSettable = 0;
|
2017-11-15 19:10:20 +00:00
|
|
|
displayName = CSTRING(CheckPBOsCheckAll);
|
2015-05-15 23:06:29 +00:00
|
|
|
};
|
|
|
|
class GVAR(checkPBOsWhitelist) {
|
2017-11-15 19:10:20 +00:00
|
|
|
category = CSTRING(DisplayName);
|
2015-05-15 23:06:29 +00:00
|
|
|
value = "[]";
|
|
|
|
typeName = "STRING";
|
|
|
|
isClientSettable = 0;
|
2017-11-15 19:10:20 +00:00
|
|
|
displayName = CSTRING(CheckPBOsWhitelist);
|
2015-05-15 23:06:29 +00:00
|
|
|
};
|
|
|
|
/*class GVAR(enableNumberHotkeys) {
|
|
|
|
value = 1;
|
|
|
|
typeName = "BOOL";
|
|
|
|
isClientSettable = 1;
|
2015-06-06 02:02:24 +00:00
|
|
|
displayName = CSTRING(EnableNumberHotkeys);
|
2015-05-15 23:06:29 +00:00
|
|
|
};*/
|
|
|
|
class GVAR(settingFeedbackIcons) {
|
2017-11-15 19:10:20 +00:00
|
|
|
category = CSTRING(DisplayName);
|
2015-05-15 23:06:29 +00:00
|
|
|
value = 1;
|
|
|
|
typeName = "SCALAR";
|
|
|
|
force = 0;
|
|
|
|
isClientSettable = 1;
|
2015-06-04 19:51:54 +00:00
|
|
|
displayName = CSTRING(SettingFeedbackIconsName);
|
|
|
|
description = CSTRING(SettingFeedbackIconsDesc);
|
|
|
|
values[] = {ECSTRING(optionsmenu,Hide), ECSTRING(optionsmenu,TopRightDown), ECSTRING(optionsmenu,TopRightLeft), ECSTRING(optionsmenu,TopLeftDown), ECSTRING(optionsmenu,TopLeftRight)};
|
2015-05-15 23:06:29 +00:00
|
|
|
};
|
2016-05-07 20:14:56 +00:00
|
|
|
class GVAR(settingProgressBarLocation) {
|
2017-11-15 19:10:20 +00:00
|
|
|
category = CSTRING(DisplayName);
|
2015-05-15 23:06:29 +00:00
|
|
|
value = 0;
|
|
|
|
typeName = "SCALAR";
|
|
|
|
force = 0;
|
|
|
|
isClientSettable = 1;
|
2015-06-04 19:51:54 +00:00
|
|
|
displayName = CSTRING(SettingProgressbarLocationName);
|
|
|
|
description = CSTRING(SettingProgressbarLocationDesc);
|
|
|
|
values[] = {ECSTRING(optionsmenu,Top), ECSTRING(optionsmenu,Bottom)};
|
2015-05-15 23:06:29 +00:00
|
|
|
};
|
|
|
|
class GVAR(displayTextColor) {
|
2017-11-15 19:10:20 +00:00
|
|
|
category = CSTRING(DisplayName);
|
2015-06-04 19:51:54 +00:00
|
|
|
value[] = {0,0,0,0.1};
|
2015-05-15 23:06:29 +00:00
|
|
|
typeName = "COLOR";
|
|
|
|
isClientSettable = 1;
|
2015-06-04 19:51:54 +00:00
|
|
|
displayName = CSTRING(SettingDisplayTextColorName);
|
|
|
|
description = CSTRING(SettingDisplayTextColorDesc);
|
2015-05-15 23:06:29 +00:00
|
|
|
};
|
|
|
|
class GVAR(displayTextFontColor) {
|
2017-11-15 19:10:20 +00:00
|
|
|
category = CSTRING(DisplayName);
|
2015-06-04 19:51:54 +00:00
|
|
|
value[] = {1,1,1,1};
|
2015-05-15 23:06:29 +00:00
|
|
|
typeName = "COLOR";
|
|
|
|
isClientSettable = 1;
|
2015-06-04 19:51:54 +00:00
|
|
|
displayName = CSTRING(SettingDisplayTextFontColorName);
|
|
|
|
description = CSTRING(SettingDisplayTextFontColorDesc);
|
2015-05-15 23:06:29 +00:00
|
|
|
};
|
|
|
|
};
|