1 /* 2 XorGramana Copyright 2009 James W. Morris, james@jwm-art.net 3 4 This file is part of XorGramana. 5 6 XorGramana is free software: you can redistribute it and/or modify 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation, either version 3 of the License, or 9 (at your option) any later version. 10 11 XorGramana is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 GNU General Public License for more details. 15 16 You should have received a copy of the GNU General Public License 17 along with XorGramana. If not, see <http://www.gnu.org/licenses/>. 18 */ 19 #ifndef _LEVEL_MENU_H 20 #define _LEVEL_MENU_H 21 22 #include "options.h" 23 #include "types.h" 24 #include "gfx.h" 25 #include "input.h" 26 27 enum MENU_KEYS 28 { 29 MENU_UP, 30 MENU_DOWN, 31 MENU_PLAY, 32 MENU_LOAD_REPLAY, 33 MENU_OPTIONS, 34 MENU_SWITCH_GAME, 35 MENU_KEYS_XXX 36 }; 37 38 extern struct gfx_win* level_win; 39 extern struct xg_key** menu_keys; 40 41 void level_win_create(); 42 void level_win_destroy(); 43 44 lvl_t level_menu(lvl_t level); 45 46 void help(); 47 void icon_help(); 48 49 #endif 50