ScummVM API documentation
room310.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_ROOM310_H
23 #define MADS_PHANTOM_ROOM310_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 
43  word message_1; /* Raoul's message color */
44  word message_2; /* Christine's color */
45 
46  int16 multiplane_base[4]; /* Multiplanar scrolling bases */
47 
48  int16 lake_frame;
49 
50 };
51 
52 
53 #define fx_multiplane_0 0
54 #define fx_multiplane_1 0
55 #define fx_multiplane_2 0
56 #define fx_multiplane_3 0
57 
58 
59 /* ========================= Triggers ======================== */
60 
61 #define ROOM_310_CONV 60
62 #define ROOM_310_DONE 80
63 
64 
65 /* ========================= Other Macros ==================== */
66 
67 #define NUM_MULTIPLANES 4
68 
69 #define camera_ratio_1 1
70 #define camera_ratio_2 1 /* 5 */
71 
72 } // namespace Rooms
73 } // namespace Phantom
74 } // namespace MADSV2
75 } // namespace MADS
76 
77 #endif
Definition: mps_installer.h:31