47 if (oldKills < 5 && oldKills + nPlayerKillTotal >= 5)
50 else if (oldKills < 25 &&
89 for (pilot = 0; pilot < 8; pilot++) {
115 for (objective = 0; objective < 16; objective++) {
116 score = (short)(score + scores[objective + 4]);
132 for (objective = 0; objective < 16; objective++) {
134 score = (short)(score + scores[objective + 4]);
142 unsigned char *seriesData;
161 (
signed char)seriesData[2]) {
165 (short)(
signed char)seriesData[5];
171 *(
short *)(seriesData + 3)) {
173 (
signed char)seriesData[6];
179 (
signed char)seriesData[8];
247 int barracksSelection;
274 if (roomSelection == 5) {
279 if (barracksSelection == 6)
281 if (barracksSelection == 7)
285 }
while (launchMission == 0);
304 switch (flightResult) {
313 landing((
signed char)flightResult);
374 if (nextSeries == -1) {
423 unsigned char *allocation;
427 if (allocation != 0) {
440 printf(
"free_viewport not mcga\n");
static unsigned short bSeriesFailed
static short nPostSeriesSequence
static short nPendingMedalIndex
signed char acShipRating[16]
MissionHeaderDisk stCurrentMissionHeader
short nMissionMedalScoreValue
int bPlayerShipTypeChanged
short nDebriefingPersonality
unsigned int bKeyEventQueueEnabled
int bPlayerEjectedThisMission
short nPlayerCollisionObject
CampaignDate stSavedCampaignDate
short nQueuedCampaignIndex
short nPreviousPlayerShipType
PilotRecord * apWingmanPilotsList[8]
CampaignState stCampaignState
unsigned char * apViewportAllocations[128]
MissionShipRecord aMissionShips[MISSION_SHIP_STORAGE_COUNT]
unsigned char * pMissionCampaignInfo
int nCurrentWingmanKilledThisMission
short asCampaignPilotFiles[3]
CampaignDate * pCurrentCampaignDate
signed char seriesHistory[8]
PilotRecord * currentPilot
signed char seriesHistoryCount
enum ObjectType playerShipType
signed char currentSeries
int personalityDeathMission[8]
signed char currentMission
unsigned char * allocation
unsigned short * rowOffsets
Umbrella header for the game core.
unsigned int free_cockpit(void)
unsigned int Briefing(short series, short mission)
void AddRandomTrainSimHighScores(void)
void ShowMeanwhileTransition(short scene, short variant)
unsigned int AwardCampaignMedal(short medal)
void LaunchPlayerShip(void)
unsigned int free_3Space(void)
void add_statistics(short pilot, short missions, short kills)
int RunSpaceFlight(short entryNavPoint)
unsigned int landing(signed char damageLevel)
void * LoadPacketIntoBuffer(short logicalFile, short section, void *destination)
void stranded_sequence(void)
unsigned int PumpWindowMessages(void)
unsigned int funeral_sequence(int playerFuneral)
short BarracksScreen(void)
short achieved(short objective)
unsigned int ShowTigerClawEscapeScene(void)
unsigned int ShowCarrierLaunchSequence(signed char sceneObject)
unsigned int scramble(void)
void check_stranded(void)
unsigned int UpdateSeries(void)
unsigned int PlayScrambleHangarScene(void)
unsigned int StartNewCampaign(short campaign)
int PlayersMissionScore(void)
unsigned int DeBriefing(short series, short mission)
int calculate_damage_level(void)
unsigned int death_sequence(void)
unsigned int ShowTheEndScreen(short enableFireworks)
unsigned int MoveNewCampaign(void)
void __stdcall free_viewport(Viewport *viewport)
void ReleasePacketHandle(void *handle)
unsigned int ejection_sequence(void)
unsigned int init_mission(short series, short mission)
int FullMissionScore(void)
void FrameStartHook(int mode)
short MaxShort(short a, short b,...)
unsigned int Office(void)
void ResetCampaignData(void)
short __stdcall RandomInRange(short lo, short hi)
unsigned int ShowCampaignVictorySequence(void)
@ CAMPAIGN_BADGE_FIFTEEN_MISSIONS
@ CAMPAIGN_BADGE_FIVE_KILLS
@ CAMPAIGN_BADGE_TEN_MISSIONS
@ CAMPAIGN_BADGE_TWENTY_FIVE_KILLS
@ CAMPAIGN_BADGE_FIVE_MISSIONS
@ CAMPAIGN_BADGE_SHIP_TYPE_BASE
@ CAMPAIGN_BADGE_FIRST_MISSION