ScummVM API documentation
room501.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_ROOM501_H
23
#define MADS_PHANTOM_ROOM501_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 anim_0_running;
43
int16 prevent_2;
44
45
};
46
47
48
/* ========================= Sprite Series =================== */
49
50
#define fx_flame 0
/* rm501x0 */
51
#define fx_door 1
/* rm501x1 */
52
#define fx_left_door 2
/* rm501x2 */
53
#define fx_take_6 3
/* rdrr_6 */
54
#define fx_boat 4
/* rm501x3 */
55
#define fx_shove_off 5
/* rm501a1 */
56
#define fx_christine 6
/* *chr_6 */
57
/* *chr_9 */
58
/* *chr_8 */
59
60
61
62
/* ========================= Triggers ======================== */
63
64
#define ROOM_501_LEFT_DOOR_CLOSES 55
65
#define ROOM_501_DOOR_CLOSES 60
66
#define ROOM_501_DOOR_OPENS 65
67
#define ROOM_501_FROM_506 80
68
#define ROOM_501_SHOVE_OFF 90
69
#define ROOM_501_START_ROWING 100
70
71
/* ========================= Other Macros ==================== */
72
73
#define PLAYER_X_FROM_506 305
74
#define PLAYER_Y_FROM_506 112
75
76
#define WALK_TO_X_FROM_506 260
77
#define WALK_TO_Y_FROM_506 112
78
79
#define PLAYER_X_FROM_502 319
80
#define PLAYER_Y_FROM_502 116
81
82
#define WALK_TO_X_FROM_502 286
83
#define WALK_TO_Y_FROM_502 119
84
85
#define WEST_X -20
86
#define WEST_Y 109
87
88
#define WALK_TO_WEST_X 24
89
#define WALK_TO_WEST_Y 109
90
91
#define DOOR_LEFT_X 266
92
#define DOOR_LEFT_Y 112
93
94
#define DOOR_RIGHT_X 287
95
#define DOOR_RIGHT_Y 118
96
97
#define CHRIS_X_LEFT 113
98
#define CHRIS_Y_LEFT 93
99
100
#define CHRIS_X_RIGHT 125
101
#define CHRIS_Y_RIGHT 94
102
103
#define CONV_MISC 26
104
105
#define WALK_TO_CAT_NO_X 24
106
#define WALK_TO_CAT_NO_Y 110
107
108
}
// namespace Rooms
109
}
// namespace Phantom
110
}
// namespace MADSV2
111
}
// namespace MADS
112
113
#endif
MADS
Definition:
mps_installer.h:31
engines
mads
madsv2
phantom
rooms
room501.h
Generated on Tue Jul 21 2026 09:14:41 for ScummVM API documentation by
1.8.13