DEADSOFTWARE

sound: fix voices in menu
[flatwaifu.git] / src / menu.h
index c72c6f704f0f409b81957a724d275508ccbcfed8..bb6d829777bcde7f8f7886cb3c1cd13fd2d19a84 100644 (file)
@@ -1,7 +1,6 @@
 /*
    Copyright (C) Prikol Software 1996-1997
    Copyright (C) Aleksey Volynskov 1996-1997
-   Copyright (C) <ARembo@gmail.com> 2011
 
    This file is part of the Doom2D:Rembo project.
 
    51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 */
 
-// Game menus
+#ifndef MENU_H_INCLUDED
+#define MENU_H_INCLUDED
 
-typedef struct{
+#include "glob.h"
+
+typedef struct {
   byte type;
-  int n,cur,x;
+  int n, cur, x;
   char *ttl;
   char **m;
   byte *t;
-}menu_t;
+} menu_t;
+
+extern menu_t save_mnu;
+extern byte *panimp;
+extern byte _warp;
+
+#define PCOLORN 10
+extern byte pcolortab[PCOLORN];
+extern int p1color;
+extern int p2color;
+
+extern char ibuf[24];
+extern byte input;
 
-void GMV_say(char *);
-void GMV_stop(void);
+extern menu_t *mnu;
+extern byte gm_redraw;
+extern short lastkey;
 
-void GM_init(void);
-int GM_act(void);
-int GM_draw(void);
+void GMV_say (const char nm[8]);
+void G_keyf (int key, int down);
+void G_code (void);
+int GM_act (void);
+void GM_init (void);
 
-void G_code(void);
+#endif /* MENU_H_INCLUDED */