|
|
1.1 root 1: // Emacs style mode select -*- C++ -*-
2: //-----------------------------------------------------------------------------
3: //
4: // $Id:$
5: //
6: // Copyright (C) 1993-1996 by id Software, Inc.
7: //
1.1.1.2 ! root 8: // This program is free software; you can redistribute it and/or
! 9: // modify it under the terms of the GNU General Public License
! 10: // as published by the Free Software Foundation; either version 2
! 11: // of the License, or (at your option) any later version.
1.1 root 12: //
1.1.1.2 ! root 13: // This program is distributed in the hope that it will be useful,
1.1 root 14: // but WITHOUT ANY WARRANTY; without even the implied warranty of
1.1.1.2 ! root 15: // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! 16: // GNU General Public License for more details.
1.1 root 17: //
18: // DESCRIPTION:
19: // Menu widget stuff, episode selection and such.
20: //
21: //-----------------------------------------------------------------------------
22:
23:
24: #ifndef __M_MENU__
25: #define __M_MENU__
26:
27:
28:
29: #include "d_event.h"
30:
31: //
32: // MENUS
33: //
34: // Called by main loop,
35: // saves config file and calls I_Quit when user exits.
36: // Even when the menu is not displayed,
37: // this can resize the view and change game parameters.
38: // Does all the real work of the menu interaction.
39: boolean M_Responder (event_t *ev);
40:
41:
42: // Called by main loop,
43: // only used for menu (skull cursor) animation.
44: void M_Ticker (void);
45:
46: // Called by main loop,
47: // draws the menus directly into the screen buffer.
48: void M_Drawer (void);
49:
50: // Called by D_DoomMain,
51: // loads the config file.
52: void M_Init (void);
53:
54: // Called by intro code to force menu up upon a keypress,
55: // does nothing if menu is already up.
56: void M_StartControlPanel (void);
57:
58:
59:
60:
61:
62:
63: #endif
64: //-----------------------------------------------------------------------------
65: //
66: // $Log:$
67: //
68: //-----------------------------------------------------------------------------
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.