1 /* Tower Toppler - Nebulus 2 * Copyright (C) 2000-2012 Andreas R�ver 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 2 7 * of the License, or (at your option) any later version. 8 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to the Free Software 16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 */ 18 19 #ifndef MENU_H 20 #define MENU_H 21 22 #include "decl.h" 23 24 #include <SDL_types.h> 25 #include <SDL_keyboard.h> 26 27 #include "menusys.h" 28 29 /* load graphics */ 30 void men_init(void); 31 32 /* the main menu */ 33 void men_main(void); 34 35 /* free graphics */ 36 void men_done(void); 37 38 #ifdef GAME_DEBUG_KEYS 39 void run_debug_menu(void); 40 #endif 41 42 /* menu shown to user when he presses esc during play */ 43 bool men_game(void); 44 45 #endif 46