ScummVM API documentation
room407.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_PHANTOM_ROOM407_H
23
#define MADS_PHANTOM_ROOM407_H
24
25
#include "mads/madsv2/core/general.h"
26
27
namespace
MADS
{
28
namespace
MADSV2 {
29
namespace
Phantom {
30
namespace
Rooms {
31
32
#define local (&scratch)
33
#define ss local->sprite
34
#define seq local->sequence
35
#define aa local->animation
36
37
struct
Scratch {
/* Room local variables */
38
39
int16 sprite[15];
/* Sprite series handles */
40
int16 sequence[15];
/* Sequence handles */
41
int16 animation[4];
/* Animation handles */
42
int16 frame_is_here;
/* T if any frame is here */
43
int16 dyn_red;
44
int16 dyn_green;
45
int16 dyn_blue;
46
int16 dyn_yellow;
47
int16 frame_here_for_taking;
/* T if a specific frame is here */
48
49
};
50
51
52
/* ===================== Sprite seriers ====================== */
53
54
#define fx_bend_down_9 0
/* rrd_9 */
55
#define fx_red_frame 1
/* rm401f0 */
56
#define fx_green_frame 2
/* rm401f1 */
57
#define fx_blue_frame 3
/* rm401f2 */
58
#define fx_yellow_frame 4
/* rm401f3 */
59
60
/* ========================= Triggers ======================== */
61
62
63
64
/* ========================= Other Macros ==================== */
65
66
#define NORTH_X 197
67
#define NORTH_Y 14
68
69
#define WALK_TO_NORTH_X 181
70
#define WALK_TO_NORTH_Y 14
71
72
#define WEST_X -20
73
#define WEST_Y 143
74
75
#define WALK_TO_WEST_X 20
76
#define WALK_TO_WEST_Y 143
77
78
#define EAST_X 330
79
#define EAST_Y 146
80
81
#define WALK_TO_EAST_X 298
82
#define WALK_TO_EAST_Y 146
83
84
#define SOUTH_X 147
85
#define SOUTH_Y 14
86
87
#define WALK_TO_SOUTH_X 165
88
#define WALK_TO_SOUTH_Y 14
89
90
91
92
#define CAT_RIGHT_1_X 310
93
#define CAT_RIGHT_1_Y 107
94
95
#define CAT_RIGHT_2_X 308
96
#define CAT_RIGHT_2_Y 175
97
98
#define CAT_RIGHT_3_X 308
99
#define CAT_RIGHT_3_Y 146
100
101
#define CAT_RIGHT_4_X 309
102
#define CAT_RIGHT_4_Y 152
103
104
#define CAT_LEFT_1_X 9
105
#define CAT_LEFT_1_Y 46
106
107
#define CAT_LEFT_2_X 8
108
#define CAT_LEFT_2_Y 138
109
110
#define CAT_LEFT_3_X 12
111
#define CAT_LEFT_3_Y 149
112
113
#define CAT_LEFT_4_X 0
114
#define CAT_LEFT_4_Y 151
115
116
#define LAKE_X 172
117
#define LAKE_Y 18
118
119
}
// namespace Rooms
120
}
// namespace Phantom
121
}
// namespace MADSV2
122
}
// namespace MADS
123
124
#endif
MADS
Definition:
mps_installer.h:31
engines
mads
madsv2
phantom
rooms
room407.h
Generated on Tue Jul 21 2026 09:14:41 for ScummVM API documentation by
1.8.13