ScummVM API documentation
room410.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_ROOM410_H
23 #define MADS_PHANTOM_ROOM410_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 {
38  int16 num[26];
39 } skull_seq;
40 
41 /* this contains the handles returned from stamping
42  skull down in Init code for later deletion in Parser
43  (when the lever is flipped) */
44 
45 
46 struct Scratch { /* Room local variables */
47 
48  int16 sprite[15]; /* Sprite series handles */
49  int16 sequence[15]; /* Sequence handles */
50  int16 animation[4]; /* Animation handles */
51 
52 };
53 
54 /* ========================= Sprite Series =================== */
55 
56 #define fx_skull_0 0 /* rm410l0 */
57 #define fx_skull_1 1 /* rm410l1 */
58 #define fx_skull_2 2 /* rm410l2 */
59 #define fx_hand 3 /* rm410a0 */
60 #define fx_alphabet 4 /* rm410f0 */
61 
62 } // namespace Rooms
63 } // namespace Phantom
64 } // namespace MADSV2
65 } // namespace MADS
66 
67 #endif
Definition: mps_installer.h:31