ScummVM API documentation
globals.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
26
#ifndef M4_CORE_GLOBALS_H
27
#define M4_CORE_GLOBALS_H
28
29
30
namespace
M4
{
31
35
enum
{
36
GLB_TIME = 0,
37
GLB_WATCH_DOG = 1,
38
GLB_MIN_Y = 2,
39
GLB_MAX_Y = 3,
40
GLB_MIN_SCALE = 4,
41
GLB_MAX_SCALE = 5,
42
GLB_SCALER = 6,
43
44
GLB_TEMP_1 = 7,
45
GLB_TEMP_2 = 8,
46
GLB_TEMP_3 = 9,
47
GLB_TEMP_4 = 10,
48
GLB_TEMP_5 = 11,
49
GLB_TEMP_6 = 12,
50
GLB_TEMP_7 = 13,
51
GLB_TEMP_8 = 14,
52
GLB_TEMP_9 = 15,
53
GLB_TEMP_10 = 16,
54
GLB_TEMP_11 = 17,
55
GLB_TEMP_12 = 18,
56
GLB_TEMP_13 = 19,
57
GLB_TEMP_14 = 20,
58
GLB_TEMP_15 = 21,
59
GLB_TEMP_16 = 22,
60
GLB_TEMP_17 = 23,
61
GLB_TEMP_18 = 24,
62
GLB_TEMP_19 = 25,
63
GLB_TEMP_20 = 26,
64
GLB_TEMP_21 = 27,
65
GLB_TEMP_22 = 28,
66
GLB_TEMP_23 = 29,
67
GLB_TEMP_24 = 30,
68
GLB_TEMP_25 = 31,
69
GLB_TEMP_26 = 32,
70
GLB_TEMP_27 = 33,
71
GLB_TEMP_28 = 34,
72
GLB_TEMP_29 = 35,
73
GLB_TEMP_30 = 36,
74
GLB_TEMP_31 = 37,
75
GLB_TEMP_32 = 38,
76
77
GLB_SCRATCH_VARS = 7,
// 19-16 globals reserved for the compiler
78
GLB_USER_VARS = 17
// 17+ globals for the applications programmer
79
};
80
81
constexpr
int
GLB_SHARED_VARS = 256;
82
83
}
// namespace M4
84
85
#endif
M4
Definition:
database.h:28
engines
m4
core
globals.h
Generated on Sun Nov 22 2026 09:13:14 for ScummVM API documentation by
1.9.4