ScummVM API documentation
main_menu.h
1
/* ScummVM - Graphic Adventure Engine
2
*
3
* ScummVM is the legal property of its developers, whose names
4
* are too numerous to list here. Please refer to the COPYRIGHT
5
* file distributed with this source distribution.
6
*
7
* This program is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <http://www.gnu.org/licenses/>.
19
*
20
*/
21
22
#ifndef MADS_NEBULAR_MAIN_MENU_H
23
#define MADS_NEBULAR_MAIN_MENU_H
24
25
#include "common/str.h"
26
27
namespace
MADS {
28
namespace
RexNebular {
29
30
#define COMMAND_LINE_MAX 10
31
32
#define FRAME_RATE 1
33
#define MENU_FRAME_RATE 3
34
35
#define NUM_MENU_ITEMS 6
36
37
#define MENU_APPEARING 0
38
#define MENU_ACCEPTING_COMMANDS 1
39
#define MENU_DISAPPEARING 2
40
41
#define MENU_HIGH_SPRITE 15
42
43
typedef
struct
{
44
int
handle;
/* Sprite series handle */
45
int
active;
/* Menu item is active */
46
int
status;
/* Current status */
47
}
MenuItem
;
48
49
extern
bool
new_background;
50
extern
int
selected_item;
51
52
extern
void
menu_control();
53
54
}
// namespace RexNebular
55
}
// namespace MADS
56
57
#endif
MADS::RexNebular::MenuItem
Definition:
main_menu.h:43
engines
mads
nebular
main_menu.h
Generated on Sat Oct 24 2026 09:15:58 for ScummVM API documentation by
1.9.4