2007-05-30 21:56:52 +00:00
|
|
|
/* ScummVM - Graphic Adventure Engine
|
2004-04-12 21:40:49 +00:00
|
|
|
*
|
2007-05-30 21:56:52 +00:00
|
|
|
* 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.
|
2004-04-12 21:40:49 +00:00
|
|
|
*
|
|
|
|
* 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.
|
2014-02-18 02:34:24 +01:00
|
|
|
*
|
2004-04-12 21:40:49 +00:00
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2008-01-05 12:45:14 +00:00
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2004-04-12 21:40:49 +00:00
|
|
|
* GNU General Public License for more details.
|
2014-02-18 02:34:24 +01:00
|
|
|
*
|
2004-04-12 21:40:49 +00:00
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
2005-10-18 01:30:26 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2004-04-12 21:40:49 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2004-05-01 06:16:57 +00:00
|
|
|
// Actor data table header file
|
2004-04-12 21:40:49 +00:00
|
|
|
|
2005-01-28 12:54:09 +00:00
|
|
|
#ifndef SAGA_ITEDATA_H
|
|
|
|
#define SAGA_ITEDATA_H
|
2004-04-12 21:40:49 +00:00
|
|
|
|
|
|
|
namespace Saga {
|
|
|
|
|
2004-12-22 21:04:50 +00:00
|
|
|
enum ActorFlags {
|
2007-06-07 23:39:31 +00:00
|
|
|
kProtagonist = 0x01, // (1<<0) Actor is protagonist
|
|
|
|
kFollower = 0x02, // (1<<1) Actor is follower
|
|
|
|
kCycle = 0x04, // (1<<2) Actor stand has a cycle
|
|
|
|
kFaster = 0x08, // (1<<3) Actor is fast
|
|
|
|
kFastest = 0x10, // (1<<4) Actor is faster
|
|
|
|
kExtended = 0x20, // (1<<5) Actor uses extended sprites
|
|
|
|
kUsable = 0x40, // (1<<6) Actor can be used
|
|
|
|
kNoScale = 0x80 // (1<<7) Actor is not scaled
|
2004-10-26 07:01:26 +00:00
|
|
|
};
|
|
|
|
|
2004-12-18 20:33:02 +00:00
|
|
|
struct ActorTableData {
|
2004-10-26 07:01:26 +00:00
|
|
|
byte flags;
|
2004-12-17 20:38:17 +00:00
|
|
|
byte nameIndex;
|
|
|
|
int32 sceneIndex;
|
2004-10-26 07:01:26 +00:00
|
|
|
int16 x;
|
|
|
|
int16 y;
|
|
|
|
int16 z;
|
2004-12-17 20:38:17 +00:00
|
|
|
int32 spriteListResourceId;
|
|
|
|
int32 frameListResourceId;
|
2005-01-15 20:12:49 +00:00
|
|
|
byte scriptEntrypointNumber;
|
2004-12-17 20:38:17 +00:00
|
|
|
byte speechColor;
|
2004-12-22 21:04:50 +00:00
|
|
|
byte currentAction;
|
|
|
|
byte facingDirection;
|
|
|
|
byte actionDirection;
|
2004-04-25 14:42:14 +00:00
|
|
|
};
|
2004-04-12 21:40:49 +00:00
|
|
|
|
2005-01-15 20:12:49 +00:00
|
|
|
#define ITE_ACTORCOUNT 181
|
2004-04-12 21:40:49 +00:00
|
|
|
|
2005-01-15 20:12:49 +00:00
|
|
|
extern ActorTableData ITE_ActorTable[ITE_ACTORCOUNT];
|
2004-04-12 21:40:49 +00:00
|
|
|
|
2005-01-28 12:54:09 +00:00
|
|
|
enum {
|
|
|
|
kObjUseWith = 0x01,
|
|
|
|
kObjNotFlat = 0x02
|
|
|
|
};
|
|
|
|
|
|
|
|
struct ObjectTableData {
|
|
|
|
byte nameIndex;
|
|
|
|
int32 sceneIndex;
|
|
|
|
int16 x;
|
|
|
|
int16 y;
|
|
|
|
int16 z;
|
2005-04-22 14:11:04 +00:00
|
|
|
int32 spriteListResourceId;
|
2005-01-28 12:54:09 +00:00
|
|
|
byte scriptEntrypointNumber;
|
|
|
|
uint16 interactBits;
|
|
|
|
};
|
|
|
|
|
2010-10-22 23:13:17 +00:00
|
|
|
struct IteFxTable {
|
|
|
|
byte res;
|
|
|
|
byte vol;
|
2005-08-07 00:00:43 +00:00
|
|
|
};
|
|
|
|
|
2014-07-20 16:28:53 +03:00
|
|
|
struct IntroDialogue {
|
|
|
|
uint32 i_voice_rn;
|
|
|
|
const char *i_str;
|
|
|
|
};
|
|
|
|
|
2014-07-20 16:57:37 +03:00
|
|
|
struct IntroCredit {
|
|
|
|
Common::Language lang;
|
|
|
|
int game;
|
|
|
|
int type;
|
|
|
|
const char *string;
|
|
|
|
};
|
|
|
|
|
|
|
|
enum {
|
|
|
|
kITECreditsHeader,
|
|
|
|
kITECreditsText
|
|
|
|
};
|
|
|
|
|
|
|
|
enum {
|
|
|
|
kITECreditsPC = (1 << 0),
|
|
|
|
kITECreditsPCCD = (1 << 1),
|
|
|
|
kITECreditsMac = (1 << 2),
|
|
|
|
kITECreditsWyrmKeep = (1 << 3),
|
2020-08-04 23:06:31 +02:00
|
|
|
kITECreditsPC98 = (1 << 4),
|
2014-07-20 16:57:37 +03:00
|
|
|
kITECreditsAny = 0xffff,
|
|
|
|
kITECreditsNotWyrmKeep = kITECreditsAny & ~kITECreditsWyrmKeep
|
|
|
|
};
|
|
|
|
|
2005-01-28 12:54:09 +00:00
|
|
|
#define ITE_OBJECTCOUNT 39
|
2005-08-07 00:00:43 +00:00
|
|
|
#define ITE_SFXCOUNT 63
|
2005-01-28 12:54:09 +00:00
|
|
|
|
|
|
|
extern ObjectTableData ITE_ObjectTable[ITE_OBJECTCOUNT];
|
2010-10-22 23:13:17 +00:00
|
|
|
extern IteFxTable ITE_SfxTable[ITE_SFXCOUNT];
|
2005-01-28 12:54:09 +00:00
|
|
|
|
2008-08-01 14:03:20 +00:00
|
|
|
extern const char *ITEinterfaceTextStrings[][53];
|
2005-08-08 08:15:16 +00:00
|
|
|
|
2005-11-03 18:20:12 +00:00
|
|
|
#define PUZZLE_PIECES 15
|
|
|
|
|
2010-04-28 22:23:34 +00:00
|
|
|
struct RawPoint { int x, y; };
|
|
|
|
extern const RawPoint pieceOrigins[PUZZLE_PIECES];
|
2005-11-03 18:20:12 +00:00
|
|
|
extern const char *pieceNames[][PUZZLE_PIECES];
|
|
|
|
|
|
|
|
#define NUM_SOLICIT_REPLIES 5
|
|
|
|
extern const char *solicitStr[][NUM_SOLICIT_REPLIES];
|
|
|
|
|
|
|
|
#define NUM_SAKKA 3
|
|
|
|
extern const char *sakkaStr[][NUM_SAKKA];
|
|
|
|
|
|
|
|
#define NUM_WHINES 5
|
|
|
|
extern const char *whineStr[][NUM_WHINES];
|
|
|
|
|
|
|
|
extern const char *hintStr[][4];
|
|
|
|
extern const char portraitList[];
|
|
|
|
extern const char *optionsStr[][4];
|
|
|
|
|
2014-07-20 16:28:53 +03:00
|
|
|
extern const IntroDialogue introDialogueCave1[][4];
|
|
|
|
extern const IntroDialogue introDialogueCave2[][3];
|
|
|
|
extern const IntroDialogue introDialogueCave3[][3];
|
|
|
|
extern const IntroDialogue introDialogueCave4[][4];
|
|
|
|
|
2021-05-10 01:26:21 +02:00
|
|
|
extern const IntroCredit creditsValley[37];
|
|
|
|
extern const IntroCredit creditsTreeHouse1[31];
|
|
|
|
extern const IntroCredit creditsTreeHouse2[45];
|
|
|
|
extern const IntroCredit creditsFairePath1[38];
|
|
|
|
extern const IntroCredit creditsFairePath2[16];
|
2019-08-26 22:03:08 +02:00
|
|
|
extern const IntroCredit creditsTent[6];
|
2014-07-20 16:57:37 +03:00
|
|
|
|
2004-04-12 21:40:49 +00:00
|
|
|
} // End of namespace Saga
|
|
|
|
|
2004-05-01 06:16:57 +00:00
|
|
|
#endif
|