X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ftitle.hpp;h=7de0a4379282b0d1c2792f8cb4d949d256168d45;hb=7c579d3ef0a6667c18b53dad84c63c05d2760a84;hp=8854f83b9b34f644d821df4975e474686bb38dee;hpb=00b15f2c9ea01a7bd73a912ac5ac3369cb6b6d90;p=supertux.git diff --git a/src/title.hpp b/src/title.hpp index 8854f83b9..7de0a4379 100644 --- a/src/title.hpp +++ b/src/title.hpp @@ -1,8 +1,8 @@ // $Id$ -// +// // SuperTux -// Copyright (C) 2000 Bill Kendrick // Copyright (C) 2004 Tobias Glaesser +// Copyright (C) 2006 Matthias Braun // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -13,7 +13,7 @@ // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. -// +// // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA @@ -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 -