ScummVM API documentation
room408.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_ROOM408_H
23
#define MADS_PHANTOM_ROOM408_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 Series =================== */
53
54
#define fx_north 0
/* rm408c0 */
55
#define fx_bend_down_9 1
/* rrd_9 */
56
#define fx_red_frame 2
/* rm408f0 */
57
#define fx_green_frame 3
/* rm408f1 */
58
#define fx_blue_frame 4
/* rm408f2 */
59
#define fx_yellow_frame 5
/* rm408f3 */
60
#define fx_web 6
/* rm408c1 */
61
#define fx_brick 7
/* rm408c2 */
62
#define fx_un_web 8
/* rm408x */
63
64
65
/* ======================== Triggers ========================= */
66
67
#define ROOM_408_SHOW_TEXT 60
68
#define ROOM_408_DONE 70
69
70
71
/* ========================= Other Macros ==================== */
72
73
#define NORTH_X 174
74
#define NORTH_Y 100
75
76
#define WALK_TO_NORTH_X 174
77
#define WALK_TO_NORTH_Y 106
78
79
#define SOUTH_X 175
80
#define SOUTH_Y 145
81
82
#define FLOOR_1_X 147
83
#define FLOOR_1_Y 121
84
85
#define FLOOR_2_X 153
86
#define FLOOR_2_Y 121
87
88
#define FLOOR_3_X 154
89
#define FLOOR_3_Y 115
90
91
#define FLOOR_4_X 161
92
#define FLOOR_4_Y 101
93
94
#define FLOOR_5_X 162
95
#define FLOOR_5_Y 106
96
97
#define FLOOR_6_X 187
98
#define FLOOR_6_Y 107
99
100
#define FLOOR_7_X 185
101
#define FLOOR_7_Y 101
102
103
#define FLOOR_8_X 192
104
#define FLOOR_8_Y 119
105
106
#define WALL_1_X 147
107
#define WALL_1_Y 76
108
109
#define WALL_2_X 159
110
#define WALL_2_Y 108
111
112
#define WALL_3_X 185
113
#define WALL_3_Y 93
114
115
#define WALL_4_X 199
116
#define WALL_4_Y 91
117
118
#define DYN_WEB_RIGHT_X 199
119
#define DYN_WEB_RIGHT_Y 112
120
#define DYN_WEB_RIGHT_XS 6
121
#define DYN_WEB_RIGHT_YS 12
122
#define WEB_WALK_TO_RIGHT_X 194
123
#define WEB_WALK_TO_RIGHT_Y 125
124
125
#define DYN_WEB_RIGHT_X_2 202
126
#define DYN_WEB_RIGHT_Y_2 81
127
#define DYN_WEB_RIGHT_XS_2 5
128
#define DYN_WEB_RIGHT_YS_2 31
129
#define WEB_WALK_TO_RIGHT_X_2 194
130
#define WEB_WALK_TO_RIGHT_Y_2 125
131
132
#define DYN_WEB_LEFT_X 138
133
#define DYN_WEB_LEFT_Y 74
134
#define DYN_WEB_LEFT_XS 7
135
#define DYN_WEB_LEFT_YS 33
136
#define WEB_WALK_TO_LEFT_X 154
137
#define WEB_WALK_TO_LEFT_Y 124
138
139
#define DYN_WEB_LEFT_X_2 143
140
#define DYN_WEB_LEFT_Y_2 107
141
#define DYN_WEB_LEFT_XS_2 6
142
#define DYN_WEB_LEFT_YS_2 15
143
#define WEB_WALK_TO_LEFT_X_2 154
144
#define WEB_WALK_TO_LEFT_Y_2 124
145
146
}
// namespace Rooms
147
}
// namespace Phantom
148
}
// namespace MADSV2
149
}
// namespace MADS
150
151
#endif
MADS
Definition:
mps_installer.h:31
engines
mads
madsv2
phantom
rooms
room408.h
Generated on Tue Jul 21 2026 09:14:43 for ScummVM API documentation by
1.8.13