ScummVM API documentation
wst_regs.h
1
2
/* ScummVM - Graphic Adventure Engine
3
*
4
* ScummVM is the legal property of its developers, whose names
5
* are too numerous to list here. Please refer to the COPYRIGHT
6
* file distributed with this source distribution.
7
*
8
* This program is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation, either version 3 of the License, or
11
* (at your option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20
*
21
*/
22
23
#ifndef M4_WSCRIPT_WST_REGS_H
24
#define M4_WSCRIPT_WST_REGS_H
25
26
namespace
M4
{
27
28
enum
{
29
IDX_TIMER = 0,
30
IDX_TAG = 1,
31
IDX_LAYER = 2,
32
33
IDX_W = 3,
34
IDX_H = 4,
35
IDX_X = 5,
36
IDX_Y = 6,
37
IDX_S = 7,
38
IDX_R = 8,
39
40
IDX_CELS_HASH = 9,
41
IDX_CELS_INDEX = 10,
42
IDX_CELS_COUNT = 11,
43
IDX_CELS_FRAME_RATE = 12,
44
IDX_CELS_PIX_SPEED = 13,
45
46
IDX_TARG_S = 14,
47
IDX_TARG_R = 15,
48
IDX_TARG_X = 16,
49
IDX_TARG_Y = 17,
50
51
IDX_DELTA_S = 18,
52
IDX_DELTA_R = 19,
53
IDX_DELTA_X = 20,
54
IDX_DELTA_Y = 21,
55
56
IDX_VELOCITY = 22,
57
IDX_THETA = 23,
58
59
IDX_ZTEMP1 = 24,
60
IDX_ZTEMP2 = 25,
61
IDX_ZTEMP3 = 26,
62
IDX_ZTEMP4 = 27,
63
IDX_ZTEMP5 = 28,
64
IDX_ZTEMP6 = 29,
65
IDX_ZTEMP7 = 30,
66
IDX_ZTEMP8 = 31,
67
68
IDX_MACH_ID = 32
69
};
70
71
#define IDX_COUNT 33
72
73
#define IDX_BEZ_CTRL IDX_TARG_X
74
#define IDX_BEZ_COEFF IDX_ZTEMP1
75
76
#define TAG_COUNT 8
77
#define TAG_NONE 0x00000000
78
#define TAG_TARGS 0x00000001
79
#define TAG_BEZ 0x00000002
80
#define TAG_DELTAS 0x00000004
81
#define TAG_VECTORS 0x00000008
82
#define TAG_TEXT 0x00000010
83
#define TAG_MOVE_CEL 0x00004000
84
#define TAG_MAP_CEL 0x00002000
85
86
#define GLOB_COUNT 39
87
88
extern
const
char
*myRegLabels[];
89
extern
const
char
*myGlobLabels[];
90
extern
const
char
*tagLabels[];
91
92
}
// End of namespace M4
93
94
#endif
M4
Definition:
database.h:28
engines
m4
wscript
wst_regs.h
Generated on Wed Sep 3 2025 09:12:00 for ScummVM API documentation by
1.8.13