17 #ifndef HEADER_SUPERTUX_SUPERTUX_MENU_ADDON_MENU_HPP 18 #define HEADER_SUPERTUX_SUPERTUX_MENU_ADDON_MENU_HPP 20 #include "gui/menu.hpp" 29 MNID_CHECK_ONLINE = 1,
31 MNID_INSTALL_FROM_FILE = 3,
32 MNID_ADDON_LIST_START = 4
37 std::vector<std::string> m_installed_addons;
38 std::unique_ptr<bool[]> m_addons_enabled;
39 const bool m_langpacks_only;
42 AddonMenu(
bool language_packs_only =
false);
46 void menu_action(
MenuItem& item)
override;
47 void check_for_updates();
Checks for, installs and removes Add-ons.
Definition: addon_manager.hpp:36