mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Show cba settings in debug button (#5978)
This commit is contained in:
parent
69f7484f12
commit
e66e9c2453
@ -1,7 +1,8 @@
|
||||
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
|
||||
|
@ -55,15 +55,16 @@ if (isNull ace_player) then {"null"} else {animationState ace_player}];
|
||||
|
||||
|
||||
_text = format ["
|
||||
------ACE Settings------"];
|
||||
------ACE's CBA Settings------"];
|
||||
[_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"];
|
||||
_text = format ["%1 - %2", (_x select 0), _var];
|
||||
_var = missionNamespace getVariable [_x, "ERROR: Not Defined"];
|
||||
_text = format ["%1 - %2", _x, _var];
|
||||
[_text] call _outputText;
|
||||
} forEach EGVAR(common,settings);
|
||||
} forEach _aceSettings;
|
||||
|
||||
|
||||
_text = format ["
|
||||
|
@ -20,10 +20,3 @@
|
||||
#define IDC_MAIN_INFO 80090
|
||||
#define IDC_MAIN_INFO_CURRENT_VERSION_INFO 80091
|
||||
#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
|
||||
|
Loading…
Reference in New Issue
Block a user