/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * */ #ifndef CHAMBER_COMMON_H #define CHAMBER_COMMON_H namespace Chamber { #define BE(x) ((((x) >> 8) | ((x) << 8)) & 0xffff) #define LE16(x) (x) #define TODO(s) \ { \ warning("%s", s); \ promptWait(); \ for(;;) ; \ } #include "common/pack-start.h" typedef struct rect_t { byte sx; byte ex; byte sy; byte ey; } rect_t; #include "common/pack-end.h" #if 0 #define DEBUG_ENDING #endif #if 0 #define DEBUG #endif #if 0 /*0 - play intro*/ /*0xFF - skip intro, quest item and teleport*/ /*other - skip intro, play quest item seq, teleport to room*/ #define DEBUG_SKIP_INTRO 0xFF #endif #if 1 #define DEBUG_ZONE #endif #if 0 /*Rope -> De Profundis*/ #define DEBUG_QUEST 0x00 #endif #if 0 /*Knife -> The Wall*/ #define DEBUG_QUEST 0x40 #endif #if 0 /*Goblet -> The Twins*/ #define DEBUG_QUEST 0x80 #endif #if 0 /*Fly -> Scorpion's*/ #define DEBUG_QUEST 0xC0 #endif #if 0 /*win in fights*/ #define CHEAT #endif #if 0 /*never lose to the Skull Trader*/ #define CHEAT_TRADER #endif } // End of namespace Chamber #endif