ScummVM API documentation
room403.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_ROOM403_H
23
#define MADS_PHANTOM_ROOM403_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
53
/* ========================= Sprite Series =================== */
54
55
#define fx_west 0
/* rm403c0 */
56
#define fx_north 1
/* rm403c1 */
57
58
#define fx_hole 2
59
#define fx_web 3
60
#define fx_brick 4
61
#define fx_rat_nest 5
62
#define fx_skull 6
63
#define fx_plank 7
64
65
#define fx_bend_down_9 8
/* rrd_9 */
66
#define fx_red_frame 9
/* rm403f0 */
67
#define fx_green_frame 10
/* rm403f1 */
68
#define fx_blue_frame 11
/* rm403f2 */
69
#define fx_yellow_frame 12
/* rm403f3 */
70
71
#define fx_gate 13
/* rm403c9 */
72
73
74
/* ========================= Triggers ======================== */
75
76
#define ROOM_403_SHOW_TEXT 60
77
78
/* ========================= Other Macros ==================== */
79
80
#define NORTH_X 212
81
#define NORTH_Y 86
82
83
#define WALK_TO_NORTH_X 212
84
#define WALK_TO_NORTH_Y 100
85
86
#define WEST_X 3
87
#define WEST_Y 128
88
89
#define WALK_TO_WEST_X 40
90
#define WALK_TO_WEST_Y 128
91
92
#define EAST_X 330
93
#define EAST_Y 126
94
95
#define WALK_TO_EAST_X 305
96
#define WALK_TO_EAST_Y 126
97
98
#define SOUTH_X 175
99
#define SOUTH_Y 147
100
101
#define BRICK_X 178
102
#define BRICK_Y 35
103
104
}
// namespace Rooms
105
}
// namespace Phantom
106
}
// namespace MADSV2
107
}
// namespace MADS
108
109
#endif
MADS
Definition:
mps_installer.h:31
engines
mads
madsv2
phantom
rooms
room403.h
Generated on Tue Jul 21 2026 09:14:43 for ScummVM API documentation by
1.8.13