Show cba settings in debug button (#5978)

This commit is contained in:
PabstMirror 2017-12-26 17:43:42 -06:00 committed by GitHub
parent 69f7484f12
commit e66e9c2453
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 13 deletions

View File

@ -1,7 +1,8 @@
ace_optionsmenu ace_optionsmenu
=============== ===============
Adds the options menu used by other components. Previously held the options menu.
Now just handles version display on main menu and debug/headbug on options menu.
## Maintainers ## Maintainers

View File

@ -55,15 +55,16 @@ if (isNull ace_player) then {"null"} else {animationState ace_player}];
_text = format [" _text = format ["
------ACE Settings------"]; ------ACE's CBA Settings------"];
[_text] call _outputText; [_text] call _outputText;
private _aceSettings = cba_settings_allSettings select {((_x select [0,4]) == "ace_") || {(_x select [0,5]) == "acex_"}};
_aceSettings sort true;
{ {
_var = missionNamespace getVariable [(_x select 0), "ERROR: Not Defined"]; _var = missionNamespace getVariable [_x, "ERROR: Not Defined"];
_text = format ["%1 - %2", (_x select 0), _var]; _text = format ["%1 - %2", _x, _var];
[_text] call _outputText; [_text] call _outputText;
} forEach EGVAR(common,settings); } forEach _aceSettings;
_text = format [" _text = format ["

View File

@ -20,10 +20,3 @@
#define IDC_MAIN_INFO 80090 #define IDC_MAIN_INFO 80090
#define IDC_MAIN_INFO_CURRENT_VERSION_INFO 80091 #define IDC_MAIN_INFO_CURRENT_VERSION_INFO 80091
#define IDC_MAIN_INFO_NEWEST_VERSION_INFO 80092 #define IDC_MAIN_INFO_NEWEST_VERSION_INFO 80092
#define MENU_TAB_OPTIONS 0
#define MENU_TAB_COLORS 1
#define MENU_TAB_SERVER_OPTIONS 10
#define MENU_TAB_SERVER_COLORS 11
#define MENU_TAB_SERVER_VALUES 12