Debian Codegraph @

prboom2/src/heretic/mn_menu.h

raw
1 //
2 // Copyright(C) 1993-1996 Id Software, Inc.
3 // Copyright(C) 1993-2008 Raven Software
4 // Copyright(C) 2005-2014 Simon Howard
5 //
6 // This program is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU General Public License
8 // as published by the Free Software Foundation; either version 2
9 // of the License, or (at your option) any later version.
10 //
11 // This program 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
17 // MN_menu.h
18
19 #ifndef __HERETIC_MN_MENU__
20 #define __HERETIC_MN_MENU__
21
22 void MN_Init(void);
23 void MN_Ticker(void);
24 void MN_Drawer(void);
25 void MN_DrawMainMenu(void);
26 void MN_DrawOptions(void);
27 void MN_DrawSetup(void);
28 void MN_DrawMouse(void);
29 void MN_DrawSound(void);
30 void MN_DrawLoad(void);
31 void MN_DrawSave(void);
32 void MN_DrawPause(void);
33 void MN_DrawMessage(const char* messageString);
34 void MN_DrawSlider(int x, int y, int width, int range, int slot);
35 void MN_DrawTitle(int y, const char *text, int cm);
36 void MN_DrTextA(const char *text, int x, int y);
37 int MN_TextAHeight(const char *text);
38 int MN_TextAWidth(const char *text);
39 void MN_DrTextB(const char *text, int x, int y);
40 int MN_TextBWidth(const char *text);
41
42 // hexen
43
44 void MN_DrawEpisode(void);
45 void MN_UpdateClass(int choice);
46 void MN_DrTextAYellow(const char *text, int x, int y);
47 void MN_DrawSkillMenu(void);
48
49 #endif