Skip to content

Commit

Permalink
Cleanup options menu (#5746)
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror authored Nov 12, 2017
1 parent 3c8d5d6 commit f9b89cd
Show file tree
Hide file tree
Showing 26 changed files with 0 additions and 1,683 deletions.
7 changes: 0 additions & 7 deletions addons/optionsmenu/ACE_Settings.hpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
class ACE_Settings {
class GVAR(optionMenuDisplaySize) {
value = 0;
typeName = "SCALAR";
isClientSettable = 1;
displayName = CSTRING(uiScaing);
values[] = {"$str_medium", "$str_large", "$str_very_large"};
};
class GVAR(showNewsOnMainMenu) {
value = 1;
typeName = "BOOL";
Expand Down
6 changes: 0 additions & 6 deletions addons/optionsmenu/CfgEventHandlers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ class Extended_PreInit_EventHandlers {
};
};

class Extended_PostInit_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_FILE(XEH_postInit));
};
};

class Extended_DisplayLoad_EventHandlers {
class RscDisplayMain {
GVAR(loadMainMenuBox) = QUOTE(_this call COMPILE_FILE(init_loadMainMenuBox));
Expand Down
20 changes: 0 additions & 20 deletions addons/optionsmenu/XEH_PREP.hpp
Original file line number Diff line number Diff line change
@@ -1,22 +1,2 @@

PREP(debugDumpToClipboard);
PREP(onListBoxSettingsChanged);
PREP(onListBoxShowSelectionChanged);
PREP(onSettingsMenuOpen);
PREP(onSliderPosChanged);
PREP(onServerSaveInputField);
PREP(onServerSettingsMenuOpen);
PREP(onServerListBoxShowSelectionChanged);
PREP(onCategorySelectChanged);
PREP(resetSettings);
PREP(serverResetSettings);
PREP(settingsMenuUpdateKeyView);
PREP(settingsMenuUpdateList);
PREP(serverSettingsMenuUpdateKeyView);
PREP(serverSettingsMenuUpdateList);
PREP(onServerCategorySelectChanged);
PREP(updateSetting);
PREP(exportSettings);
PREP(toggleIncludeClientSettings);
PREP(moduleAllowConfigExport);
PREP(stringEscape);
11 changes: 0 additions & 11 deletions addons/optionsmenu/XEH_postInit.sqf

This file was deleted.

11 changes: 0 additions & 11 deletions addons/optionsmenu/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,6 @@ PREP_RECOMPILE_START;
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;

GVAR(clientSideOptions) = [];
GVAR(clientSideColors) = [];

GVAR(serverConfigGeneration) = 0;
GVAR(ClientSettingsExportIncluded) = false;
GVAR(serverSideOptions) = [];
GVAR(serverSideColors) = [];
GVAR(serverSideValues) = [];
GVAR(categories) = [];
GVAR(currentCategorySelection) = 0;

if (hasInterface) then {
[[format ["ACE3 %1", localize LSTRING(DumpDebug)], localize LSTRING(DumpDebugTooltip)], QGVAR(MainMenuHelperDumpDebug)] call CBA_fnc_addPauseMenuOption;
[[format ["ACE3 %1", localize LSTRING(headBugFix)], localize LSTRING(headBugFixTooltip)], QGVAR(MainMenuHelperHeadBugFix)] call CBA_fnc_addPauseMenuOption;
Expand Down
69 changes: 0 additions & 69 deletions addons/optionsmenu/functions/fnc_exportSettings.sqf

This file was deleted.

27 changes: 0 additions & 27 deletions addons/optionsmenu/functions/fnc_moduleAllowConfigExport.sqf

This file was deleted.

25 changes: 0 additions & 25 deletions addons/optionsmenu/functions/fnc_onCategorySelectChanged.sqf

This file was deleted.

43 changes: 0 additions & 43 deletions addons/optionsmenu/functions/fnc_onListBoxSettingsChanged.sqf

This file was deleted.

60 changes: 0 additions & 60 deletions addons/optionsmenu/functions/fnc_onListBoxShowSelectionChanged.sqf

This file was deleted.

25 changes: 0 additions & 25 deletions addons/optionsmenu/functions/fnc_onServerCategorySelectChanged.sqf

This file was deleted.

Loading

0 comments on commit f9b89cd

Please sign in to comment.