ScummVM API documentation
bridge.h
1/* ScummVM - Graphic Adventure Engine
2 *
3 * ScummVM is the legal property of its developers, whose names
4 * are too numerous to list here. Please refer to the COPYRIGHT
5 * file distributed with this source distribution.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 *
20 */
21
22#ifndef STARTREK_BRIDGE_H
23#define STARTREK_BRIDGE_H
24
25namespace StarTrek {
26
27enum BridgeMenuEvent {
28 kBridgeNone = -1,
29 kBridgeKirkCommand = 0,
30 kBridgeUnk1 = 1,
31 kBridgeUnk2 = 2,
32 kBridgeStarfieldFullScreen = 3,
33 kBridgeKirkCaptainsLog = 16,
34 kBridgeKirkTransporter = 17,
35 kBridgeKirkOptions = 18,
36 kBridgeSpock = 32,
37 kBridgeSpockComputer = 33,
38 kBridgeScottyDamageControl = 48,
39 kBridgeScottyEmergencyPower = 49,
40 kBridgeUhura = 64,
41 kBridgeSuluOrbit = 80,
42 kBridgeSuluShields = 81,
43 kBridgeChekovNavigation = 96,
44 kBridgeChekovWeapons = 97,
45 kBridgeChekovRepairShields = 112,
46 kBridgeChekovRepairPhasers = 113,
47 kBridgeChekovRepairPhotonTorpedoes = 114,
48 kBridgeChekovRepairSensors = 115,
49 kBridgeChekovRepairBridge = 116,
50 kBridgeChekovRepairHull = 117,
51 kBridgeChekovRepairWarpDrives = 118,
52 kBridgeSuluTargetAnalysis = 119
53};
54
55enum Planet {
56 kPlanetNone = -1,
57 kPlanetCenturius = 0,
58 kPlanetCameronsStar = 1,
59 kPlanetArk7 = 2, // Chapter 3: Love's Labor Jeopardized (love)
60 kPlanetHarlequin = 3, // Chapter 4: Another Fine Mess (mudd)
61 kPlanetHarrapa = 4,
62 kPlanetElasiPrime = 5,
63 kPlanetDigifal = 6, // Chapter 5A: The Feathered Serpent (feather)
64 kPlanetStrahkeer = 7,
65 kPlanetHrakkour = 8, // Chapter 5B: The Feathered Serpent (trial)
66 kPlanetTriRhoNautica = 9,
67 kPlanetShivaOmicron = 10,
68 kPlanetAlphaProxima = 11, // Chapter 6: The Old Devil Moon (sins)
69 kPlanetOmegaMaelstrom = 12,
70 kPlanetArgosIV = 13,
71 kPlanetBetaMyamid = 14, // Chapter 2: Hijacked (tug)
72 kPlanetSirius = 15,
73 kPlanetSigmaZhukova = 16,
74 kPlanetCastor = 17,
75 kPlanetPollux = 18, // Chapter 1: Demon world (demon)
76 kPlanetChristgen = 19
77};
78
79enum BridgeTalkers {
80 kBridgeTalkerNone = -1,
81 kBridgeTalkerKirk = 0,
82 kBridgeTalkerSpock,
83 kBridgeTalkerSulu,
84 kBridgeTalkerChekov,
85 kBridgeTalkerUhura,
86 kBridgeTalkerScotty,
87 kBridgeTalkerMcCoy,
88 kBridgeTalkerCaptainsLog,
89 kBridgeTalkerElasiCaptain,
90 kBridgeTalkerElasiCereth,
91 kBridgeTalkerAutobeacon,
92 kBridgeTalkerHarryMuddsVoice,
93 kBridgeTalkerHarryMudd,
94 kBridgeTalkerTaraz,
95 kBridgeTalkerAdmiralKenka,
96 kBridgeTalkerKallarax
97};
98
99enum RandomEncounterType {
100 kRandomEncounterNone = 0,
101 kRandomEncounterKlingon = 1,
102 kRandomEncounterRomulan = 2,
103 kRandomEncounterElasi = 3
104};
105
106enum BridgeSequence {
107 kSeqNone = -1,
108 // -- Chapter 1 ----
109 kSeqStartMissionDemon = 0,
110 kSeqEndMockBattle = 1,
111 kSeqShowDebriefDemon = 2,
112 kSeqArrivedAtPolluxV = 3,
113 kSeqEndMissionDemon = 4,
114 // -- Chapter 2 ----
115 kSeqStartMissionTug = 5,
116 kSeqStartElasiPirateBattle = 6,
117 kSeqArrivedAtBetaMyamid = 7,
118 kSeqApproachedTheMasada = 8,
119 kSeqEndMissionTug = 9,
120 // -- Chapter 3 ----
121 kSeqStartMissionLove = 10,
122 kSeqAfterLoveDebrief = 11,
123 kSeqStartRomulanBattle = 12,
124 kSeqAfterRomulanBattle = 13,
125 kSeqArrivedAtArk7 = 14,
126 kSeqEndMissionLove = 15,
127 // -- Chapter 4 ----
128 kSeqStartMissionMudd = 16,
129 kSeqFightElasiShipsAndContactMudd = 17,
130 kSeqEndMissionMudd = 18,
131 // -- Chapter 5 ----
132 kSeqStartMissionFeather = 19,
133 kSeqUnk20 = 20,
134 kSeqEndMissionFeather = 21,
135 kSeqStartMissionTrial = 22,
136 kSeqEndMissionTrial = 23, // In the original, the same function was used for both start and end
137 // -- Chapter 6 ----
138 kSeqStartMissionSins = 24,
139 kSeqEndMissionSins = 25,
140 // -- Chapter 7 ----
141 kSeqStartMissionVeng = 26,
142 kSeqEndMissionVengAndGame = 27
143};
144
145} // End of namespace StarTrek
146
147#endif
Definition: action.h:27