DEADSOFTWARE

ed4a5e994f39d24090f8393b14864ec87adaff00
[flatwaifu.git] / src / menu.h
1 /*
2 Copyright (C) Prikol Software 1996-1997
3 Copyright (C) Aleksey Volynskov 1996-1997
5 This file is part of the Doom2D:Rembo project.
7 Doom2D:Rembo is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License version 2 as
9 published by the Free Software Foundation.
11 Doom2D:Rembo 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.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, see <http://www.gnu.org/licenses/> or
18 write to the Free Software Foundation, Inc.,
19 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 */
22 // Game menus
24 typedef struct{
25 byte type;
26 int n,cur,x;
27 char *ttl;
28 char **m;
29 byte *t;
30 }menu_t;
32 extern menu_t save_mnu;
34 extern byte *panimp;
36 #define PCOLORN 10
37 extern byte pcolortab[PCOLORN];
38 extern int p1color;
39 extern int p2color;
41 extern char ibuf[24];
42 extern byte input;
44 extern menu_t *mnu;
45 extern byte gm_redraw;
47 void GMV_say(char *);
48 void GMV_stop(void);
50 void GM_init(void);
51 int GM_act(void);
53 void G_code(void);