Permalink
Browse files

STARTREK: TRIAL3

  • Loading branch information...
Drenn1 authored and sev- committed Jul 10, 2018
1 parent 2771797 commit 00445f0cfafdb97865f3e4c82632d8702fb5cb6e
Showing with 589 additions and 2 deletions.
  1. +12 −0 engines/startrek/awaymission.h
  2. +53 −0 engines/startrek/room.h
  3. +422 −1 engines/startrek/rooms/trial3.cpp
  4. +6 −1 engines/startrek/sound.h
  5. +96 −0 engines/startrek/text.h
@@ -278,13 +278,25 @@ struct AwayMission {
bool globSplitInTwo; // 0x35
bool globDefeated; // 0x36
byte globEnergyLevels[3]; // 0x37
bool enteredTrial3FirstTime; // 0x3a
byte klingonShootIndex; // 0x3b
byte shotKlingons; // 0x3c

// 0: Hasn't appeared yet
// 21: Is conscious
// 22: Is stunned
// 23: Is dead
int16 shotKlingonState; // 0x3d

bool enteredGlobRoom; // 0x5c
bool forceFieldDown; // 0x5d
bool uhuraAnalyzedCode; // 0x5e
int16 field5f; // 0x5f
bool gotPointsForGettingRod; // 0x61
bool gotPointsForCoatingRodWithIron; // 0x62
bool gotPointsForScanningGlob; // 0x64

bool gotPointsForBeamingOut;
} trial;
};
};
@@ -1893,6 +1893,59 @@ class Room {

// TRIAL3
void trial3Tick1();
void trial3Tick30();
void trial3Klingon1BeamedIn();
void trial3Klingon2BeamedIn();
void trial3Klingon3BeamedIn();
void trial3KlingonShootsSomeone1();
void trial3Klingon1DoneShooting();
void trial3Klingon2DoneShooting();
void trial3Klingon3DoneShooting();
void trial3KlingonShootsSomeone2();
void trial3RedshirtDoneDying();
void trial3KirkDoneDying();
void trial3Klingon1Shot();
void trial3Klingon2Shot();
void trial3Klingon3Shot();
void trial3CheckShowUhuraText();
void trial3CrewmanBeamedOut();
void trial3Tick90();
void trial3TouchedHotspot3();
void trial3KirkExploded();
void trial3LookAtKirk();
void trial3LookAtSpock();
void trial3LookAtMccoy();
void trial3LookAtRedshirt();
void trial3LookAtExit();
void trial3LookAtWall();
void trial3TalkToKirk();
void trial3TalkToSpock();
void trial3TalkToMccoy();
void trial3TalkToRedshirt();
void trial3UsePhaserOnWall();
void trial3UseStunPhaserOnKlingon1();
void trial3ReadyToShootKlingon1OnStun();
void trial3UseKillPhaserOnKlingon1();
void trial3ReadyToShootKlingon1OnKill();
void trial3UsePhaserAnywhere();
void trial3UseMTricorderOnKirk();
void trial3UseMTricorderOnSpock();
void trial3UseMTricorderOnMccoy();
void trial3UseMTricorderOnRedshirt();
void trial3UseMTricorderOnExit();
void trial3UseSTricorderOnWall();
void trial3UseSTricorderOnExit();
void trial3UseMTricorderOnKlingon();
void trial3UseCommunicator();
void trial3BeamToVlict();
void trial3UseMccoyOnWall();
void trial3UseMccoyOnExit();
void trial3UseSpockOnWall();
void trial3UseSpockOnExit();
void trial3UseRedshirtOnExit();
void trial3UseRedshirtOnWall();
void trial3WalkToExit();
void trial3UseMedkitAnywhere();

// TRIAL4
void trial4Tick1();
Oops, something went wrong.

0 comments on commit 00445f0

Please sign in to comment.