ScummVM API documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
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
#include "m4/m4_types.h"
27
28
namespace
M4
{
29
30
enum
{
31
IDX_TIMER = 0,
32
IDX_TAG = 1,
33
IDX_LAYER = 2,
34
35
IDX_W = 3,
36
IDX_H = 4,
37
IDX_X = 5,
38
IDX_Y = 6,
39
IDX_S = 7,
40
IDX_R = 8,
41
42
IDX_CELS_HASH = 9,
43
IDX_CELS_INDEX = 10,
44
IDX_CELS_COUNT = 11,
45
IDX_CELS_FRAME_RATE = 12,
46
IDX_CELS_PIX_SPEED = 13,
47
48
IDX_TARG_S = 14,
49
IDX_TARG_R = 15,
50
IDX_TARG_X = 16,
51
IDX_TARG_Y = 17,
52
53
IDX_DELTA_S = 18,
54
IDX_DELTA_R = 19,
55
IDX_DELTA_X = 20,
56
IDX_DELTA_Y = 21,
57
58
IDX_VELOCITY = 22,
59
IDX_THETA = 23,
60
61
IDX_ZTEMP1 = 24,
62
IDX_ZTEMP2 = 25,
63
IDX_ZTEMP3 = 26,
64
IDX_ZTEMP4 = 27,
65
IDX_ZTEMP5 = 28,
66
IDX_ZTEMP6 = 29,
67
IDX_ZTEMP7 = 30,
68
IDX_ZTEMP8 = 31,
69
70
IDX_MACH_ID = 32
71
};
72
73
#define IDX_COUNT 33
74
75
#define IDX_BEZ_CTRL IDX_TARG_X
76
#define IDX_BEZ_COEFF IDX_ZTEMP1
77
78
#define TAG_COUNT 8
79
#define TAG_NONE 0x00000000
80
#define TAG_TARGS 0x00000001
81
#define TAG_BEZ 0x00000002
82
#define TAG_DELTAS 0x00000004
83
#define TAG_VECTORS 0x00000008
84
#define TAG_TEXT 0x00000010
85
#define TAG_MOVE_CEL 0x00004000
86
#define TAG_MAP_CEL 0x00002000
87
88
#define GLOB_COUNT 39
89
90
extern
const
char
*myRegLabels[];
91
extern
const
char
*myGlobLabels[];
92
extern
const
char
*tagLabels[];
93
94
}
// End of namespace M4
95
96
#endif
M4
Definition:
database.h:28
engines
m4
wscript
wst_regs.h
Generated on Thu Apr 10 2025 09:16:23 for ScummVM API documentation by
1.8.13