ScummVM API documentation
common.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 CHAMBER_COMMON_H
23
#define CHAMBER_COMMON_H
24
25
namespace
Chamber
{
26
27
#define BE(x) ((((x) >> 8) | ((x) << 8)) & 0xffff)
28
#define LE16(x) (x)
29
30
#define TODO(s) \
31
{ \
32
warning("%s", s); \
33
promptWait(); \
34
for(;;) ; \
35
}
36
37
#include "common/pack-start.h"
38
typedef
struct
rect_t
{
39
byte sx;
40
byte ex;
41
byte sy;
42
byte ey;
43
}
rect_t
;
44
#include "common/pack-end.h"
45
46
#if 0
47
#define DEBUG_ENDING
48
#endif
49
50
#if 0
51
#define DEBUG
52
#endif
53
54
#if 0
55
/*0 - play intro*/
56
/*0xFF - skip intro, quest item and teleport*/
57
/*other - skip intro, play quest item seq, teleport to room*/
58
#define DEBUG_SKIP_INTRO 0xFF
59
#endif
60
61
#if 1
62
#define DEBUG_ZONE
63
#endif
64
65
#if 0
66
/*Rope -> De Profundis*/
67
#define DEBUG_QUEST 0x00
68
#endif
69
70
#if 0
71
/*Knife -> The Wall*/
72
#define DEBUG_QUEST 0x40
73
#endif
74
75
#if 0
76
/*Goblet -> The Twins*/
77
#define DEBUG_QUEST 0x80
78
#endif
79
80
#if 0
81
/*Fly -> Scorpion's*/
82
#define DEBUG_QUEST 0xC0
83
#endif
84
85
#if 0
86
/*win in fights*/
87
#define CHEAT
88
#endif
89
90
#if 0
91
/*never lose to the Skull Trader*/
92
#define CHEAT_TRADER
93
#endif
94
95
}
// End of namespace Chamber
96
97
#endif
Chamber::rect_t
Definition:
common.h:38
Chamber
Definition:
anim.h:25
engines
chamber
common.h
Generated on Fri Nov 22 2024 09:04:43 for ScummVM API documentation by
1.8.13