X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ftitle.hpp;h=7de0a4379282b0d1c2792f8cb4d949d256168d45;hb=d4b281559d45406a5d07cf04d89142cdeb90b114;hp=4ef55fe0a9e71062eb2b8916e14962b4471a98cb;hpb=07ddaed2a657e4d2a3d038fed223fc5827159caf;p=supertux.git diff --git a/src/title.hpp b/src/title.hpp index 4ef55fe0a..7de0a4379 100644 --- a/src/title.hpp +++ b/src/title.hpp @@ -25,6 +25,7 @@ #include #include "screen.hpp" #include "game_session.hpp" +#include "addon.hpp" class Menu; class World; @@ -53,17 +54,22 @@ private: void check_levels_contrib_menu(); void check_contrib_world_menu(); void free_contrib_menu(); + void generate_addons_menu(); + void check_addons_menu(); + void free_addons_menu(); + std::auto_ptr main_menu; std::auto_ptr load_game_menu; std::auto_ptr contrib_menu; std::auto_ptr contrib_world_menu; std::auto_ptr main_world; std::vector contrib_worlds; + std::auto_ptr addons_menu; + std::vector addons; World* current_world; - + std::auto_ptr controller; std::auto_ptr titlesession; }; #endif -