DEADSOFTWARE

sound: fix voices in menu
[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 #ifndef MENU_H_INCLUDED
23 #define MENU_H_INCLUDED
25 #include "glob.h"
27 typedef struct {
28 byte type;
29 int n, cur, x;
30 char *ttl;
31 char **m;
32 byte *t;
33 } menu_t;
35 extern menu_t save_mnu;
36 extern byte *panimp;
37 extern byte _warp;
39 #define PCOLORN 10
40 extern byte pcolortab[PCOLORN];
41 extern int p1color;
42 extern int p2color;
44 extern char ibuf[24];
45 extern byte input;
47 extern menu_t *mnu;
48 extern byte gm_redraw;
49 extern short lastkey;
51 void GMV_say (const char nm[8]);
52 void G_keyf (int key, int down);
53 void G_code (void);
54 int GM_act (void);
55 void GM_init (void);
57 #endif /* MENU_H_INCLUDED */