- added three removed missions

This commit is contained in:
InspirationByte 2022-02-07 23:24:25 +03:00
parent b483679486
commit 7ce32bcd3a
6 changed files with 53 additions and 48 deletions

View File

@ -9,9 +9,11 @@ Tailing the drop
Escape to the safe house Escape to the safe house
Chase the intruder Chase the intruder
Caine's compound Caine's compound
Jones Rendezvous
Leaving Chicago Leaving Chicago
Follow up the lead Follow up the lead
Hijack the truck Hijack the truck
Truck To The Lockup
Stop the truck Stop the truck
Find the clue Find the clue
Escape to ferry Escape to ferry
@ -35,6 +37,7 @@ Steal the cop car
Caine's cash Caine's cash
Save Jones Save Jones
Boat jump Boat jump
Lose The Cops
Jones in trouble Jones in trouble
Chase the Gun Man Chase the Gun Man
Lenny escaping Lenny escaping

View File

@ -47,6 +47,7 @@ MISSION_STEP MissionLadder[] =
{ DML_MISSION, 3, 6, 0 }, { DML_MISSION, 3, 6, 0 },
{ DML_FMV, 4, 7, 0 }, { DML_FMV, 4, 7, 0 },
{ DML_MISSION, 5, 7, 0 }, { DML_MISSION, 5, 7, 0 },
{ DML_MISSION, 5, 8, 0 },
{ DML_RECAP, 5, 0, 0 }, { DML_RECAP, 5, 0, 0 },
{ DML_MISSION, 5, 9, 0 }, { DML_MISSION, 5, 9, 0 },
{ DML_FMV, 5, 8, 0 }, { DML_FMV, 5, 8, 0 },
@ -55,6 +56,7 @@ MISSION_STEP MissionLadder[] =
{ DML_FMV, 6, 10, 0 }, { DML_FMV, 6, 10, 0 },
{ DML_FMV, 6, 11, 0 }, { DML_FMV, 6, 11, 0 },
{ DML_MISSION, 7, 11, 0 }, { DML_MISSION, 7, 11, 0 },
{ DML_MISSION, 7, 12, 0 },
{ DML_RECAP, 7, 0, 0 }, { DML_RECAP, 7, 0, 0 },
{ DML_MISSION, 7, 13, 0 }, { DML_MISSION, 7, 13, 0 },
{ DML_MISSION, 7, 14, 0 }, { DML_MISSION, 7, 14, 0 },
@ -90,6 +92,7 @@ MISSION_STEP MissionLadder[] =
{ DML_MISSION, 16, 34, 1 }, { DML_MISSION, 16, 34, 1 },
{ DML_FMV, 16, 22, 1 }, { DML_FMV, 16, 22, 1 },
{ DML_MISSION, 17, 35, 1 }, { DML_MISSION, 17, 35, 1 },
{ DML_MISSION, 17, 36, 1 },
{ DML_RECAP, 17, 0, 1 }, { DML_RECAP, 17, 0, 1 },
{ DML_MISSION, 17, 37, 1 }, { DML_MISSION, 17, 37, 1 },
{ DML_FMV, 17, 23, 1 }, { DML_FMV, 17, 23, 1 },

View File

@ -36,7 +36,7 @@
#include <SDL.h> #include <SDL.h>
#endif // PSX #endif // PSX
char* MissionName[37] = char* MissionName[40] =
{ {
// Chicago // Chicago
M_LTXT_ID(MTXT_Surveillancetipoff), M_LTXT_ID(MTXT_Surveillancetipoff),
@ -46,11 +46,13 @@ char* MissionName[37] =
M_LTXT_ID(MTXT_Escapetothesafehouse), M_LTXT_ID(MTXT_Escapetothesafehouse),
M_LTXT_ID(MTXT_Chasetheintruder), M_LTXT_ID(MTXT_Chasetheintruder),
M_LTXT_ID(MTXT_Cainescompound), M_LTXT_ID(MTXT_Cainescompound),
M_LTXT_ID(MTXT_Jonesrendezvous),
M_LTXT_ID(MTXT_LeavingChicago), M_LTXT_ID(MTXT_LeavingChicago),
// Havana // Havana
M_LTXT_ID(MTXT_Followupthelead), M_LTXT_ID(MTXT_Followupthelead),
M_LTXT_ID(MTXT_Hijackthetruck), M_LTXT_ID(MTXT_Hijackthetruck),
M_LTXT_ID(MTXT_Trucktothelockup),
M_LTXT_ID(MTXT_Stopthetruck), M_LTXT_ID(MTXT_Stopthetruck),
M_LTXT_ID(MTXT_Findtheclue), M_LTXT_ID(MTXT_Findtheclue),
M_LTXT_ID(MTXT_Escapetoferry), M_LTXT_ID(MTXT_Escapetoferry),
@ -78,6 +80,7 @@ char* MissionName[37] =
M_LTXT_ID(MTXT_Cainescash), M_LTXT_ID(MTXT_Cainescash),
M_LTXT_ID(MTXT_SaveJones), M_LTXT_ID(MTXT_SaveJones),
M_LTXT_ID(MTXT_Boatjump), M_LTXT_ID(MTXT_Boatjump),
M_LTXT_ID(MTXT_Losethecops),
M_LTXT_ID(MTXT_Jonesintrouble), M_LTXT_ID(MTXT_Jonesintrouble),
M_LTXT_ID(MTXT_ChasetheGunMan), M_LTXT_ID(MTXT_ChasetheGunMan),
M_LTXT_ID(MTXT_Lennyescaping), M_LTXT_ID(MTXT_Lennyescaping),
@ -689,16 +692,6 @@ void LoadMission(int missionnum)
if (gCurrentMissionNumber - 1U < 40) if (gCurrentMissionNumber - 1U < 40)
{ {
int titleId = gCurrentMissionNumber; int titleId = gCurrentMissionNumber;
if (titleId > 36)
titleId--;
if (titleId > 11)
titleId--;
if (titleId > 7)
titleId--;
gMissionTitle = GET_MISSION_TXT(MissionName[titleId - 1]); gMissionTitle = GET_MISSION_TXT(MissionName[titleId - 1]);
} }
else else

View File

@ -1,7 +1,7 @@
#ifndef MISSION_H #ifndef MISSION_H
#define MISSION_H #define MISSION_H
extern char* MissionName[37]; extern char* MissionName[40];
extern int GameLevel; extern int GameLevel;
extern int gInvincibleCar; extern int gInvincibleCar;

View File

@ -330,13 +330,13 @@ char carNumLookup[4][10] = {
int minmaxSelections[4][2] = { int minmaxSelections[4][2] = {
{ 0, 8 }, { 0, 9 },
{ 8, 18 }, { 9, 20 },
{ 18, 28 }, { 20, 30 },
{ 28, 37 } { 30, 40 }
}; };
BOTCH botch[38] = { BOTCH botch[41] = {
{ 1, &MissionName[0]}, { 1, &MissionName[0]},
{ 2, &MissionName[1]}, { 2, &MissionName[1]},
{ 3, &MissionName[2]}, { 3, &MissionName[2]},
@ -344,36 +344,39 @@ BOTCH botch[38] = {
{ 5, &MissionName[4]}, { 5, &MissionName[4]},
{ 6, &MissionName[5]}, { 6, &MissionName[5]},
{ 7, &MissionName[6]}, { 7, &MissionName[6]},
{ 9, &MissionName[7]}, { 8, &MissionName[7]},
{ 10, &MissionName[8]}, { 9, &MissionName[8]},
{ 11, &MissionName[9]}, { 10, &MissionName[9]},
{ 13, &MissionName[10]}, { 11, &MissionName[10]},
{ 14, &MissionName[11]}, { 12, &MissionName[11]},
{ 15, &MissionName[12]}, { 13, &MissionName[12]},
{ 16, &MissionName[13]}, { 14, &MissionName[13]},
{ 17, &MissionName[14]}, { 15, &MissionName[14]},
{ 18, &MissionName[15]}, { 16, &MissionName[15]},
{ 19, &MissionName[16]}, { 17, &MissionName[16]},
{ 20, &MissionName[17]}, { 18, &MissionName[17]},
{ 21, &MissionName[18]}, { 19, &MissionName[18]},
{ 22, &MissionName[19]}, { 20, &MissionName[19]},
{ 23, &MissionName[20]}, { 21, &MissionName[20]},
{ 24, &MissionName[21]}, { 22, &MissionName[21]},
{ 25, &MissionName[22]}, { 23, &MissionName[22]},
{ 26, &MissionName[23]}, { 24, &MissionName[23]},
{ 27, &MissionName[24]}, { 25, &MissionName[24]},
{ 28, &MissionName[25]}, { 26, &MissionName[25]},
{ 29, &MissionName[26]}, { 27, &MissionName[26]},
{ 30, &MissionName[27]}, { 28, &MissionName[27]},
{ 31, &MissionName[28]}, { 29, &MissionName[28]},
{ 32, &MissionName[29]}, { 30, &MissionName[29]},
{ 33, &MissionName[30]}, { 31, &MissionName[30]},
{ 34, &MissionName[31]}, { 32, &MissionName[31]},
{ 35, &MissionName[32]}, { 33, &MissionName[32]},
{ 37, &MissionName[33]}, { 34, &MissionName[33]},
{ 38, &MissionName[34]}, { 35, &MissionName[34]},
{ 39, &MissionName[35]}, { 36, &MissionName[35]},
{ 40, &MissionName[36]}, { 37, &MissionName[36]},
{ 38, &MissionName[37]},
{ 39, &MissionName[38]},
{ 40, &MissionName[39]},
{ 0,NULL} { 0,NULL}
}; };
@ -2224,7 +2227,7 @@ int MissionSelectScreen(int bSetup)
{ {
if (botch[currMission + i].missNum > gFurthestMission || if (botch[currMission + i].missNum > gFurthestMission ||
currMission + i >= minmaxSelections[currCity][1] || currMission + i >= minmaxSelections[currCity][1] ||
currMission + i > 36) currMission + i > 39)
{ {
done = true; done = true;
} }

View File

@ -144,9 +144,11 @@ enum MissionStrId
MTXT_Escapetothesafehouse, MTXT_Escapetothesafehouse,
MTXT_Chasetheintruder, MTXT_Chasetheintruder,
MTXT_Cainescompound, MTXT_Cainescompound,
MTXT_Jonesrendezvous,
MTXT_LeavingChicago, MTXT_LeavingChicago,
MTXT_Followupthelead, MTXT_Followupthelead,
MTXT_Hijackthetruck, MTXT_Hijackthetruck,
MTXT_Trucktothelockup,
MTXT_Stopthetruck, MTXT_Stopthetruck,
MTXT_Findtheclue, MTXT_Findtheclue,
MTXT_Escapetoferry, MTXT_Escapetoferry,
@ -170,6 +172,7 @@ enum MissionStrId
MTXT_Cainescash, MTXT_Cainescash,
MTXT_SaveJones, MTXT_SaveJones,
MTXT_Boatjump, MTXT_Boatjump,
MTXT_Losethecops,
MTXT_Jonesintrouble, MTXT_Jonesintrouble,
MTXT_ChasetheGunMan, MTXT_ChasetheGunMan,
MTXT_Lennyescaping, MTXT_Lennyescaping,