Permalink
Browse files

STARTREK: VENG6

  • Loading branch information...
Drenn1 committed Aug 8, 2018
1 parent 4017b0e commit 28e820dc92266c5110d7fd146d3175a61e856efa
Showing with 583 additions and 2 deletions.
  1. +7 −0 engines/startrek/awaymission.h
  2. +58 −0 engines/startrek/room.h
  3. +425 −2 engines/startrek/rooms/veng6.cpp
  4. +44 −0 engines/startrek/text.cpp
  5. +49 −0 engines/startrek/text.h
@@ -679,9 +679,16 @@ struct AwayMission {
bool havePowerPack; // 0x5a
bool enteredRoom5FirstTime; // 0x5b
bool askedSpockAboutFire; // 0x5c

// bits 0-1 are set for each of the 2 cables that can be connected to the
// junction box in engineering.
byte junctionCablesConnected; // 0x5d

bool tookCableFromSickbayHallway; // 0x5f
bool tookMolecularSaw; // 0x60
bool readEngineeringJournal; // 0x61
bool tookEngineeringJournal; // 0x62
bool engineeringCabinetOpen; // 0x63
bool examinedTorpedoControl; // 0x66
bool field68; // 0x68
bool getPointsForHealingBrittany; // 0x69
@@ -2716,6 +2716,59 @@ class Room {

// VENG6
void veng6Tick1();
void veng6WalkToDoor();
void veng6ReachedDoor();
void veng6DoorOpened();
void veng6LookAtLeftPort();
void veng6LookAtRightPort();
void veng6LookAtDoor();
void veng6LookAtOilCanister();
void veng6LookAtCabinet();
void veng6LookAtCable();
void veng6LookAtRightConsole();
void veng6LookAtImpulseEngines();
void veng6LookAtLeftConsole();
void veng6LookAtJunctionBox();
void veng6LookAtJournal();
void veng6LookAtKirk();
void veng6LookAtSpock();
void veng6LookAtMccoy();
void veng6LookAtRedshirt();
void veng6LookAtDeadGuy();
void veng6LookAnywhere();
void veng6TalkToKirk();
void veng6TalkToSpock();
void veng6TalkToMccoy();
void veng6TalkToRedshirt();
void veng6UseCable1OnLeftPort();
void veng6UseCable2OnLeftPort();
void veng6UseCableOnLeftPort(byte cable);
void veng6KirkOrSpockReachedLeftPort();
void veng6AttachedLeftCable();
void veng6UseCable1OnRightPort();
void veng6UseCable2OnRightPort();
void veng6UseCableOnRightPort(byte cable);
void veng6KirkOrSpockReachedRightPort();
void veng6AttachedRightCable();
void veng6UseCrewmanOnJunctionBox();
void veng6SpockReachedJunctionBox();
void veng6SpockAdjustedJunctionBox();
void veng6UseHypoOnOilCanister();
void veng6ReachedOilCanister();
void veng6FilledHypoWithOil();
void veng6UseCabinet();
void veng6ReachedCabinet();
void veng6OpenedOrClosedCabinet();
void veng6UseSTricorderOnImpulseEngines();
void veng6UseSTricorderOnRightConsole();
void veng6UseSTricorderOnJunctionBox();
void veng6UsePowerPackOnLeftConsole();
void veng6GetJunctionBox();
void veng6GetOilCanister();
void veng6GetEngineeringJournal();
void veng6ReachedEngineeringJournal();
void veng6TookEngineeringJournal();
// TODO: common code

// VENG7
void veng7Tick1();
@@ -3049,6 +3102,11 @@ class Room {
// veng4
bool usingMedkitOnBrittany;

// veng6
byte kirkAndSpockReadyToAttachLeftCable; // 0xca
byte kirkAndSpockReadyToAttachRightCable; // 0xcb
byte cableInUse; // 0xcc

// venga (common)
bool walkingToDoor; // 0xcb (veng1), 0xca (veng4)
} veng;
Oops, something went wrong.

0 comments on commit 28e820d

Please sign in to comment.