scummvm/engines/startrek/text.h

240 lines
5.3 KiB
C
Raw Normal View History

/* 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.
* 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
#ifndef STARTREK_TEXT_H
#define STARTREK_TEXT_H
namespace StarTrek {
// The type to use for text references (values of "GameStringIDs" enum).
// NOTE: if this typedef is changed, certain lines in "saveload.cpp" would also need to be
// changed. Better to leave this as-is.
typedef int32 TextRef;
// Text that's loaded from "GROUND.TXT". First 0x40 pieces of text are for items.
// TODO: Floppy version has different numbers for this.
enum GroundTextIDs {
// Generic "perform undefined action" text (ie. look at nothing, talk to wall)
GROUNDTX_LOOK_KIRK = 0x49,
GROUNDTX_LOOK_SPOCK = 0x4a,
GROUNDTX_LOOK_MCCOY = 0x4b,
GROUNDTX_LOOK_REDSHIRT = 0x4c,
GROUNDTX_LOOK_ANYWHERE = 0x4d,
GROUNDTX_TALK_TO_CREWMAN = 0x4e,
GROUNDTX_NO_RESPONSE = 0x4f,
GROUNDTX_KIRK_USE = 0x50,
GROUNDTX_SPOCK_USE = 0x51,
GROUNDTX_MCCOY_USE = 0x52,
GROUNDTX_REDSHIRT_USE = 0x53,
GROUNDTX_SPOCK_SCAN = 0x54,
GROUNDTX_MCCOY_SCAN = 0x55,
GROUNDTX_USE_MEDKIT = 0x56,
GROUNDTX_PHASER_ON_MCCOY = 0x57, // 8 variations
GROUNDTX_PHASER_ON_SPOCK = 0x5f, // 8 variations
GROUNDTX_PHASER_ON_REDSHIRT = 0x67, // 8 variations
GROUNDTX_PHASER_ANYWHERE = 0x6f, // 7 variations
GROUNDTX_USE_COMMUNICATOR = 0x76,
GROUNDTX_NOTHING_HAPPENS = 0x77,
GROUNDTX_FAIL_TO_OBTAIN_ANYTHING = 0x78
};
// Text that's hardcoded into "RDF" files, and copied into here for a sane referencing
// scheme.
enum GameStringIDs {
TX_BLANK = -1,
TX_NULL = 0,
TX_BLANK_OLD = 1, // unused, kept as filler
TX_DIALOG_ERROR,
2018-06-16 03:13:51 +00:00
TX_ANIMATION_ERROR,
TX_SPEAKER_KIRK,
TX_SPEAKER_SPOCK,
TX_SPEAKER_MCCOY,
TX_SPEAKER_UHURA,
TX_SPEAKER_SCOTT,
2018-06-14 06:19:14 +00:00
TX_SPEAKER_SULU,
2018-08-03 03:46:20 +00:00
TX_SPEAKER_CHEKOV,
TX_SPEAKER_EVERTS,
TX_SPEAKER_ANGIVEN,
TX_SPEAKER_SIGN,
TX_SPEAKER_KLINGON,
TX_SPEAKER_KANDREY,
2018-05-29 20:51:05 +00:00
TX_SPEAKER_STEPHEN,
TX_SPEAKER_CHUB,
TX_SPEAKER_ROBERTS,
TX_SPEAKER_GRISNASH,
2018-05-31 01:06:31 +00:00
TX_SPEAKER_NAUIAN,
2018-06-15 06:35:36 +00:00
TX_SPEAKER_SHIPS_COMPUTER,
TX_SPEAKER_CHRISTENSEN,
TX_SPEAKER_SIMPSON,
2018-06-11 02:01:39 +00:00
TX_SPEAKER_ELASI_GUARD,
2018-06-14 06:19:14 +00:00
TX_SPEAKER_ELASI_CLANSMAN,
TX_SPEAKER_ELASI_CERETH,
2018-06-11 02:01:39 +00:00
TX_SPEAKER_MASADA_CREWMAN,
2018-06-15 06:35:36 +00:00
TX_SPEAKER_FERRIS,
TX_SPEAKER_COMPUTER,
2018-06-22 09:04:03 +00:00
TX_SPEAKER_MARCUS,
TX_SPEAKER_CHEEVER,
TX_SPEAKER_PREAX,
2018-06-28 04:25:45 +00:00
TX_SPEAKER_BUCHERT,
TX_SPEAKER_MUDD,
2018-07-03 23:27:57 +00:00
TX_SPEAKER_STRAGEY,
TX_SPEAKER_QUETZECOATL,
2018-07-04 06:34:11 +00:00
TX_SPEAKER_TLAOXAC,
2018-07-03 23:27:57 +00:00
2018-07-06 23:34:11 +00:00
TX_SPEAKER_BENNIE,
TX_SPEAKER_VLICT,
TX_SPEAKER_KLINGON_GUARD,
2018-07-07 03:54:00 +00:00
TX_SPEAKER_ENTITY,
2018-07-11 06:48:15 +00:00
TX_SPEAKER_BIALBI,
TX_SPEAKER_VOICE,
TX_SPEAKER_LIGHT_OF_WAR,
TX_SPEAKER_LIGHT_OF_KNOWLEDGE,
TX_SPEAKER_LIGHT_OF_TRAVEL,
2018-07-06 23:34:11 +00:00
2018-07-26 21:38:44 +00:00
TX_SPEAKER_MOSHER,
2018-08-03 03:46:20 +00:00
TX_SPEAKER_KIJE,
TX_SPEAKER_PATTERSON,
2018-08-04 07:39:11 +00:00
TX_SPEAKER_ANDRADE,
TX_SPEAKER_ELASI_CAPTAIN,
TX_SPEAKER_ELASI_WEAPONS_MASTER,
TX_SPEAKER_ELASI_CREWMAN,
2018-08-08 03:56:59 +00:00
TX_SPEAKER_BRITTANY_MARATA,
2018-08-03 03:46:20 +00:00
2018-06-27 22:34:00 +00:00
TX_BRIDU146,
2018-08-04 00:16:12 +00:00
TX_G_014,
2018-06-22 09:04:03 +00:00
TX_G_024,
2018-07-04 03:17:02 +00:00
TX_G_043,
2018-06-15 06:35:36 +00:00
2018-06-27 22:34:00 +00:00
TX_GENER004,
TX_COMPA180,
2018-08-08 06:48:28 +00:00
TX_COMPA185,
2018-06-27 22:34:00 +00:00
TX_COMPA186,
TX_COMPA187,
TX_COMPA189,
TX_COMPA190,
TX_COMPA191,
TX_COMPA193,
TX_COMPU181,
TX_COMPU182,
TX_COMPU186,
TX_COMPU187,
TX_COMPU188,
TX_COMPU189,
TX_COMPU190,
TX_COMPU192,
TX_COMPU193,
TX_DEM0N009, // kept because it's also used as an enhancement in mudd1 and mudd3
TX_DEM0C001, // "C" = "Custom" (no ID originally assigned)
TX_DEM3_019, // kept because it's also used as an enhancement in venga
TX_DEM3_A32,
2018-06-11 02:01:39 +00:00
TX_TUG2J003,
TX_TUG2C001, // Custom
2018-06-14 06:19:14 +00:00
2018-06-21 09:50:32 +00:00
TX_LOV3NA08,
TX_LOV3NA09,
TX_LOV3NA20,
TX_LOV3NA21,
TX_LOV3NA22,
TX_LOV3NA23,
TX_LOV3NJ32,
2018-06-22 09:04:03 +00:00
TX_LOV5C001, // Custom
2018-06-27 22:34:00 +00:00
2018-06-28 04:25:45 +00:00
TX_MUD0_018,
TX_MUD0_019,
TX_MUD0_020,
TX_MUD1N014, // kept because it's also used as an enhancement in veng6
TX_MUD2_040, // kept as it's used as an enhancement in LOVEA
TX_MUD4_018,
TX_MUD4_019, // kept for now because of TX_MUD4_A29
TX_MUD4_023, // kept for now because of TX_MUD4_A29
2018-06-29 03:17:09 +00:00
TX_MUD4_A29,
2018-06-29 20:46:54 +00:00
2018-07-04 03:17:02 +00:00
TX_FEA1_A46,
2018-07-07 03:54:00 +00:00
TX_TRI1_J00,
TX_TRI1U080,
TX_TRI1C001, // Custom
TX_TRI1C002,
2018-07-10 00:47:53 +00:00
TX_QUIET,
2018-07-06 23:34:11 +00:00
TX_TRI4_076,
2018-07-28 03:27:43 +00:00
TX_SIN3_008,
2018-06-27 22:34:00 +00:00
TX_SIN3_012,
2018-07-28 07:35:43 +00:00
TX_SIN3_LASERSETTING001, // Custom named text
TX_SIN3_LASERSETTING010,
TX_SIN3_LASERSETTING100,
TX_SIN3_LASERCANCEL,
2018-07-28 05:00:40 +00:00
TX_SIN4U83B,
2018-06-27 22:34:00 +00:00
2018-08-03 03:46:20 +00:00
TX_VEN0_010,
TX_VEN0_016,
TX_VEN0N016,
2018-08-04 00:16:12 +00:00
TX_VEN1_004,
2018-08-03 03:46:20 +00:00
TX_VEN2_028,
TX_VEN2_066,
TX_VEN2_098,
2018-08-04 07:39:11 +00:00
TX_VEN2_SHI,
TX_VEN2_TRA,
TX_VEN2_WEA,
2018-08-03 03:46:20 +00:00
TX_VEN2U093,
2018-08-04 07:39:11 +00:00
TX_VEN2_HAIL_ELASI, // Custom named text
TX_VEN2_HAIL_ENT,
TX_VEN2_CANCEL,
2018-08-04 00:16:12 +00:00
TX_VEN4_016,
2018-08-04 07:39:11 +00:00
TX_VEN4_017,
2018-08-08 03:56:59 +00:00
TX_VEN4N007,
2018-08-03 03:46:20 +00:00
TX_VEN4N010,
2018-08-04 00:16:12 +00:00
TX_VEN4N014,
2018-08-08 04:38:24 +00:00
TX_VEN5_R19,
TX_VEN5_R20,
TX_VEN5N002,
TX_VEN5N004,
TX_VEN5N007,
2018-06-27 22:34:00 +00:00
TX_SPOKCOFF,
2018-06-28 04:25:45 +00:00
TX_STATICU1,
2018-06-27 22:34:00 +00:00
TX_END
};
// defined in text.cpp
extern const char *const g_gameStrings[];
} // End of namespace StarTrek
#endif