mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Add categories to help splash
This commit is contained in:
parent
bafb261c01
commit
e4aee1da2c
@ -104,9 +104,17 @@ switch (toLower _mode) do {
|
||||
[FUNC(handleToolbar), 0, _display] call CBA_fnc_addPerFrameHandler;
|
||||
|
||||
// Populate the help splash
|
||||
private "_help";
|
||||
_help = (_display displayCtrl IDC_HELP) controlsGroupCtrl IDC_HELP_LIST;
|
||||
{
|
||||
((_display displayCtrl IDC_HELP) controlsGroupCtrl IDC_HELP_LIST) lnbAddRow _x;
|
||||
// Add space before category titles
|
||||
if (count _x == 1) then {
|
||||
_help lnbAddRow [""];
|
||||
};
|
||||
|
||||
_help lnbAddRow _x;
|
||||
} forEach [
|
||||
[localize LSTRING(uiControls),""],
|
||||
[localize LSTRING(uiToggleHelp),"H"],
|
||||
[localize LSTRING(uiToggleMap),"M"],
|
||||
[localize LSTRING(uiToggleUnits),"1"],
|
||||
@ -129,6 +137,7 @@ switch (toLower _mode) do {
|
||||
[localize LSTRING(freeCamNextVis),"N"],
|
||||
[localize LSTRING(freeCamPrevVis),"Ctrl + N"],
|
||||
|
||||
[localize LSTRING(otherControls)],
|
||||
[localize LSTRING(nextCam),"Up"],
|
||||
[localize LSTRING(prevCam),"Down"],
|
||||
[localize LSTRING(nextUnit),"Right"],
|
||||
|
@ -144,6 +144,9 @@
|
||||
<English>Previous Vision Mode</English>
|
||||
</Key>
|
||||
|
||||
<Key ID="STR_ACE_Spectator_uiControls">
|
||||
<English>Interface Controls</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Spectator_uiToggleInterface">
|
||||
<English>Toggle Interface</English>
|
||||
</Key>
|
||||
@ -166,6 +169,9 @@
|
||||
<English>Toggle Help</English>
|
||||
</Key>
|
||||
|
||||
<Key ID="STR_ACE_Spectator_otherControls">
|
||||
<English>Other Controls</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Spectator_nextCam">
|
||||
<English>Next Camera</English>
|
||||
</Key>
|
||||
|
Loading…
Reference in New Issue
Block a user