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

Installation-file loading, start-up arguments and disk-prompt setup. More...

#include "wc1.h"

Go to the source code of this file.

Functions

void FxDriverShutdownHook (void)
unsigned short InitializeDiskPromptTextContext (void)
unsigned short RewriteDiskFileGraphicsExtensions (short videoMode)
short LoadWingCmdrCfgFile (short argc, char **argv)
unsigned short LoadInstallDat (void)

Variables

ScreenAllocation * pScreenAllocPtr
int aiSoundEffectSourceActiveArray [0x40]
unsigned char abAudioPlaybackSlots [0xf8]
int nPassingShipAudioCooldown
int nAllocateViewportCallsValue
void * pLastPacketAllocation
FireworkState aFireworksList [30]
struct Shape * pFireworkShape
ConstellationStar aConstellationStarsTable [10]

Detailed Description

Installation-file loading, start-up arguments and disk-prompt setup.

Address range 42c410-42c7ff. Which unit owned the leading empty shutdown hook is provisional.

Definition in file install.c.

Function Documentation

◆ FxDriverShutdownHook()

void FxDriverShutdownHook ( void )

Definition at line 23 of file install.c.

References FxDriverShutdownHook().

Referenced by FxDriverShutdownHook(), init_3Space_objects(), and LoadOriginFxDrivers().

◆ InitializeDiskPromptTextContext()

◆ LoadInstallDat()

◆ LoadWingCmdrCfgFile()

short LoadWingCmdrCfgFile ( short argc,
char ** argv )

◆ RewriteDiskFileGraphicsExtensions()

unsigned short RewriteDiskFileGraphicsExtensions ( short videoMode)

Variable Documentation

◆ abAudioPlaybackSlots

unsigned char abAudioPlaybackSlots[0xf8]

Definition at line 14 of file install.c.

Referenced by free_inflight_music().

◆ aConstellationStarsTable

ConstellationStar aConstellationStarsTable[10]

Definition at line 20 of file install.c.

Referenced by DrawConstellationField(), and InitializeConstellationField().

◆ aFireworksList

FireworkState aFireworksList[30]

◆ aiSoundEffectSourceActiveArray

int aiSoundEffectSourceActiveArray[0x40]

Definition at line 13 of file install.c.

Referenced by PlaySfxWaveFileByNumber(), remove_hazard(), and servicetrack().

◆ nAllocateViewportCallsValue

int nAllocateViewportCallsValue

Definition at line 16 of file install.c.

Referenced by AllocateViewport().

◆ nPassingShipAudioCooldown

int nPassingShipAudioCooldown

Definition at line 15 of file install.c.

Referenced by servicetrack().

◆ pFireworkShape

struct Shape* pFireworkShape

Definition at line 19 of file install.c.

Referenced by ShowTheEndScreen(), ShowVictoryScreen(), and TheEndFireWorks().

◆ pLastPacketAllocation

void* pLastPacketAllocation

Definition at line 17 of file install.c.

Referenced by DecompressPacketSection(), and PacketLoad().

◆ pScreenAllocPtr

ScreenAllocation* pScreenAllocPtr

Definition at line 12 of file install.c.

Referenced by InitializeDIBScreenViewport().