]> git.lizzy.rs Git - plan9front.git/blob - sys/src/games/doom/m_menu.h
games/doom: display correct message on medkit pickup when health low (thanks qu7uux)
[plan9front.git] / sys / src / games / doom / m_menu.h
1 // Emacs style mode select   -*- C++ -*- 
2 //-----------------------------------------------------------------------------
3 //
4 // $Id:$
5 //
6 // Copyright (C) 1993-1996 by id Software, Inc.
7 //
8 // This source is available for distribution and/or modification
9 // only under the terms of the DOOM Source Code License as
10 // published by id Software. All rights reserved.
11 //
12 // The source is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
15 // for more details.
16 //
17 // DESCRIPTION:
18 //   Menu widget stuff, episode selection and such.
19 //    
20 //-----------------------------------------------------------------------------
21
22
23 #ifndef __M_MENU__
24 #define __M_MENU__
25
26
27
28 #include "d_event.h"
29
30 //
31 // MENUS
32 //
33 // Called by main loop,
34 // saves config file and calls I_Quit when user exits.
35 // Even when the menu is not displayed,
36 // this can resize the view and change game parameters.
37 // Does all the real work of the menu interaction.
38 boolean M_Responder (event_t *ev);
39
40
41 // Called by main loop,
42 // only used for menu (skull cursor) animation.
43 void M_Ticker (void);
44
45 // Called by main loop,
46 // draws the menus directly into the screen buffer.
47 void M_Drawer (void);
48
49 // Called by D_DoomMain,
50 // loads the config file.
51 void M_Init (void);
52
53 // Called by intro code to force menu up upon a keypress,
54 // does nothing if menu is already up.
55 void M_StartControlPanel (void);
56
57
58
59
60
61
62 #endif    
63 //-----------------------------------------------------------------------------
64 //
65 // $Log:$
66 //
67 //-----------------------------------------------------------------------------