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
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
enum {
|
|
|
|
DIR_LEFT = 1,
|
|
|
|
DIR_RIGHT = 2,
|
|
|
|
DIR_FRONT = 3,
|
|
|
|
DIR_BACK = 4
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
enum {
|
2003-10-07 14:05:56 +00:00
|
|
|
INK_BG_PANEL = 0xE2,
|
|
|
|
INK_SELECT = 17,
|
|
|
|
INK_JOURNAL = 16,
|
|
|
|
INK_NORMAL = 1,
|
|
|
|
INK_TALK_NORMAL = 1,
|
|
|
|
INK_JOE = 17,
|
|
|
|
INK_OUTLINED_TEXT = 16
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
enum {
|
|
|
|
ZONE_ROOM = 0,
|
|
|
|
ZONE_PANEL = 1
|
2003-10-07 09:04:25 +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 17:38:01 +00:00
|
|
|
enum {
|
|
|
|
PANEL_AREA_OPEN = 1,
|
|
|
|
PANEL_AREA_CLOSE = 2,
|
|
|
|
PANEL_AREA_MOVE = 3,
|
|
|
|
PANEL_AREA_GIVE = 4,
|
|
|
|
PANEL_AREA_LOOKAT = 5,
|
|
|
|
PANEL_AREA_PICKUP = 6,
|
|
|
|
PANEL_AREA_TALKTO = 7,
|
|
|
|
PANEL_AREA_USE = 8,
|
|
|
|
PANEL_AREA_INV_UP = 9,
|
|
|
|
PANEL_AREA_INV_DOWN = 10,
|
|
|
|
PANEL_AREA_INV_1 = 11,
|
|
|
|
PANEL_AREA_INV_2 = 12,
|
|
|
|
PANEL_AREA_INV_3 = 13,
|
|
|
|
PANEL_AREA_INV_4 = 14
|
|
|
|
};
|
|
|
|
|
2003-10-14 09:12:01 +00:00
|
|
|
|
2003-10-12 18:44:44 +00:00
|
|
|
enum Language {
|
|
|
|
ENGLISH = 'E',
|
|
|
|
FRENCH = 'F',
|
|
|
|
GERMAN = 'G',
|
|
|
|
ITALIAN = 'I'
|
|
|
|
};
|
2003-10-12 17:38:01 +00:00
|
|
|
|
2003-10-14 09:12:01 +00:00
|
|
|
|
|
|
|
enum StateDirection {
|
|
|
|
STATE_DIR_BACK = 0,
|
|
|
|
STATE_DIR_RIGHT = 1,
|
|
|
|
STATE_DIR_LEFT = 2,
|
|
|
|
STATE_DIR_FRONT = 3
|
|
|
|
};
|
|
|
|
|
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-07 09:04:25 +00:00
|
|
|
} // End of namespace Queen
|
|
|
|
|
|
|
|
#endif
|