X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ftitle.hpp;h=9a267ad22a03c2e49e3b3d3505883bab17a52232;hb=7e1ffbded538860c7f647d4597ee3dcb1f0917ca;hp=5844bec7b312255adbe43fdd4ec9254aab0ffef1;hpb=8b67b0dc71efddc4b668bde525ba94d701f622ac;p=supertux.git diff --git a/src/title.hpp b/src/title.hpp index 5844bec7b..9a267ad22 100644 --- a/src/title.hpp +++ b/src/title.hpp @@ -25,7 +25,7 @@ #include #include "screen.hpp" #include "game_session.hpp" -#include "addon.hpp" +#include "addon/addon.hpp" class Menu; class World; @@ -48,9 +48,8 @@ public: virtual void update(float elapsed_time); private: - std::string get_slotinfo(int slot); std::string get_level_name(const std::string& levelfile); - bool process_load_game_menu(); + void start_game(); void make_tux_jump(); void update_load_game_menu(); void generate_main_menu(); @@ -63,17 +62,15 @@ private: 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; /**< shown list of Add-ons */ - std::vector available_addons; /**< list of downloadable Add-ons */ - std::vector installed_addons; /**< list of currently installed Add-ons */ + std::vector addons; /**< shown list of Add-ons */ World* current_world; + std::auto_ptr frame; std::auto_ptr controller; std::auto_ptr titlesession; };