XenevaOS
Loading...
Searching...
No Matches
m_menu.h
Go to the documentation of this file.
1//
2// Copyright(C) 1993-1996 Id Software, Inc.
3// Copyright(C) 2005-2014 Simon Howard
4//
5// This program is free software; you can redistribute it and/or
6// modify it under the terms of the GNU General Public License
7// as published by the Free Software Foundation; either version 2
8// of the License, or (at your option) any later version.
9//
10// This program is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14//
15// DESCRIPTION:
16// Menu widget stuff, episode selection and such.
17//
18
19
20#ifndef __M_MENU__
21#define __M_MENU__
22
23
24
25#include "d_event.h"
26
27//
28// MENUS
29//
30// Called by main loop,
31// saves config file and calls I_Quit when user exits.
32// Even when the menu is not displayed,
33// this can resize the view and change game parameters.
34// Does all the real work of the menu interaction.
35boolean M_Responder (event_t *ev);
36
37
38// Called by main loop,
39// only used for menu (skull cursor) animation.
40void M_Ticker (void);
41
42// Called by main loop,
43// draws the menus directly into the screen buffer.
44void M_Drawer (void);
45
46// Called by D_DoomMain,
47// loads the config file.
48void M_Init (void);
49
50// Called by intro code to force menu up upon a keypress,
51// does nothing if menu is already up.
52void M_StartControlPanel (void);
53
54
55
56extern int detailLevel;
57extern int screenblocks;
58
59
60
61#endif
void M_Ticker(void)
Definition m_menu.c:2064
int detailLevel
Definition m_menu.c:77
void M_StartControlPanel(void)
Definition m_menu.c:1899
void M_Drawer(void)
Definition m_menu.c:1951
int screenblocks
Definition m_menu.c:78
void M_Init(void)
Definition m_menu.c:2077
boolean M_Responder(event_t *ev)
Definition m_menu.c:1416
Definition d_event.h:43