Permalink
Browse files

STARTREK: VENG0

  • Loading branch information...
Drenn1 authored and sev- committed Aug 3, 2018
1 parent ad6a2bb commit 08ef636a989ba5a9a040b7c2a84f9bda0846a4c4
@@ -618,6 +618,24 @@ struct AwayMission {
ser.syncAsSint16LE(missionScore);
}
} sins;

struct {
bool enteredRoom0FirstTime; // 0x2d
bool bridgeCrewmanDead; // 0x30
bool scannedCaptainsChair; // 0x31
bool scannedComputerBank; // 0x32
bool field34; // 0x34

// 0: beam still in place
// 1: used saw on beam
// 2: beam taken
byte beamState; // 0x35

bool field36; // 0x36
bool field68; // 0x68
bool field6b; // 0x6b
bool field6c; // 0x6c
} veng;
};
};
// Size: 0x129 bytes
@@ -67,7 +67,16 @@ MODULE_OBJS = \
rooms/sins2.o \
rooms/sins3.o \
rooms/sins4.o \
rooms/sins5.o
rooms/sins5.o \
rooms/veng0.o \
rooms/veng1.o \
rooms/veng2.o \
rooms/veng3.o \
rooms/veng4.o \
rooms/veng5.o \
rooms/veng6.o \
rooms/veng7.o \
rooms/veng8.o



@@ -99,6 +99,15 @@ Room::Room(StarTrekEngine *vm, const Common::String &name) : _vm(vm), _awayMissi
ADD_ROOM(sins3);
ADD_ROOM(sins4);
ADD_ROOM(sins5);
ADD_ROOM(veng0);
ADD_ROOM(veng1);
ADD_ROOM(veng2);
ADD_ROOM(veng3);
ADD_ROOM(veng4);
ADD_ROOM(veng5);
ADD_ROOM(veng6);
ADD_ROOM(veng7);
ADD_ROOM(veng8);

if (_roomActionList == nullptr) {
warning("Room \"%s\" unimplemented", name.c_str());
@@ -2431,6 +2431,73 @@ class Room {
void sins5UseSTricorderOnNorthDoor();
void sins5UseMTricorderOnCrewman();

// VENG0
void veng0Tick1();
void veng0Tick10();
void veng0Tick50();
void veng0TouchedDoor();
void veng0UseSTricorderOnComputerBank();
void veng0UseSTricorderOnChair();
void veng0UseSTricorderAnywhere();
void veng0UseMccoyOnBeam();
void veng0UseSTricorderOnBeam();
void veng0UseRedshirtOnBeam();
void veng0UseSpockOnConsole();
void veng0UseRedshirtOnConsole();
void veng0UsePhaserOnBeam();
void veng0UseMccoyOnDeadCrewman();
void veng0UseSawOnBeam();
void veng0KirkReachedSaw();
void veng0Timer0Expired();
void veng0DoneCuttingBeam();
void veng0GetBeam();
void veng0TalkToKirk();
void veng0TalkToMccoy();
void veng0TalkToSpock();
void veng0TalkToRedshirt();
void veng0LookAtPatterson();
void veng0LookAtDeadCrewman2();
void veng0LookAtComputerBank();
void veng0LookAtChair();
void veng0LookAtKirk();
void veng0LookAtSpock();
void veng0LookAtMccoy();
void veng0LookAtRedshirt();
void veng0LookAtViewscreen();
void veng0LookAtHelmConsole();
void veng0LookAtNavConsole();
void veng0LookAtBeam();
void veng0LookAnywhere();
void veng0LookAtDeadCrewman1();
void veng0UseMccoyOnLivingCrewman();
void veng0MccoyReachedCrewman();
void veng0MccoyScannedCrewman();
// TODO: common code

// VENG1
void veng1Tick1();

// VENG2
void veng2Tick1();

// VENG3
void veng3Tick1();

// VENG4
void veng4Tick1();

// VENG5
void veng5Tick1();

// VENG6
void veng6Tick1();

// VENG7
void veng7Tick1();

// VENG8
void veng8Tick1();

public:
// Room-specific variables. This is memset'ed to 0 when the room is initialized.
// NOTE: Any changes here must be reflected in the corresponding serializer functions.
@@ -1795,6 +1795,11 @@ extern const int sins0NumActions, sins1NumActions, sins2NumActions,
extern const RoomAction sins4ActionList[], sins5ActionList[];
extern const int sins4NumActions, sins5NumActions;

extern const RoomAction veng0ActionList[], veng1ActionList[], veng2ActionList[], veng3ActionList[];
extern const int veng0NumActions, veng1NumActions, veng2NumActions, veng3NumActions;
extern const RoomAction veng4ActionList[], veng5ActionList[], veng6ActionList[], veng7ActionList[], veng8ActionList[];
extern const int veng4NumActions, veng5NumActions, veng6NumActions, veng7NumActions, veng8NumActions;

}

#endif
Oops, something went wrong.

0 comments on commit 08ef636

Please sign in to comment.