aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/scoring.h
blob: bd09f2b834c6d779223e11322d1b3a577d4551ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
/* ScummVM - Graphic Adventure Engine
 *
 * ScummVM is the legal property of its developers, whose names
 * are too numerous to list here. Please refer to the COPYRIGHT
 * file distributed with this source distribution.
 *
 * Additional copyright for this file:
 * Copyright (C) 1995-1997 Presto Studios, Inc.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.

 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.

 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 *
 */

#ifndef PEGASUS_SCORING_H
#define PEGASUS_SCORING_H

#include "pegasus/types.h"

namespace Pegasus {

/////////////////////////////////////////////
//
//	Scoring.

const tCoordType kDeathScreenScoreLeft = 151;
const tCoordType kDeathScreenScoreTop = 212;
const tCoordType kDeathScreenScoreWidth = 124;
const tCoordType kDeathScreenScoreHeight = 12;
const tCoordType kDeathScreenScoreSkipVert = -16;

//	Caldoria & TSA

const tGameScoreType kSawINNScore					= 5;
const tGameScoreType kTookShowerScore				= 2;
const tGameScoreType kFixedHairScore				= 2;
const tGameScoreType kGotKeyCardScore				= 5;
const tGameScoreType kReadPaperScore				= 2;
const tGameScoreType kLookThroughTelescopeScore		= 2;
const tGameScoreType kSawCaldoriaKioskScore			= 2;
const tGameScoreType kGoToTSAScore					= 3;

const tGameScoreType kEnterTSAScore					= 2;
const tGameScoreType kSawBust1Score					= 2;
const tGameScoreType kSawBust2Score					= 2;
const tGameScoreType kSawBust3Score					= 2;
const tGameScoreType kSawBust4Score					= 2;
const tGameScoreType kSawBust5Score					= 2;
const tGameScoreType kSawBust6Score					= 2;
const tGameScoreType kSawTheoryScore				= 4;
const tGameScoreType kSawBackgroundScore			= 4;
const tGameScoreType kSawProcedureScore				= 4;
const tGameScoreType kGotJourneymanKeyScore			= 5;
const tGameScoreType kGotPegasusBiochipScore		= 5;
const tGameScoreType kGotBiosuitScore				= 5;
const tGameScoreType kGoToPrehistoricScore			= 5;

const tGameScoreType kPutLogInReaderScore			= 5;
const tGameScoreType kSawCaldoriaNormalScore		= 2;
const tGameScoreType kSawCaldoriaAlteredScore		= 2;
const tGameScoreType kSawNoradNormalScore			= 2;
const tGameScoreType kSawNoradAlteredScore			= 2;
const tGameScoreType kSawMarsNormalScore			= 2;
const tGameScoreType kSawMarsAlteredScore			= 2;
const tGameScoreType kSawWSCNormalScore				= 2;
const tGameScoreType kSawWSCAlteredScore			= 2;
const tGameScoreType kWentToReadyRoom2Score			= 5;
const tGameScoreType kWentAfterSinclairScore		= 5;
const tGameScoreType kUsedCardBombScore				= 10;
const tGameScoreType kShieldedCardBombScore			= 5;
const tGameScoreType kStunnedSinclairScore			= 10;
const tGameScoreType kDisarmedNukeScore				= 10;

const tGameScoreType kMaxCaldoriaTSAScoreBefore		=	kSawINNScore +
														kTookShowerScore +
														kFixedHairScore +
														kGotKeyCardScore +
														kReadPaperScore +
														kLookThroughTelescopeScore +
														kSawCaldoriaKioskScore +
														kGoToTSAScore +
														kEnterTSAScore +
														kSawBust1Score +
														kSawBust2Score +
														kSawBust3Score +
														kSawBust4Score +
														kSawBust5Score +
														kSawBust6Score +
														kSawTheoryScore +
														kSawBackgroundScore +
														kSawProcedureScore +
														kGotJourneymanKeyScore +
														kGotPegasusBiochipScore +
														kGotBiosuitScore +
														kGoToPrehistoricScore +
														kPutLogInReaderScore +
														kSawCaldoriaNormalScore +
														kSawCaldoriaAlteredScore +
														kSawNoradNormalScore +
														kSawNoradAlteredScore +
														kSawMarsNormalScore +
														kSawMarsAlteredScore +
														kSawWSCNormalScore +
														kSawWSCAlteredScore +
														kWentToReadyRoom2Score;

const tGameScoreType kMaxCaldoriaTSAScoreAfter		=	kWentAfterSinclairScore +
														kUsedCardBombScore +
														kShieldedCardBombScore +
														kStunnedSinclairScore +
														kDisarmedNukeScore;

const tGameScoreType kMaxCaldoriaTSAScore			=	kMaxCaldoriaTSAScoreBefore +
														kMaxCaldoriaTSAScoreAfter;

//	Prehistoric

const tGameScoreType kThrewBreakerScore				= 10;
const tGameScoreType kExtendedBridgeScore			= 10;
const tGameScoreType kGotHistoricalLogScore			= 5;
const tGameScoreType kFinishedPrehistoricScore		= 10;

const tGameScoreType kMaxPrehistoricScore			=	kThrewBreakerScore +
														kExtendedBridgeScore +
														kGotHistoricalLogScore +
														kFinishedPrehistoricScore;

//	Mars

const tGameScoreType kThrownByRobotScore			= 3;
const tGameScoreType kGotMarsCardScore				= 5;
const tGameScoreType kSawMarsKioskScore				= 2;
const tGameScoreType kSawTransportMapScore			= 2;
const tGameScoreType kGotCrowBarScore				= 5;
const tGameScoreType kTurnedOnTransportScore		= 5;
const tGameScoreType kGotOxygenMaskScore			= 5;
const tGameScoreType kAvoidedRobotScore				= 5;
const tGameScoreType kActivatedPlatformScore		= 2;
const tGameScoreType kUsedLiquidNitrogenScore		= 3;
const tGameScoreType kUsedCrowBarScore				= 3;
const tGameScoreType kFoundCardBombScore			= 4;
const tGameScoreType kDisarmedCardBombScore			= 8;
const tGameScoreType kGotCardBombScore				= 5;
const tGameScoreType kThreadedMazeScore				= 5;
const tGameScoreType kThreadedGearRoomScore			= 2;
const tGameScoreType kEnteredShuttleScore			= 2;
const tGameScoreType kEnteredLaunchTubeScore		= 4;
const tGameScoreType kStoppedRobotsShuttleScore		= 10;
const tGameScoreType kGotMarsOpMemChipScore			= 10;
const tGameScoreType kFinishedMarsScore				= 10;

const tGameScoreType kMaxMarsScore					=	kThrownByRobotScore +
														kGotMarsCardScore +
														kSawMarsKioskScore +
														kSawTransportMapScore +
														kGotCrowBarScore +
														kTurnedOnTransportScore +
														kGotOxygenMaskScore +
														kAvoidedRobotScore +
														kActivatedPlatformScore +
														kUsedLiquidNitrogenScore +
														kUsedCrowBarScore +
														kFoundCardBombScore +
														kDisarmedCardBombScore +
														kGotCardBombScore +
														kThreadedMazeScore +
														kThreadedGearRoomScore +
														kEnteredShuttleScore +
														kEnteredLaunchTubeScore +
														kStoppedRobotsShuttleScore +
														kGotMarsOpMemChipScore +
														kFinishedMarsScore;

//	Norad

const tGameScoreType kSawSecurityMonitorScore		= 5;
const tGameScoreType kFilledOxygenCanisterScore		= 5;
const tGameScoreType kFilledArgonCanisterScore		= 5;
const tGameScoreType kSawUnconsciousOperatorScore	= 5;
const tGameScoreType kWentThroughPressureDoorScore	= 5;
const tGameScoreType kPreppedSubScore				= 5;
const tGameScoreType kEnteredSubScore				= 5;
const tGameScoreType kExitedSubScore				= 10;
const tGameScoreType kSawRobotAt54NorthScore		= 5;
const tGameScoreType kPlayedWithClawScore			= 5;
const tGameScoreType kUsedRetinalChipScore			= 5;
const tGameScoreType kFinishedGlobeGameScore		= 10;
const tGameScoreType kStoppedNoradRobotScore		= 10;
const tGameScoreType kGotNoradOpMemChipScore		= 10;
const tGameScoreType kFinishedNoradScore			= 10;

const tGameScoreType kMaxNoradScore					=	kSawSecurityMonitorScore +
														kFilledOxygenCanisterScore +
														kFilledArgonCanisterScore +
														kSawUnconsciousOperatorScore +
														kWentThroughPressureDoorScore +
														kPreppedSubScore +
														kEnteredSubScore +
														kExitedSubScore +
														kSawRobotAt54NorthScore +
														kPlayedWithClawScore +
														kUsedRetinalChipScore +
														kFinishedGlobeGameScore +
														kStoppedNoradRobotScore +
														kGotNoradOpMemChipScore +
														kFinishedNoradScore;

//	WSC

const tGameScoreType kRemovedDartScore				= 5;
const tGameScoreType kAnalyzedDartScore				= 5;
const tGameScoreType kBuiltAntidoteScore			= 5;
const tGameScoreType kGotSinclairKeyScore			= 5;
const tGameScoreType kGotArgonCanisterScore 		= 5;
const tGameScoreType kGotNitrogenCanisterScore		= 5;
const tGameScoreType kPlayedWithMessagesScore		= 2;
const tGameScoreType kSawMorphExperimentScore		= 3;
const tGameScoreType kEnteredSinclairOfficeScore	= 2;
const tGameScoreType kSawBrochureScore				= 3;
const tGameScoreType kSawSinclairEntry1Score		= 3;
const tGameScoreType kSawSinclairEntry2Score		= 3;
const tGameScoreType kSawSinclairEntry3Score		= 3;
const tGameScoreType kSawWSCDirectoryScore			= 3;
const tGameScoreType kUsedCrowBarInWSCScore			= 5;
const tGameScoreType kFinishedPlasmaDodgeScore		= 10;
const tGameScoreType kOpenedCatwalkScore			= 3;
const tGameScoreType kStoppedWSCRobotScore			= 10;
const tGameScoreType kGotWSCOpMemChipScore			= 10;
const tGameScoreType kFinishedWSCScore				= 10;

const tGameScoreType kMaxWSCScore					=	kRemovedDartScore +
														kAnalyzedDartScore +
														kBuiltAntidoteScore +
														kGotSinclairKeyScore +
														kGotArgonCanisterScore +
														kGotNitrogenCanisterScore +
														kPlayedWithMessagesScore +
														kSawMorphExperimentScore +
														kEnteredSinclairOfficeScore +
														kSawBrochureScore +
														kSawSinclairEntry1Score +
														kSawSinclairEntry2Score +
														kSawSinclairEntry3Score +
														kSawWSCDirectoryScore +
														kUsedCrowBarInWSCScore +
														kFinishedPlasmaDodgeScore +
														kOpenedCatwalkScore +
														kStoppedWSCRobotScore +
														kGotWSCOpMemChipScore +
														kFinishedWSCScore;

//	Gandhi

const tGameScoreType kMarsGandhiScore				= 10;
const tGameScoreType kNoradGandhiScore				= 10;
const tGameScoreType kWSCGandhiScore				= 10;

const tGameScoreType kMaxGandhiScore				=	kMarsGandhiScore +
														kNoradGandhiScore +
														kWSCGandhiScore;

const tGameScoreType kMaxTotalScore					=	kMaxCaldoriaTSAScore +
														kMaxPrehistoricScore +
														kMaxMarsScore +
														kMaxNoradScore +
														kMaxWSCScore +
														kMaxGandhiScore;
} // End of namespace Pegasus

#endif