2014-12-24 09:58:47 +11:00
|
|
|
/* 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 2
|
|
|
|
* of the License, or (at your option) any later version.
|
2015-01-01 14:57:56 -10:00
|
|
|
*
|
2014-12-24 09:58:47 +11:00
|
|
|
* 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.
|
2015-01-01 14:57:56 -10:00
|
|
|
*
|
2014-12-24 09:58:47 +11:00
|
|
|
* 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "common/scummsys.h"
|
|
|
|
#include "xeen/resources.h"
|
|
|
|
|
|
|
|
namespace Xeen {
|
|
|
|
|
2015-01-01 14:57:56 -10:00
|
|
|
const char *const CREDITS =
|
2015-01-02 12:34:45 -10:00
|
|
|
"\013""012\010""000\003""c\014""35Designed and Directed By:\n"
|
|
|
|
"\014""17Jon Van Caneghem\003""l\n"
|
2015-01-01 14:57:56 -10:00
|
|
|
"\n"
|
2015-01-02 12:34:45 -10:00
|
|
|
"\t025\014""35Programming:\n"
|
|
|
|
"\t035\014""17Mark Caldwell\n"
|
2015-01-01 14:57:56 -10:00
|
|
|
"\t035Dave Hathaway\n"
|
|
|
|
"\n"
|
2015-01-02 12:34:45 -10:00
|
|
|
"\t025\014""35Sound System & FX:\n"
|
|
|
|
"\t035\014""17Mike Heilemann\n"
|
2015-01-01 14:57:56 -10:00
|
|
|
"\n"
|
2015-01-02 12:34:45 -10:00
|
|
|
"\t025\014""35Music & Speech:\n"
|
|
|
|
"\t035\014""17Tim Tully\n"
|
2015-01-01 14:57:56 -10:00
|
|
|
"\n"
|
2015-01-02 12:34:45 -10:00
|
|
|
"\t025\014""35Writing:\n"
|
|
|
|
"\t035\014""17Paul Rattner\n"
|
2015-01-01 14:57:56 -10:00
|
|
|
"\t035Debbie Van Caneghem\n"
|
2015-01-02 12:34:45 -10:00
|
|
|
"\t035Jon Van Caneghem\013""012\n"
|
2015-01-01 14:57:56 -10:00
|
|
|
"\n"
|
|
|
|
"\n"
|
2015-01-02 12:34:45 -10:00
|
|
|
"\t180\014""35Graphics:\n"
|
|
|
|
"\t190\014""17Jonathan P. Gwyn\n"
|
2015-01-01 14:57:56 -10:00
|
|
|
"\t190Bonita Long-Hemsath\n"
|
|
|
|
"\t190Julia Ulano\n"
|
|
|
|
"\t190Ricardo Barrera\n"
|
|
|
|
"\n"
|
2015-01-02 12:34:45 -10:00
|
|
|
"\t180\014""35Testing:\n"
|
|
|
|
"\t190\014""17Benjamin Bent\n"
|
2015-01-01 14:57:56 -10:00
|
|
|
"\t190Christian Dailey\n"
|
|
|
|
"\t190Mario Escamilla\n"
|
|
|
|
"\t190Marco Hunter\n"
|
|
|
|
"\t190Robert J. Lupo\n"
|
|
|
|
"\t190Clayton Retzer\n"
|
2015-01-02 12:34:45 -10:00
|
|
|
"\t190David Vela\003""c";
|
2015-01-01 14:57:56 -10:00
|
|
|
|
|
|
|
const char *const OPTIONS_TITLE =
|
2015-01-02 12:34:45 -10:00
|
|
|
"\x0D\x01\003""c\014""dMight and Magic Options\n"
|
2015-01-01 14:57:56 -10:00
|
|
|
"World of Xeen\x02\n"
|
|
|
|
"\v117Copyright (c) 1993 NWC, Inc.\n"
|
|
|
|
"All Rights Reserved\x01";
|
|
|
|
|
|
|
|
const byte SYMBOLS[20][64] = {
|
|
|
|
{ //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0, 0xA0, 0x9E, 0xA0, 0xA0, 0xA0, 0xA0, 0xAC,
|
|
|
|
0xA4, 0xA4, 0xA4, 0xA4, 0xA4, 0xA4, 0xAC, 0x00, 0xAC, 0xAC, 0xAC, 0xAC, 0xAC, 0xAC, 0x00, 0x00,
|
2014-12-26 10:05:51 +11:00
|
|
|
}
|
2015-01-01 14:57:56 -10:00
|
|
|
};
|
2014-12-26 18:31:05 +11:00
|
|
|
|
2015-01-01 14:57:56 -10:00
|
|
|
const byte TEXT_COLORS[40][4] = {
|
|
|
|
{ 0x00, 0x19, 0x19, 0x19 },
|
|
|
|
{ 0x00, 0x08, 0x08, 0x08 },
|
|
|
|
{ 0x00, 0x0F, 0x0F, 0x0F },
|
|
|
|
{ 0x00, 0x15, 0x15, 0x15 },
|
|
|
|
{ 0x00, 0x01, 0x01, 0x01 },
|
|
|
|
{ 0x00, 0x21, 0x21, 0x21 },
|
|
|
|
{ 0x00, 0x26, 0x26, 0x26 },
|
|
|
|
{ 0x00, 0x2B, 0x2B, 0x2B },
|
|
|
|
{ 0x00, 0x31, 0x31, 0x31 },
|
|
|
|
{ 0x00, 0x36, 0x36, 0x36 },
|
|
|
|
{ 0x00, 0x3D, 0x3D, 0x3D },
|
|
|
|
{ 0x00, 0x41, 0x41, 0x41 },
|
|
|
|
{ 0x00, 0x46, 0x46, 0x46 },
|
|
|
|
{ 0x00, 0x4C, 0x4C, 0x4C },
|
|
|
|
{ 0x00, 0x50, 0x50, 0x50 },
|
|
|
|
{ 0x00, 0x55, 0x55, 0x55 },
|
|
|
|
{ 0x00, 0x5D, 0x5D, 0x5D },
|
|
|
|
{ 0x00, 0x60, 0x60, 0x60 },
|
|
|
|
{ 0x00, 0x65, 0x65, 0x65 },
|
|
|
|
{ 0x00, 0x6C, 0x6C, 0x6C },
|
|
|
|
{ 0x00, 0x70, 0x70, 0x70 },
|
|
|
|
{ 0x00, 0x75, 0x75, 0x75 },
|
|
|
|
{ 0x00, 0x7B, 0x7B, 0x7B },
|
|
|
|
{ 0x00, 0x80, 0x80, 0x80 },
|
|
|
|
{ 0x00, 0x85, 0x85, 0x85 },
|
|
|
|
{ 0x00, 0x8D, 0x8D, 0x8D },
|
|
|
|
{ 0x00, 0x90, 0x90, 0x90 },
|
|
|
|
{ 0x00, 0x97, 0x97, 0x97 },
|
|
|
|
{ 0x00, 0x9D, 0x9D, 0x9D },
|
|
|
|
{ 0x00, 0xA4, 0xA4, 0xA4 },
|
|
|
|
{ 0x00, 0xAB, 0xAB, 0xAB },
|
|
|
|
{ 0x00, 0xB0, 0xB0, 0xB0 },
|
|
|
|
{ 0x00, 0xB6, 0xB6, 0xB6 },
|
|
|
|
{ 0x00, 0xBD, 0xBD, 0xBD },
|
|
|
|
{ 0x00, 0xC0, 0xC0, 0xC0 },
|
|
|
|
{ 0x00, 0xC6, 0xC6, 0xC6 },
|
|
|
|
{ 0x00, 0xCD, 0xCD, 0xCD },
|
|
|
|
{ 0x00, 0xD0, 0xD0, 0xD0 },
|
|
|
|
{ 0x00, 0xD6, 0xD6, 0xD6 },
|
|
|
|
{ 0x00, 0xDB, 0xDB, 0xDB },
|
|
|
|
};
|
2014-12-30 10:22:05 -10:00
|
|
|
|
2015-01-03 19:08:30 -05:00
|
|
|
const char *const DIRECTION_TEXT[4] = { "NORTH", "EAST", "SOUTH", "WEST" };
|
|
|
|
|
|
|
|
const char *const RACE_NAMES[5] = { "Human", "Elf", "Dwarf", "Gnome", "H-Orc" };
|
|
|
|
|
|
|
|
const char *const ALIGNMENT_NAMES[3] = { "Good", "Neutral", "Evil" };
|
|
|
|
|
|
|
|
const char *const SEX_NAMES[2] = { "Male", "Female" };
|
|
|
|
|
|
|
|
const char *const CLASS_NAMES[11] = {
|
|
|
|
"Knight", "Paladin", "Archer", "Cleric", "Sorcerer", "Robber",
|
|
|
|
"Ninja", "Barbarian", "Druid", "Ranger", nullptr
|
|
|
|
};
|
|
|
|
|
|
|
|
const char *const CONDITION_NAMES[18] = {
|
|
|
|
nullptr, "Cursed", "Heart Broken", "Weak", "Poisoned", "Diseased",
|
|
|
|
"Insane", "In Love", "Drunk", "Asleep", "Depressed", "Confused",
|
|
|
|
"Paralyzed", "Unconscious", "Dead", "Stone", "Eradicated", "Good"
|
|
|
|
};
|
|
|
|
|
|
|
|
const char *const IN_PARTY = "\014""15In Party\014""d";
|
|
|
|
|
|
|
|
const char *const PARTY_DETAILS = "\015\003l\002\014""00"
|
|
|
|
"\013""001""\011""035%s"
|
|
|
|
"\013""009""\011""035%s"
|
|
|
|
"\013""017""\011""035%s"
|
|
|
|
"\013""025""\011""035%s"
|
|
|
|
"\013""001""\011""136%s"
|
|
|
|
"\013""009""\011""136%s"
|
|
|
|
"\013""017""\011""136%s"
|
|
|
|
"\013""025""\011""136%s"
|
|
|
|
"\013""044""\011""035%s"
|
|
|
|
"\013""052""\011""035%s"
|
|
|
|
"\013""060""\011""035%s"
|
|
|
|
"\013""068""\011""035%s"
|
|
|
|
"\013""044""\011""136%s"
|
|
|
|
"\013""052""\011""136%s"
|
|
|
|
"\013""060""\011""136%s"
|
|
|
|
"\013""068""\011""136%s";
|
|
|
|
|
|
|
|
const int FACE_CONDITION_FRAMES[17] = {
|
|
|
|
2, 2, 2, 1, 1, 4, 4, 4, 3, 2, 4, 3, 3, 5, 6, 7, 0
|
|
|
|
};
|
|
|
|
|
|
|
|
const int CHAR_FACES_X[6] = { 10, 45, 81, 117, 153, 189 };
|
|
|
|
|
|
|
|
const int HP_BARS_X[6] = { 13, 50, 86, 122, 158, 194 };
|
2015-01-02 16:54:59 -10:00
|
|
|
|
2015-01-05 08:11:16 -05:00
|
|
|
const char *const NO_ONE_TO_ADVENTURE_WITH = "You have no one to adventure with";
|
|
|
|
|
|
|
|
const char *const YOUR_ROSTER_IS_FULL = "Your Roster is full!";
|
|
|
|
|
|
|
|
const byte BACKGROUND_XLAT[] = {
|
|
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x00, 0x00, 0xF7, 0xFF, 0x09, 0x00, 0x00, 0x00,
|
|
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x00, 0x00, 0xF9, 0xFF, 0x07, 0x00, 0x00, 0x00,
|
|
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x00, 0x00, 0xF7, 0xFF, 0x09, 0x00, 0x00, 0x00,
|
|
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x00, 0x00, 0xF5, 0xFF, 0x0B, 0x00, 0x00, 0x00,
|
|
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x00, 0x00, 0xF3, 0xFF, 0x0D, 0x00, 0x00, 0x00,
|
|
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x00, 0x00
|
|
|
|
};
|
|
|
|
|
|
|
|
const char *const PLEASE_WAIT = "\014""d\003""c\011""000"
|
|
|
|
"\013""002Please Wait...";
|
|
|
|
|
|
|
|
const char *const OOPS = "\003""c\011""000\013""002Oops...";
|
|
|
|
|
2015-01-11 20:35:32 -05:00
|
|
|
const int8 SCREEN_POSITIONING_X[4][48] = {
|
|
|
|
{
|
|
|
|
-1, 0, 0, 0, 1, -1, 0, 0, 0, 1, -2, -1,
|
|
|
|
-1, 0, 0, 0, 1, 1, 2, -4, -3, -3, -2, -2,
|
|
|
|
-1, -1, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4,
|
|
|
|
-3, -2, -1, 0, 0, 1, 2, 3, -4, 4, 0, 0
|
|
|
|
}, {
|
|
|
|
0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2,
|
|
|
|
2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3,
|
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
|
|
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 0, 1
|
|
|
|
}, {
|
|
|
|
1, 0, 0, 0, -1, 1, 0, 0, 0, -1, 2, 1,
|
|
|
|
1, 0, 0, 0, -1, -1, -2, 4, 3, 3, 2, 2,
|
|
|
|
1, 1, 0, 0, 0, -1, -1, -2, -2, -3, -3, -4,
|
|
|
|
3, 2, 1, 0, 0, -1, -2, -3, 4, -4, 0, 0
|
|
|
|
}, {
|
|
|
|
0, 0, 0, 0, 0, -1, -1, -1, -1, -1, -2, -2,
|
|
|
|
-2, -2, -2, -2, -2, -2, -2, -3, -3, -3, -3, -3,
|
|
|
|
-3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3,
|
|
|
|
-4, -4, -4, -4, -4, -4, -4, -4, -4, -4, 0, -1
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
const int8 SCREEN_POSITIONING_Y[4][48] = {
|
|
|
|
{
|
|
|
|
0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2,
|
|
|
|
2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3,
|
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
|
|
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 0, 1
|
|
|
|
}, {
|
|
|
|
1, 0, 0, 0, -1, 1, 0, 0, 0, -1, 2, 1,
|
|
|
|
1, 0, 0, 0, -1, -1, -2, 4, 3, 3, 2, 2,
|
|
|
|
1, 1, 0, 0, 0, -1, -1, -2, -2, -3, -3, -4,
|
|
|
|
3, 2, 1, 0, 0, -1, -2, -3, 4, -4, 0, 0
|
|
|
|
}, {
|
|
|
|
0, 0, 0, 0, 0, -1, -1, -1, -1, -1, -2, -2,
|
|
|
|
-2, -2, -2, -2, -2, -2, -2, -3, -3, -3, -3, -3,
|
|
|
|
-3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3,
|
|
|
|
-4, -4, -4, -4, -4, -4, -4, -4, -4, -4, 0, -1
|
|
|
|
}, {
|
|
|
|
-1, 0, 0, 0, 1, -1, 0, 0, 0, 1, -2, -1,
|
|
|
|
-1, 0, 0, 0, 1, 1, 2, -4, -3, -3, -2, -2,
|
|
|
|
-1, -1, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4,
|
|
|
|
-3, -2, -1, 0, 0, 1, 2, 3, -4, 4, 0, 0
|
|
|
|
}
|
2015-01-09 22:27:48 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
const int INDOOR_OBJECT_X[2][12] = {
|
|
|
|
{ 5, -7, -112, 98, -8, -65, 49, -9, -34, 16, -58, 40 },
|
|
|
|
{ -35, -35, -142, 68, -35, -95, 19, -35, -62, -14, -98, 16 }
|
|
|
|
};
|
|
|
|
|
|
|
|
const int INDOOR_OBJECT_Y[2][12] = {
|
|
|
|
{ 2, 25, 25, 25, 50, 50, 50, 58, 58, 58, 58, 58 },
|
|
|
|
{ -65, -6, -6, -6, 36, 36, 36, 54, 54, 54, 54, 54 }
|
|
|
|
};
|
|
|
|
|
|
|
|
const int OUTDOOR_OBJECT_X[2][12] = {
|
|
|
|
{ -5, -7, -112, 98, -8, -77, 61, -9, -43, 25, -74, 56 },
|
|
|
|
{ -35, -35, -142, 68, -35, -95, 19, -35, -62, -24, -98, 16 }
|
|
|
|
};
|
|
|
|
|
|
|
|
const int OUTDOOR_OBJECT_Y[2][12] = {
|
|
|
|
{ 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 69 },
|
|
|
|
{ 70, 71, 72, 73, 74, 75, 90, 91, 92, 93, 94, 112 }
|
|
|
|
};
|
|
|
|
|
2015-01-11 19:30:02 -05:00
|
|
|
const int DIRECTION_ANIM_POSITIONS[4][4] = {
|
|
|
|
{ 0, 1, 2, 3 }, { 3, 0, 1, 2 }, { 2, 3, 0, 1 }, { 1, 2, 3, 0 }
|
|
|
|
};
|
|
|
|
|
2015-01-11 23:55:46 -05:00
|
|
|
const byte WALL_NUMBERS[4][96] = {
|
|
|
|
{
|
|
|
|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