Wing Commander
Reconstructed Win32 source (1996)
Loading...
Searching...
No Matches
eject.c File Reference

Ejection and stranded-pilot sequences. More...

#include "wc1.h"

Go to the source code of this file.

Functions

unsigned int ejection_sequence (void)
void stranded_sequence (void)

Variables

static short asEjectionPrimaryFrames [8]
static short asEjectionSecondaryFrames [8]
static short asEjectionViewScript [12]
static const char * pStrandedMessage
char szSoundDebugMsg [512]
struct Shape * pIntroFont

Detailed Description

Ejection and stranded-pilot sequences.

Address range 4046a0-404ccf. The ejection data and literals precede the campaign unit's mouth-animation table.

Definition in file eject.c.

Function Documentation

◆ ejection_sequence()

◆ stranded_sequence()

Variable Documentation

◆ asEjectionPrimaryFrames

short asEjectionPrimaryFrames[8]
static
Initial value:
= {
0, 1, 1, 3, 3, 0, 0, 0
}

Definition at line 11 of file eject.c.

Referenced by ejection_sequence().

◆ asEjectionSecondaryFrames

short asEjectionSecondaryFrames[8]
static
Initial value:
= {
-1, -1, 2, -1, 4, 0, 0, 0
}

Definition at line 15 of file eject.c.

Referenced by ejection_sequence().

◆ asEjectionViewScript

short asEjectionViewScript[12]
static
Initial value:
= {
3, 11, 14, 70, 3, 10, 14, 80, 3, 4, -1, 0
}

Definition at line 19 of file eject.c.

Referenced by ejection_sequence().

◆ pIntroFont

◆ pStrandedMessage

const char* pStrandedMessage
static
Initial value:
=
"\nWith your carrier\ndestroyed, you drift\nendlessly through\n"
"the void..."

Definition at line 23 of file eject.c.

Referenced by stranded_sequence().

◆ szSoundDebugMsg

char szSoundDebugMsg[512]

Definition at line 28 of file eject.c.

Referenced by SoundDebugPrintf().