Permalink
Browse files

STARTREK: VENG1

  • Loading branch information...
Drenn1 authored and sev- committed Aug 4, 2018
1 parent bd1b9f6 commit a5d7b8620652f2ce2c28128996d756ba26296cf5
@@ -632,6 +632,12 @@ struct AwayMission {
byte beamState; // 0x35

bool field36; // 0x36
bool openedPanel; // 0x37
bool clearedPanelDebris; // 0x38
bool removedPanelDebris; // 0x39
bool oilInHypo; // 0x3a
bool loosenedDebrisWithOil; // 0x3b
bool tookMolecularSaw; // 0x60
bool field68; // 0x68
bool field6b; // 0x6b
bool field6c; // 0x6c
@@ -1091,7 +1091,7 @@ void StarTrekEngine::showRepublicMap(int16 arg0, int16 turbolift) {
switch (event.type) {
case TREKEVENT_TICK:
_frameIndex++;
// sub_12fff();
// sub_12fff(); // TODO
_gfx->drawAllSprites();
break;

@@ -1101,10 +1101,10 @@ void StarTrekEngine::showRepublicMap(int16 arg0, int16 turbolift) {
if (clickedArea == 0) {
} else if (clickedArea == 6) {
Common::String text = "#GENE\\GENE_F14#Turbolift access is blocked by an extremely high radiation level.";
showTextbox("", text, 50, 50, TEXTCOLOR_YELLOW, 0);
showTextbox("Mr. Spock", text, 50, 50, TEXTCOLOR_YELLOW, 0); // ENHANCEMENT: Speaker is Spock
} else if (clickedArea == 7) {
Common::String text = "#GENE\\GENE_F15#This turbolift cannot reach that area of the ship.";
showTextbox("", text, 50, 50, TEXTCOLOR_YELLOW, 0);
showTextbox("Mr. Spock", text, 50, 50, TEXTCOLOR_YELLOW, 0); // ENHANCEMENT: Speaker is Spock
} else
exitLoop = true;
break;
@@ -2480,6 +2480,50 @@ class Room {

// VENG1
void veng1Tick1();
void veng1WalkToDoor();
void veng1TouchedHotspot0();
void veng1ReachedDoor();
void veng1TouchedTurbolift();
void veng1LookAtDeadGuy();
void veng1UseSTricorderOnVent();
void veng1LookAtPanel();
void veng1LookAtDoor();
void veng1LookAtSaw();
void veng1LookAtDebris();
void veng1LookAtKirk();
void veng1LookAtMccoy();
void veng1LookAtSpock();
void veng1LookAtRedshirt();
void veng1LookAnywhere();
void veng1TalkToKirk();
void veng1TalkToSpock();
void veng1TalkToMccoy();
void veng1TalkToRedshirt();
void veng1UsePhaserOnDoor();
void veng1UsePhaserOnPanel();
void veng1UseSTricorderOnSaw();
void veng1UseSTricorderOnDoor();
void veng1UseSTricorderOnPanel();
void veng1GetPanel();
void veng1KirkReachedPanel();
void veng1KirkAccessedPanel();
void veng1UseSawOnPanel();
void veng1UseSawOnDoor();
void veng1UseDrillOnDebris();
void veng1UseSawOnDebris();
void veng1UseDrillOnPanel();
void veng1KirkReachedPanelToDrill();
void veng1KirkDoneDrillingPanel();
void veng1UseHypoOnDebris();
void veng1KirkReachedDebris();
void veng1KirkUsedHypoOnDebris();
void veng1GetSaw();
void veng1ReachedSaw();
void veng1PickedUpSaw();
void veng1GetDebris();
void veng1ReachedDebrisToGet();
void veng1TriedToGetDebris();
void veng1UseMccoyOnDeadGuy();

// VENG2
void veng2Tick1();
@@ -2815,6 +2859,12 @@ class Room {
}
} sins;

struct {
// veng1
byte doorOpenCounter; // 0xca
bool walkingToDoor; // 0xcb
} veng;

} _roomVar;
};

Oops, something went wrong.

0 comments on commit a5d7b86

Please sign in to comment.