aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMatthew Stewart2018-07-28 01:00:40 -0400
committerEugene Sandulenko2018-08-09 08:37:30 +0200
commit012b9ec47c3538530ef0127e90d11b1da16b2c40 (patch)
treead75a07828af86c89d9dd732d09c8193f077f1ef /engines
parentb1fde330950db0ffe579906c9d8fceb1c702b55c (diff)
downloadscummvm-rg350-012b9ec47c3538530ef0127e90d11b1da16b2c40.tar.gz
scummvm-rg350-012b9ec47c3538530ef0127e90d11b1da16b2c40.tar.bz2
scummvm-rg350-012b9ec47c3538530ef0127e90d11b1da16b2c40.zip
STARTREK: SINS4
Diffstat (limited to 'engines')
-rw-r--r--engines/startrek/awaymission.h6
-rw-r--r--engines/startrek/room.h40
-rw-r--r--engines/startrek/rooms/sins2.cpp2
-rw-r--r--engines/startrek/rooms/sins4.cpp296
-rw-r--r--engines/startrek/text.cpp96
-rw-r--r--engines/startrek/text.h99
6 files changed, 534 insertions, 5 deletions
diff --git a/engines/startrek/awaymission.h b/engines/startrek/awaymission.h
index 16473d9f8a..dba20a179d 100644
--- a/engines/startrek/awaymission.h
+++ b/engines/startrek/awaymission.h
@@ -525,14 +525,18 @@ struct AwayMission {
bool field33; // 0x33
bool doorLaserFiredOnce; // 0x34
bool gotPointsForAccessingTerminal; // 0x35
+ bool scannedKeycardLock; // 0x36
byte field39; // 0x39
bool openedOuterDoor; // 0x3d
bool openedInnerDoor; // 0x3e
+ bool unlockedIDCardDoor; // 0x3f
bool enteredRoom0FirstTime; // 0x42
bool scottyInformedKirkAboutVirus; // 0x43
bool enteredRoom2FirstTime; // 0x44
- bool field46; // 0x46
+ bool field45; // 0x45
+ bool enteredRoom4FirstTime; // 0x46
bool gotPointsForScanningStatue; // 0x48
+ bool gotPointsForScanningRoom4; // 0x49
bool enteredRoom1FirstTime; // 0x50
int16 missionScore; // 0x52
} sins;
diff --git a/engines/startrek/room.h b/engines/startrek/room.h
index 581f9aa361..ab0f5003a1 100644
--- a/engines/startrek/room.h
+++ b/engines/startrek/room.h
@@ -2272,6 +2272,46 @@ public:
// SINS4
void sins4Tick1();
+ void sins4UseSTricorderOnPanel();
+ void sins4UseSpockOnPanel();
+ void sins4UsePhaserOnNorthDoor();
+ void sins4UsePhaserOnPanel();
+ void sins4UseIDCardOnPanel();
+ void sins4KirkReachedPanel();
+ void sins4KirkPutCardInPanel();
+ void sins4UseRockOnPanel();
+ void sins4KirkReachedPanelWithRock();
+ void sins4KirkUsedRockOnPanel();
+ void sins4LookAtWestDoor();
+ void sins4LookAtEastDoor();
+ void sins4LookAnywhere();
+ void sins4LookAtPanel();
+ void sins4Tick40();
+ void sins4LookAtKirk();
+ void sins4LookAtSpock();
+ void sins4LookAtMccoy();
+ void sins4LookAtRedshirt();
+ void sins4LookAtLight();
+ void sins4LookAtBeam();
+ void sins4LookAtOpenNorthDoor();
+ void sins4LookAtClosedNorthDoor();
+ void sins4TalkToKirk();
+ void sins4TalkToSpock();
+ void sins4TalkToMccoy();
+ void sins4TalkToRedshirt();
+ void sins4UseSTricorderOnNorthDoor();
+ void sins4UseSTricorderAnywhere();
+ void sins4UseCommunicator();
+ void sins4UseMccoyOnNorthDoor();
+ void sins4UseRedshirtOnNorthDoor();
+ void sins4UseSpockOnNorthDoor();
+ void sins4UseMccoyOnPanel();
+ void sins4UseRedshirtOnPanel();
+ void sins4WalkToNorthDoor();
+ void sins4WalkToWestDoor();
+ void sins4WalkToEastDoor();
+ void sins4UseMedkitOnCrewman();
+ void sins4UseMTricorderOnCrewman();
// SINS5
void sins5Tick1();
diff --git a/engines/startrek/rooms/sins2.cpp b/engines/startrek/rooms/sins2.cpp
index 42102230ff..f3dc6cd93c 100644
--- a/engines/startrek/rooms/sins2.cpp
+++ b/engines/startrek/rooms/sins2.cpp
@@ -301,7 +301,7 @@ void Room::sins2UseSpockOnDoor() {
}
void Room::sins2UseCommunicator() {
- if (!_awayMission->sins.field46) {
+ if (!_awayMission->sins.enteredRoom4FirstTime) {
showText(TX_SPEAKER_KIRK, TX_SIN2_006);
showText(TX_SPEAKER_SCOTT, TX_SIN2_S16);
showText(TX_SPEAKER_MCCOY, TX_SIN2_017);
diff --git a/engines/startrek/rooms/sins4.cpp b/engines/startrek/rooms/sins4.cpp
index 05c582021c..1400e66601 100644
--- a/engines/startrek/rooms/sins4.cpp
+++ b/engines/startrek/rooms/sins4.cpp
@@ -22,20 +22,310 @@
#include "startrek/room.h"
-#define OBJECT_8 8
+#define OBJECT_NORTH_DOOR 8
-#define HOTSPOT_20 0x20
+#define HOTSPOT_NORTH_DOOR 0x20
+#define HOTSPOT_PANEL 0x21
+#define HOTSPOT_BEAM 0x22
+#define HOTSPOT_LIGHT 0x23
+#define HOTSPOT_WEST_DOOR 0x24
+#define HOTSPOT_EAST_DOOR 0x25
namespace StarTrek {
extern const RoomAction sins4ActionList[] = {
- { {ACTION_TICK, 1, 0, 0}, &Room::sins4Tick1 },
+ { {ACTION_TICK, 1, 0, 0}, &Room::sins4Tick1 },
+
+ { {ACTION_USE, OBJECT_ISTRICOR, HOTSPOT_PANEL, 0}, &Room::sins4UseSTricorderOnPanel },
+ { {ACTION_USE, OBJECT_SPOCK, HOTSPOT_PANEL, 0}, &Room::sins4UseSpockOnPanel },
+ { {ACTION_USE, OBJECT_IPHASERK, HOTSPOT_NORTH_DOOR, 0}, &Room::sins4UsePhaserOnNorthDoor },
+ { {ACTION_USE, OBJECT_IPHASERS, HOTSPOT_NORTH_DOOR, 0}, &Room::sins4UsePhaserOnNorthDoor },
+ { {ACTION_USE, OBJECT_IPHASERK, HOTSPOT_PANEL, 0}, &Room::sins4UsePhaserOnPanel },
+ { {ACTION_USE, OBJECT_IPHASERS, HOTSPOT_PANEL, 0}, &Room::sins4UsePhaserOnPanel },
+
+ { {ACTION_USE, OBJECT_IIDCARD, HOTSPOT_PANEL, 0}, &Room::sins4UseIDCardOnPanel },
+ { {ACTION_DONE_WALK, 2, 0, 0}, &Room::sins4KirkReachedPanel },
+ { {ACTION_DONE_ANIM, 5, 0, 0}, &Room::sins4KirkPutCardInPanel },
+ { {ACTION_USE, OBJECT_IS8ROCKS, HOTSPOT_PANEL, 0}, &Room::sins4UseRockOnPanel },
+ { {ACTION_DONE_WALK, 3, 0, 0}, &Room::sins4KirkReachedPanelWithRock },
+ { {ACTION_DONE_ANIM, 4, 0, 0}, &Room::sins4KirkUsedRockOnPanel },
+
+ { {ACTION_LOOK, HOTSPOT_WEST_DOOR, 0, 0}, &Room::sins4LookAtWestDoor },
+ { {ACTION_LOOK, HOTSPOT_EAST_DOOR, 0, 0}, &Room::sins4LookAtEastDoor },
+ { {ACTION_LOOK, 0xff, 0, 0}, &Room::sins4LookAnywhere },
+ { {ACTION_LOOK, HOTSPOT_PANEL, 0, 0}, &Room::sins4LookAtPanel },
+ { {ACTION_TICK, 40, 0, 0}, &Room::sins4Tick40 },
+ { {ACTION_LOOK, OBJECT_KIRK, 0, 0}, &Room::sins4LookAtKirk },
+ { {ACTION_LOOK, OBJECT_SPOCK, 0, 0}, &Room::sins4LookAtSpock },
+ { {ACTION_LOOK, OBJECT_MCCOY, 0, 0}, &Room::sins4LookAtMccoy },
+ { {ACTION_LOOK, OBJECT_REDSHIRT, 0, 0}, &Room::sins4LookAtRedshirt },
+ { {ACTION_LOOK, HOTSPOT_LIGHT, 0, 0}, &Room::sins4LookAtLight },
+ { {ACTION_LOOK, HOTSPOT_BEAM, 0, 0}, &Room::sins4LookAtBeam },
+ { {ACTION_LOOK, OBJECT_NORTH_DOOR, 0, 0}, &Room::sins4LookAtOpenNorthDoor },
+ { {ACTION_LOOK, HOTSPOT_NORTH_DOOR, 0, 0}, &Room::sins4LookAtClosedNorthDoor },
+ { {ACTION_TALK, OBJECT_KIRK, 0, 0}, &Room::sins4TalkToKirk },
+ { {ACTION_TALK, OBJECT_SPOCK, 0, 0}, &Room::sins4TalkToSpock },
+ { {ACTION_TALK, OBJECT_MCCOY, 0, 0}, &Room::sins4TalkToMccoy },
+ { {ACTION_TALK, OBJECT_REDSHIRT, 0, 0}, &Room::sins4TalkToRedshirt },
+
+ { {ACTION_USE, OBJECT_ISTRICOR, HOTSPOT_NORTH_DOOR, 0}, &Room::sins4UseSTricorderOnNorthDoor },
+ { {ACTION_USE, OBJECT_ISTRICOR, 0xff, 0}, &Room::sins4UseSTricorderAnywhere },
+ { {ACTION_USE, OBJECT_ICOMM, 0xff, 0}, &Room::sins4UseCommunicator },
+ { {ACTION_USE, OBJECT_MCCOY, HOTSPOT_NORTH_DOOR, 0}, &Room::sins4UseMccoyOnNorthDoor },
+ { {ACTION_USE, OBJECT_REDSHIRT, HOTSPOT_NORTH_DOOR, 0}, &Room::sins4UseRedshirtOnNorthDoor },
+ { {ACTION_USE, OBJECT_SPOCK, HOTSPOT_NORTH_DOOR, 0}, &Room::sins4UseSpockOnNorthDoor },
+ { {ACTION_USE, OBJECT_MCCOY, HOTSPOT_PANEL, 0}, &Room::sins4UseMccoyOnPanel },
+ { {ACTION_USE, OBJECT_REDSHIRT, HOTSPOT_PANEL, 0}, &Room::sins4UseRedshirtOnPanel },
+
+ { {ACTION_WALK, HOTSPOT_NORTH_DOOR, 0, 0}, &Room::sins4WalkToNorthDoor },
+ { {ACTION_WALK, OBJECT_NORTH_DOOR, 0, 0}, &Room::sins4WalkToNorthDoor },
+ { {ACTION_WALK, HOTSPOT_WEST_DOOR, 0, 0}, &Room::sins4WalkToWestDoor },
+ { {ACTION_WALK, HOTSPOT_EAST_DOOR, 0, 0}, &Room::sins4WalkToEastDoor },
+
+ { {ACTION_USE, OBJECT_IMEDKIT, OBJECT_KIRK, 0}, &Room::sins4UseMedkitOnCrewman },
+ { {ACTION_USE, OBJECT_IMEDKIT, OBJECT_SPOCK, 0}, &Room::sins4UseMedkitOnCrewman },
+ { {ACTION_USE, OBJECT_IMEDKIT, OBJECT_MCCOY, 0}, &Room::sins4UseMedkitOnCrewman },
+ { {ACTION_USE, OBJECT_IMEDKIT, OBJECT_REDSHIRT, 0}, &Room::sins4UseMedkitOnCrewman },
+ { {ACTION_USE, OBJECT_IMTRICOR, OBJECT_KIRK, 0}, &Room::sins4UseMTricorderOnCrewman },
+ { {ACTION_USE, OBJECT_IMTRICOR, OBJECT_SPOCK, 0}, &Room::sins4UseMTricorderOnCrewman },
+ { {ACTION_USE, OBJECT_IMTRICOR, OBJECT_MCCOY, 0}, &Room::sins4UseMTricorderOnCrewman },
+ { {ACTION_USE, OBJECT_IMTRICOR, OBJECT_REDSHIRT, 0}, &Room::sins4UseMTricorderOnCrewman },
};
extern const int sins4NumActions = sizeof(sins4ActionList) / sizeof(RoomAction);
void Room::sins4Tick1() {
+ playVoc("SIN4LOOP");
+
+ if (!_awayMission->sins.enteredRoom4FirstTime)
+ _awayMission->disableInput = 2;
+
+ if (_awayMission->sins.unlockedIDCardDoor)
+ loadActorAnim2(OBJECT_NORTH_DOOR, "s4dro", 0, 0);
+
+ playMidiMusicTracks(MIDITRACK_27, -3);
+}
+
+void Room::sins4UseSTricorderOnPanel() {
+ spockScan(DIR_N, TX_SIN4_020);
+ _awayMission->sins.scannedKeycardLock = true;
+ _awayMission->sins.field39 |= 4;
+
+ if (_awayMission->sins.field39 == 7) {
+ showText(TX_SPEAKER_SPOCK, TX_SIN4_010);
+ _awayMission->sins.field39 |= 8;
+ }
+}
+
+void Room::sins4UseSpockOnPanel() {
+ // NOTE: two implementations of this function, one unused
+ if (true)
+ showText(TX_SPEAKER_SPOCK, TX_SIN4_018);
+ else {
+ showText(TX_SPEAKER_SPOCK, TX_SIN4_021);
+
+ if (_awayMission->sins.field39 == 7) {
+ showText(TX_SPEAKER_SPOCK, TX_SIN4_010);
+ _awayMission->sins.field39 |= 8;
+ }
+ }
+}
+
+void Room::sins4UsePhaserOnNorthDoor() {
+ showText(TX_SPEAKER_SPOCK, TX_SIN4_009);
+}
+
+void Room::sins4UsePhaserOnPanel() {
+ showText(TX_SPEAKER_SPOCK, TX_SIN4_008);
+}
+
+void Room::sins4UseIDCardOnPanel() {
+ if (_awayMission->sins.unlockedIDCardDoor)
+ showText(TX_SIN4N006);
+ else
+ walkCrewmanC(OBJECT_KIRK, 0xb8, 0x86, &Room::sins4KirkReachedPanel);
+}
+
+void Room::sins4KirkReachedPanel() {
+ _awayMission->sins.unlockedIDCardDoor = true;
+ loseItem(OBJECT_IIDCARD);
+ loadActorAnimC(OBJECT_KIRK, "kusemn", -1, -1, &Room::sins4KirkPutCardInPanel);
+
+ _awayMission->disableInput = true; // ENHANCEMENT: disable input
+}
+
+void Room::sins4KirkPutCardInPanel() {
+ loadActorAnim2(OBJECT_NORTH_DOOR, "s4door", 0, 0, 1); // Callback "1" doesn't exist
+ playVoc("MUR4E1");
+ _awayMission->disableInput = false;
+}
+
+void Room::sins4UseRockOnPanel() {
+ walkCrewmanC(OBJECT_KIRK, 0xb8, 0x86, &Room::sins4KirkReachedPanelWithRock);
+}
+
+void Room::sins4KirkReachedPanelWithRock() {
+ loadActorAnimC(OBJECT_KIRK, "kusemn", -1, -1, &Room::sins4KirkUsedRockOnPanel);
+}
+
+void Room::sins4KirkUsedRockOnPanel() {
+ showText(TX_SIN4N012);
+ showText(TX_SPEAKER_SPOCK, TX_SIN4_022);
+
+ if (_awayMission->sins.field39 == 7) {
+ showText(TX_SPEAKER_SPOCK, TX_SIN4_010);
+ _awayMission->sins.field39 |= 8;
+ }
+}
+
+void Room::sins4LookAtWestDoor() {
+ showText(TX_SIN4N009);
+}
+
+void Room::sins4LookAtEastDoor() {
+ showText(TX_SIN4N010);
+}
+
+void Room::sins4LookAnywhere() {
+ showText(TX_SIN4N013);
+}
+
+void Room::sins4LookAtPanel() {
+ showText(TX_SIN4N011);
+}
+
+void Room::sins4Tick40() {
+ if (!_awayMission->sins.enteredRoom4FirstTime) {
+ _awayMission->disableInput = false;
+ showText(TX_SPEAKER_UHURA, TX_SIN4U088);
+ showText(TX_SPEAKER_KIRK, TX_SIN4_007);
+ showText(TX_SPEAKER_UHURA, TX_SIN4U103);
+ showText(TX_SPEAKER_SPOCK, TX_SIN4_025);
+ showText(TX_SPEAKER_KIRK, TX_SIN4_003);
+ showText(TX_SPEAKER_UHURA, TX_SIN4U107);
+ showText(TX_SPEAKER_UHURA, TX_SIN4U105);
+ showText(TX_SPEAKER_KIRK, TX_SIN4_005);
+ _awayMission->sins.enteredRoom4FirstTime = true;
+ }
+}
+
+void Room::sins4LookAtKirk() {
+ showText(TX_SIN4N002);
+}
+
+void Room::sins4LookAtSpock() {
+ showText(TX_SIN4N004);
+}
+
+void Room::sins4LookAtMccoy() {
+ showText(TX_SIN4N003);
+}
+
+void Room::sins4LookAtRedshirt() {
+ showText(TX_SIN4N001);
+}
+
+void Room::sins4LookAtLight() {
+ showText(TX_SIN4N000);
+}
+
+void Room::sins4LookAtBeam() {
+ showText(TX_SIN4N005);
+}
+
+void Room::sins4LookAtOpenNorthDoor() {
+ showText(TX_SIN4N008);
+}
+
+void Room::sins4LookAtClosedNorthDoor() {
+ showText(TX_SIN4N007);
+}
+
+void Room::sins4TalkToKirk() {
+ showText(TX_SPEAKER_KIRK, TX_SIN4_001);
+ showText(TX_SPEAKER_SPOCK, TX_SIN4_028);
+ showText(TX_SPEAKER_KIRK, TX_SIN4_004);
+}
+
+void Room::sins4TalkToSpock() {
+ showText(TX_SPEAKER_SPOCK, TX_SIN4_019);
+}
+
+void Room::sins4TalkToMccoy() {
+ showText(TX_SPEAKER_MCCOY, TX_SIN4_015);
+ showText(TX_SPEAKER_SPOCK, TX_SIN4_024);
+ showText(TX_SPEAKER_MCCOY, TX_SIN4_017);
+}
+
+void Room::sins4TalkToRedshirt() {
+ showText(TX_SPEAKER_MOSHER, TX_SIN4_031);
+}
+
+void Room::sins4UseSTricorderOnNorthDoor() {
+ spockScan(DIR_N, TX_SIN4_027);
+ showText(TX_SPEAKER_MOSHER, TX_SIN4_032);
+ showText(TX_SPEAKER_SPOCK, TX_SIN4_026);
+}
+
+void Room::sins4UseSTricorderAnywhere() {
+ spockScan(DIR_S, TX_SIN4_011);
+
+ if (!_awayMission->sins.gotPointsForScanningRoom4) {
+ _awayMission->sins.missionScore += 1;
+ _awayMission->sins.gotPointsForScanningRoom4 = true;
+ }
+}
+
+void Room::sins4UseCommunicator() {
+ if (!_awayMission->sins.field45) {
+ showText(TX_SPEAKER_UHURA, TX_SIN4U100);
+ showText(TX_SPEAKER_KIRK, TX_SIN4_006);
+ showText(TX_SPEAKER_UHURA, TX_SIN4U83B);
+ showText(TX_SPEAKER_KIRK, TX_SIN4_002);
+ } else
+ showText(TX_SPEAKER_UHURA, TX_SIN4U073);
+}
+
+void Room::sins4UseMccoyOnNorthDoor() {
+ showText(TX_SPEAKER_MCCOY, TX_SIN4_016);
+}
+
+void Room::sins4UseRedshirtOnNorthDoor() {
+ showText(TX_SPEAKER_MOSHER, TX_SIN4_029);
+}
+
+void Room::sins4UseSpockOnNorthDoor() {
+ showText(TX_SPEAKER_SPOCK, TX_SIN4_023);
+}
+
+void Room::sins4UseMccoyOnPanel() {
+ showText(TX_SPEAKER_MCCOY, TX_SIN4_013);
+}
+
+void Room::sins4UseRedshirtOnPanel() {
+ showText(TX_SPEAKER_MOSHER, TX_SIN4_030);
+}
+
+void Room::sins4WalkToNorthDoor() {
+ if (_awayMission->sins.unlockedIDCardDoor)
+ walkCrewman(OBJECT_KIRK, 0x96, 0x7d);
+}
+
+void Room::sins4WalkToWestDoor() {
+ walkCrewman(OBJECT_KIRK, 0x1b, 0x95);
+}
+
+void Room::sins4WalkToEastDoor() {
+ walkCrewman(OBJECT_KIRK, 0x13c, 0x9b);
+}
+
+void Room::sins4UseMedkitOnCrewman() {
+ showText(TX_SPEAKER_MCCOY, TX_SIN4_014);
+}
+
+void Room::sins4UseMTricorderOnCrewman() {
+ mccoyScan(DIR_S, TX_SIN4_012);
}
}
diff --git a/engines/startrek/text.cpp b/engines/startrek/text.cpp
index a2881da5a9..ac6dc36c7c 100644
--- a/engines/startrek/text.cpp
+++ b/engines/startrek/text.cpp
@@ -2498,8 +2498,104 @@ extern const char *const g_gameStrings[] = {
"#SIN2\\SIN2U097#I wish I could take credit for it. It was Mr. Kyle who found the pattern. We are attacking it with anti-virus programs.",
+ "#SIN3\\SIN3_001#Spock, why don't you check out those laser drill controls.",
+ "#SIN3\\SIN3_002#You're right. This is a mess.",
+ "#SIN3\\SIN3_003#A storage box of some kind. I detect no dangerous substances.",
+ "#SIN3\\SIN3_004#Captain, nothing can be gained by trying to force it around.",
+ "#SIN3\\SIN3_005#Captain, the machine requests the proper coordinates before it may perform this operation.",
+ "#SIN3\\SIN3_006#Captain, the template would be damaged by direct fire from the laser.",
+ "#SIN3\\SIN3_007#Captain, with the 3KAg content of the surface rocks and the Tricorder scan of the pattern inside the lock, I believe the laser drill can be used to fashion the ID card needed to open the sealed door in the other chamber.",
"#SIN3\\SIN3_008#All readings are normal. The structure seems to be protecting us from the cosmic rays.",
+ "#SIN3\\SIN3_009#I'm too attached to my head to stick it in front of the laser that made this cave.",
+ "#SIN3\\SIN3_010#We're safe from the cosmic radiation, Jim.",
+ "#SIN3\\SIN3_011#Why was I even brought down on this mission, Jim? I'm a doctor, not a welder!",
"#SIN3\\SIN3_012#Can't say I like the decor.",
+ "#SIN3\\SIN3_013#I can see why.",
+ "#SIN3\\SIN3_014#This is one heck of a museum, Ensign.",
+ "#SIN3\\SIN3_015#I used the keycard pattern, scanned from the lock, to program the drill. It should now be able to make a template of the keycard in the rock.",
+ "#SIN3\\SIN3_016#The drill is unremarkable except its aiming component is corroded and frozen in place.",
+ "#SIN3\\SIN3_017#The mineshaft was drilled out of the lunar rock by a laser device similar to the one mounted in the ceiling.",
+ "#SIN3\\SIN3_018#These are display panels for the laser drill. They are still functional.",
+ "#SIN3\\SIN3_019#This is the laser drill's control panel. It is functional and power is flowing to it.",
+ "#SIN3\\SIN3_020#This technology is cruder and less efficient than the rest of the complex, Captain.",
+ "#SIN3\\SIN3_021#Too high a setting, Captain. The laser drill vaporized the rock.",
+ "#SIN3\\SIN3_022#Unlike the mineral samples on the surface, the rocks here do not contain any unusual trace elements.",
+ "#SIN3\\SIN3_023#Unlike the surface rocks, the ore here is unremarkable.",
+ "#SIN3\\SIN3_024#The Lucrs did not leave behind many examples of their architecture.",
+ "#SIN3\\SIN3_025#Uh, what do you want me to do with it, Sir?",
+ "#SIN3\\SIN3_026#Looks like a museum piece to me, Captain.",
+ "#SIN3\\SIN3_027#Still a mess, though.",
+ "#SIN3\\SIN3N000#A closed box sits on the floor.",
+ "#SIN3\\SIN3N001#Dr. McCoy again wonders why he even came along.",
+ "#SIN3\\SIN3N002#Ensign Mosher scouts for signs of trouble, as well as glancing at the great-looking laser drill!",
+ "#SIN3\\SIN3N003#James T. Kirk, Captain of the USS Enterprise.",
+ "#SIN3\\SIN3N004#Mr. Spock puzzles over the illogical design of some of these circuits.",
+ "#SIN3\\SIN3N005#The box is empty.",
+ "#SIN3\\SIN3N006#The laser drill has cut a template for the keycard in the stone.",
+ "#SIN3\\SIN3N007#These are display panels for the laser drill.",
+ "#SIN3\\SIN3N008#This box contains old wire and connectors.",
+ "#SIN3\\SIN3N009#This is a high powered item that will cause irrevocable damage if you use it in this manner.",
+ "#SIN3\\SIN3N010#This is a keycard made from the tri-phosphate silver rock.",
+ "#SIN3\\SIN3N011#This is a laser drill control panel.",
+ "#SIN3\\SIN3N012#This is an ancient laser drill.",
+ "#SIN3\\SIN3N013#This room looks like it was once used for some type of mining operation.",
+ "#SIN3\\SIN3N014#You have placed the rocks onto the pattern.",
+ "#SIN3\\SIN3U072#Nothing new to report Captain.",
+
+
+ "#SIN4\\SIN4_001#At least the Enterprise is safe.",
+ "#SIN4\\SIN4_002#Right now, I'll take anything that works. Kirk out.",
+ "#SIN4\\SIN4_003#The Klingons aren't going to be happy to learn that they helped us. How about the phasers and tractor beams?",
+ "#SIN4\\SIN4_004#Then we're just going to have to prevent that.",
+ "#SIN4\\SIN4_005#Understood. The ball is in our court. We'll give it our best shot. Kirk out.",
+ "#SIN4\\SIN4_006#We're making our way through. Keep your fingers crossed, lieutenant.",
+ "#SIN4\\SIN4_007#Well done, Uhura!",
+ "#SIN4\\SIN4_008#Captain, if you destroy the lock, there will be no way to open the door.",
+ "#SIN4\\SIN4_009#Captain, the door is heavily shielded. Our phasers will have a negligible effect.",
+ "#SIN4\\SIN4_010#Captain, with the 3KAg content of the surface rocks and the Tricorder scan of the pattern inside the lock, I believe the laser drill can be used to fashion the ID card needed to open this door.",
+ "#SIN4\\SIN4_011#Circuits and atmosphere pumps are hidden in the walls.",
+ "#SIN4\\SIN4_012#All readings are normal. The structure seems to be protecting us from the cosmic rays.",
+ "#SIN4\\SIN4_013#My fingers don't fit Jim.",
+ "#SIN4\\SIN4_014#We're safe from the cosmic radiation, Jim.",
+ "#SIN4\\SIN4_015#When I retire from Starfleet, I'm going to write one heck of an autobiography.",
+ "#SIN4\\SIN4_016#What do you want me to do, kick it down?",
+ "#SIN4\\SIN4_017#That way I can finally get someone to listen to me!",
+ "#SIN4\\SIN4_018#My fingers are too large to fit into the slot.",
+ "#SIN4\\SIN4_019#Please allow me to concentrate, Captain.",
+ "#SIN4\\SIN4_020#This panel has a slot in it rather than a keypad. The slot bears traces of Tri-Phosphorate Silver, and power is currently running to it. I am recording the pattern of this lock into my tricorder.",
+ "#SIN4\\SIN4_021#This panel requires a coded identification key to get it open.",
+ "#SIN4\\SIN4_022#Very odd, Captain. There was a power surge to the panel just after the rock struck it. Probably 3KAg dust getting into the slot. ",
+ "#SIN4\\SIN4_023#We must find a way to bypass it's lock system.",
+ "#SIN4\\SIN4_024#Fascinating, doctor. I look forward to reading it.",
+ "#SIN4\\SIN4_025#Fascinating, lieutenant.",
+ "#SIN4\\SIN4_026#Indeed, Ensign. And considerably thinner. A remarkable achievement in metallurgical engineering.",
+ "#SIN4\\SIN4_027#This door is made from remarkably dense alloys. Even our most powerful phaser rifle or welder would not be able to penetrate it.",
+ "#SIN4\\SIN4_028#Unless the computers decide to send more powerful viruses to the Enterprise.",
+ "#SIN4\\SIN4_029#I don't think a hand phaser is going to cut through that, Sir.",
+ "#SIN4\\SIN4_030#I don't think my phaser will do a lot of good Sir.",
+ "#SIN4\\SIN4_031#This machinery is incredible. Are all your landing missions this much fun? I might never leave this place!",
+ "#SIN4\\SIN4_032#The thing must be almost as tough as a starship hull!",
+ "#SIN4\\SIN4N000#Although centuries old, these lights still provide illumination for this complex.",
+ "#SIN4\\SIN4N001#As soon as this mission is over, Ensign Mosher is going to write his sister, who serves onboard Pegasus Science Station, and gloat about everything he's seen.",
+ "#SIN4\\SIN4N002#James Kirk seems relieved by the good news from his ship.",
+ "#SIN4\\SIN4N003#So far, this mission has been boring, from a medical standpoint.",
+ "#SIN4\\SIN4N004#Spock, deep in thought, analyzes the Lucr computers.",
+ "#SIN4\\SIN4N005#There are a few stress fractures on this beam, but it still looks to be quite sturdy.",
+ "#SIN4\\SIN4N006#There is already a card in the lock.",
+ "#SIN4\\SIN4N007#This door appears to be very solid.",
+ "#SIN4\\SIN4N008#This door leads to another chamber.",
+ "#SIN4\\SIN4N009#This doorway leads back to the security lock and outside.",
+ "#SIN4\\SIN4N010#This doorway leads to another area of the complex.",
+ "#SIN4\\SIN4N011#This panel is designed to receive an ID card to make the door open.",
+ "#SIN4\\SIN4N012#The Panel is undamaged.",
+ "#SIN4\\SIN4N013#You are in a corridor that connects to three other chambers.",
+ "#SIN4\\SIN4U073#Nothing new to report Captain.",
+ "#SIN4\\SIN4U088#Captain, we have a cure for the computer virus!",
+ "#SIN4\\SIN4U100#No change, Captain. Any progress on the planet?",
+ "#SIN4\\SIN4U103#I modified K'trhra-C to exclusively attack the Lucr virus. They annihilated each other, Captain.",
+ "#SIN4\\SIN4U105#We could destroy some missiles manually, but if this complex decides to launch more than ten missiles at a time...",
+ "#SIN4\\SIN4U107#We may get the tractor beams on-line in time, Captain. I'm afraid even the back-up phaser transmission codes were affected. ",
+ "#SIN4\\SIN4U83B#Captain, we'll help you all we can.",
"#VENA\\VENA_F41#Kirk out.",
diff --git a/engines/startrek/text.h b/engines/startrek/text.h
index 46b3c843c5..90eb63f06a 100644
--- a/engines/startrek/text.h
+++ b/engines/startrek/text.h
@@ -2599,8 +2599,107 @@ enum GameStringIDs {
// UNUSED: sin2_b35.voc (same as 036)
+ TX_SIN3_001,
+ TX_SIN3_002,
+ TX_SIN3_003,
+ TX_SIN3_004,
+ TX_SIN3_005,
+ TX_SIN3_006,
+ TX_SIN3_007,
TX_SIN3_008,
+ TX_SIN3_009,
+ TX_SIN3_010,
+ TX_SIN3_011,
TX_SIN3_012,
+ TX_SIN3_013,
+ TX_SIN3_014,
+ TX_SIN3_015,
+ TX_SIN3_016,
+ TX_SIN3_017,
+ TX_SIN3_018,
+ TX_SIN3_019,
+ TX_SIN3_020,
+ TX_SIN3_021,
+ TX_SIN3_022,
+ TX_SIN3_023,
+ TX_SIN3_024,
+ TX_SIN3_025,
+ TX_SIN3_026,
+ TX_SIN3_027,
+ // UNUSED (028; uhura voice substitute)
+ TX_SIN3N000,
+ TX_SIN3N001,
+ TX_SIN3N002,
+ TX_SIN3N003,
+ TX_SIN3N004,
+ TX_SIN3N005,
+ TX_SIN3N006,
+ TX_SIN3N007,
+ TX_SIN3N008,
+ TX_SIN3N009,
+ TX_SIN3N010,
+ TX_SIN3N011,
+ TX_SIN3N012,
+ TX_SIN3N013,
+ TX_SIN3N014,
+ TX_SIN3U072,
+
+
+ TX_SIN4_001,
+ TX_SIN4_002,
+ TX_SIN4_003,
+ TX_SIN4_004,
+ TX_SIN4_005,
+ TX_SIN4_006,
+ TX_SIN4_007,
+ TX_SIN4_008,
+ TX_SIN4_009,
+ TX_SIN4_010,
+ TX_SIN4_011,
+ TX_SIN4_012,
+ TX_SIN4_013,
+ TX_SIN4_014,
+ TX_SIN4_015,
+ TX_SIN4_016,
+ TX_SIN4_017,
+ TX_SIN4_018,
+ TX_SIN4_019,
+ TX_SIN4_020,
+ TX_SIN4_021,
+ TX_SIN4_022,
+ TX_SIN4_023,
+ TX_SIN4_024,
+ TX_SIN4_025,
+ TX_SIN4_026,
+ TX_SIN4_027,
+ TX_SIN4_028,
+ TX_SIN4_029,
+ TX_SIN4_030,
+ TX_SIN4_031,
+ TX_SIN4_032,
+ // UNUSED (033 -> 039; uhura voice substitute)
+ TX_SIN4N000,
+ TX_SIN4N001,
+ TX_SIN4N002,
+ TX_SIN4N003,
+ TX_SIN4N004,
+ TX_SIN4N005,
+ TX_SIN4N006,
+ TX_SIN4N007,
+ TX_SIN4N008,
+ TX_SIN4N009,
+ TX_SIN4N010,
+ TX_SIN4N011,
+ TX_SIN4N012,
+ TX_SIN4N013,
+ TX_SIN4U073,
+ TX_SIN4U088,
+ TX_SIN4U100,
+ TX_SIN4U103,
+ TX_SIN4U105,
+ TX_SIN4U107,
+ // UNUSED (sin4u83a; alternate version of sin4u83b)
+ TX_SIN4U83B,
TX_VENA_F41,