2003-10-07 09:04:25 +00:00
|
|
|
/* ScummVM - Scumm Interpreter
|
|
|
|
* Copyright (C) 2003 The ScummVM project
|
|
|
|
*
|
|
|
|
* 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 2
|
|
|
|
* 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, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*
|
|
|
|
* $Header$
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QUEENDEFS_H
|
|
|
|
#define QUEENDEFS_H
|
|
|
|
|
|
|
|
namespace Queen {
|
|
|
|
|
2003-10-18 11:46:52 +00:00
|
|
|
// Maybe should be an inlined function somwhere else, feel free to change
|
|
|
|
#define InRange(x,l,h) ((x)<=(h) && (x)>=(l)) /* X in [l..h] */
|
2003-10-07 09:04:25 +00:00
|
|
|
|
2003-10-20 19:18:02 +00:00
|
|
|
enum {
|
|
|
|
COMPRESSION_NONE = 0,
|
|
|
|
COMPRESSION_MP3 = 1,
|
|
|
|
COMPRESSION_OGG = 2
|
|
|
|
};
|
|
|
|
|
2003-10-07 09:04:25 +00:00
|
|
|
enum {
|
|
|
|
GAME_SCREEN_WIDTH = 320,
|
|
|
|
GAME_SCREEN_HEIGHT = 200,
|
|
|
|
ROOM_ZONE_HEIGHT = 150,
|
|
|
|
PANEL_ZONE_HEIGHT = 50
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
enum {
|
|
|
|
FRAMES_JOE = 36,
|
|
|
|
FRAMES_JOE_XTRA = 2,
|
|
|
|
FRAMES_JOURNAL = 40
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2003-10-21 09:05:16 +00:00
|
|
|
enum Direction {
|
2003-10-07 09:04:25 +00:00
|
|
|
DIR_LEFT = 1,
|
|
|
|
DIR_RIGHT = 2,
|
|
|
|
DIR_FRONT = 3,
|
|
|
|
DIR_BACK = 4
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
enum {
|
2003-10-27 15:00:25 +00:00
|
|
|
INK_BG_PANEL = 226,
|
2003-10-31 13:47:28 +00:00
|
|
|
INK_JOURNAL = 248,
|
2003-11-04 14:29:52 +00:00
|
|
|
INK_MAP7 = 243,
|
2003-10-31 13:47:28 +00:00
|
|
|
INK_CMD_SELECT = 255,
|
|
|
|
INK_CMD_NORMAL = 225,
|
2003-10-27 15:00:25 +00:00
|
|
|
INK_CMD_LOCK = 234,
|
2003-10-31 13:47:28 +00:00
|
|
|
INK_TALK_NORMAL = 7,
|
|
|
|
INK_JOE = 14,
|
2003-10-07 14:05:56 +00:00
|
|
|
INK_OUTLINED_TEXT = 16
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
enum {
|
|
|
|
ZONE_ROOM = 0,
|
|
|
|
ZONE_PANEL = 1
|
2003-10-07 09:04:25 +00:00
|
|
|
};
|
|
|
|
|
2003-11-06 15:47:37 +00:00
|
|
|
enum {
|
2003-11-07 02:33:20 +00:00
|
|
|
ITEM_NONE = 0,
|
2003-11-06 15:47:37 +00:00
|
|
|
ITEM_BAT = 1,
|
|
|
|
ITEM_JOURNAL,
|
|
|
|
ITEM_JOURNAL_DEMO = 7,
|
|
|
|
ITEM_KNIFE = 3,
|
|
|
|
ITEM_COCONUT_HALVES,
|
|
|
|
ITEM_BEEF_JERKY,
|
|
|
|
ITEM_PROPELLER,
|
|
|
|
ITEM_BANANA,
|
|
|
|
ITEM_VINE,
|
|
|
|
ITEM_SLOTH_HAIR,
|
|
|
|
ITEM_COMIC_BOOK,
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ORN_PAGE
|
|
|
|
};
|
2003-10-07 09:04:25 +00:00
|
|
|
|
2003-11-03 03:42:20 +00:00
|
|
|
enum {
|
2003-11-06 15:47:37 +00:00
|
|
|
ROOM_JUNGLE_INSIDE_PLANE = 1,
|
|
|
|
ROOM_JUNGLE_OUTSIDE_PLANE = 2,
|
|
|
|
ROOM_JUNGLE_PINNACLE = 7,
|
|
|
|
ROOM_JUNGLE_SLOTH = 8,
|
|
|
|
ROOM_JUNGLE_BUD_SKIP = 9,
|
|
|
|
ROOM_JUNGLE_BEETLE = 11,
|
|
|
|
ROOM_JUNGLE_MISSIONARY = 13,
|
2003-11-03 03:42:20 +00:00
|
|
|
|
2003-11-06 15:47:37 +00:00
|
|
|
ROOM_AMAZON_ENTRANCE = 16,
|
|
|
|
ROOM_AMAZON_HIDEOUT = 17,
|
|
|
|
ROOM_AMAZON_THRONE = 18,
|
|
|
|
ROOM_AMAZON_JAIL = 19,
|
2003-11-03 03:42:20 +00:00
|
|
|
|
2003-11-06 15:47:37 +00:00
|
|
|
ROOM_VILLAGE = 20,
|
|
|
|
ROOM_TRADER_BOBS = 21,
|
2003-11-03 03:42:20 +00:00
|
|
|
|
2003-11-06 15:47:37 +00:00
|
|
|
ROOM_FLODA_OUTSIDE = 22,
|
|
|
|
ROOM_FLODA_KITCHEN = 26,
|
|
|
|
ROOM_FLODA_LOCKERROOM = 27,
|
|
|
|
ROOM_FLODA_KLUNK = 30,
|
|
|
|
ROOM_FLODA_HENRY = 32,
|
|
|
|
ROOM_FLODA_OFFICE = 35,
|
|
|
|
ROOM_FLODA_JAIL = 41,
|
|
|
|
ROOM_FLODA_FRONTDESK = 103,
|
|
|
|
|
|
|
|
ROOM_TEMPLE_OUTSIDE = 43,
|
|
|
|
ROOM_TEMPLE_MUMMIES = 46,
|
|
|
|
ROOM_TEMPLE_ZOMBIES = 50,
|
|
|
|
ROOM_TEMPLE_SNAKE = 53,
|
|
|
|
ROOM_TEMPLE_LIZARD_LASER = 55,
|
|
|
|
ROOM_TEMPLE_MAZE = 58,
|
|
|
|
ROOM_TEMPLE_MAZE2 = 59,
|
|
|
|
ROOM_TEMPLE_MAZE3 = 60,
|
|
|
|
ROOM_TEMPLE_MAZE4 = 61,
|
2003-11-03 03:42:20 +00:00
|
|
|
|
2003-11-06 15:47:37 +00:00
|
|
|
ROOM_HOTEL_UPSTAIRS = 70,
|
|
|
|
ROOM_HOTEL_DOWNSTAIRS = 71,
|
|
|
|
ROOM_HOTEL_LOLA = 72,
|
|
|
|
ROOM_HOTEL_LOBBY = 73,
|
2003-11-03 03:42:20 +00:00
|
|
|
|
|
|
|
//special
|
2003-11-06 15:47:37 +00:00
|
|
|
SPARKY_OUTSIDE_HOTEL = 77,
|
|
|
|
DEATH_MASK = 79,
|
|
|
|
IBI_LOGO = 82,
|
|
|
|
COMIC_1 = 87,
|
|
|
|
COMIC_2 = 88,
|
|
|
|
COMIC_3 = 89,
|
|
|
|
UNUSED_INTRO_1 = 91,
|
|
|
|
UNUSED_INTRO_2 = 92,
|
|
|
|
UNUSED_INTRO_3 = 93,
|
|
|
|
UNUSED_INTRO_4 = 94,
|
|
|
|
FOTAQ_LOGO = 95,
|
|
|
|
AZURA_1 = 106,
|
|
|
|
WARNER_LOGO = 126
|
2003-11-03 03:42:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2003-10-09 13:14:16 +00:00
|
|
|
//! GameState vars
|
|
|
|
enum {
|
2003-10-18 08:12:56 +00:00
|
|
|
VAR_DRESSING_MODE = 19, // 0=normal clothes, 1=underwear, 2=dress
|
|
|
|
VAR_ROOM73_CUTAWAY = 93,
|
|
|
|
VAR_INTRO_PLAYED = 117
|
2003-10-09 13:14:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2003-10-12 18:44:44 +00:00
|
|
|
enum Language {
|
|
|
|
ENGLISH = 'E',
|
|
|
|
FRENCH = 'F',
|
|
|
|
GERMAN = 'G',
|
2003-11-02 20:42:36 +00:00
|
|
|
HEBREW = 'H',
|
2003-10-30 23:20:47 +00:00
|
|
|
ITALIAN = 'I',
|
|
|
|
SPANISH = 'S'
|
2003-10-12 18:44:44 +00:00
|
|
|
};
|
2003-10-12 17:38:01 +00:00
|
|
|
|
2003-10-14 09:12:01 +00:00
|
|
|
|
2003-10-15 09:23:05 +00:00
|
|
|
enum StateTalk {
|
|
|
|
STATE_TALK_TALK,
|
|
|
|
STATE_TALK_MUTE
|
|
|
|
};
|
|
|
|
|
2003-10-14 09:12:01 +00:00
|
|
|
|
2003-10-21 09:05:16 +00:00
|
|
|
enum StateGrab {
|
|
|
|
STATE_GRAB_NONE,
|
|
|
|
STATE_GRAB_DOWN,
|
|
|
|
STATE_GRAB_UP,
|
|
|
|
STATE_GRAB_MID
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2003-10-23 08:09:49 +00:00
|
|
|
enum StateOn {
|
|
|
|
STATE_ON_ON,
|
|
|
|
STATE_ON_OFF
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2003-10-25 20:26:50 +00:00
|
|
|
enum StateUse {
|
|
|
|
STATE_USE,
|
|
|
|
STATE_USE_ON
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2003-10-07 09:04:25 +00:00
|
|
|
} // End of namespace Queen
|
|
|
|
|
|
|
|
#endif
|