|
Wing Commander
Reconstructed Win32 source (1996)
|
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] |
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.
Definition at line 23 of file install.c.
References FxDriverShutdownHook().
Referenced by FxDriverShutdownHook(), init_3Space_objects(), and LoadOriginFxDrivers().
| unsigned short InitializeDiskPromptTextContext | ( | void | ) |
Definition at line 28 of file install.c.
References TextContext::alignment, bGraphicsActive, ShortRect::bottom, cBlackColour, cViewportClearColour, TextContext::font, FontHeight(), InitializeDiskPromptTextContext(), InitializeGameTextContexts(), InitializeTextContextFromFont(), ShortRect::left, MeasureTextPixelWidthClamped(), nDiskPromptBorderColour, Viewport::pixels, ShortRect::right, stDefaultTxtContext, stDiskPromptBounds, stDiskPromptTextContext, stDiskPromptViewport, stScreenView, szTxtWorkspaceBuffer, TextContext::text, ShortRect::top, and TextContext::viewport.
Referenced by init_3Space_objects(), InitializeDiskPromptTextContext(), and LoadOriginFxDrivers().
| unsigned short LoadInstallDat | ( | void | ) |
Definition at line 126 of file install.c.
References AllocateTaggedMemory(), ClearDebugPauseFlags(), CloseDataFile(), LoadInstallDat(), DiskFileRecord::logicalFile, DiskFileRecord::name, OpenDataFileOrDie(), pDiskFileRecords, PumpMessagesDuringWait(), ReadDataFileAtOffset(), ReleasePacketHandle(), and SystemDebugPrintf().
Referenced by init_3Space_objects(), LoadInstallDat(), and main().
| short LoadWingCmdrCfgFile | ( | short | argc, |
| char ** | argv ) |
Definition at line 95 of file install.c.
References LoadWingCmdrCfgFile(), pCurrentStartupArgumentsPtr, and szTxtWorkspaceBuffer.
Referenced by init_3Space_objects(), LoadWingCmdrCfgFile(), and main().
| unsigned short RewriteDiskFileGraphicsExtensions | ( | short | videoMode | ) |
Definition at line 65 of file install.c.
References DiskFileRecord::name, pDiskFileRecords, and RewriteDiskFileGraphicsExtensions().
Referenced by init_3Space_objects(), LoadOriginFxDrivers(), and RewriteDiskFileGraphicsExtensions().
| unsigned char abAudioPlaybackSlots[0xf8] |
Definition at line 14 of file install.c.
Referenced by free_inflight_music().
| ConstellationStar aConstellationStarsTable[10] |
Definition at line 20 of file install.c.
Referenced by DrawConstellationField(), and InitializeConstellationField().
| FireworkState aFireworksList[30] |
Definition at line 18 of file install.c.
Referenced by InitializeFireworks(), ShowTheEndScreen(), ShowVictoryScreen(), and TheEndFireWorks().
| int aiSoundEffectSourceActiveArray[0x40] |
Definition at line 13 of file install.c.
Referenced by PlaySfxWaveFileByNumber(), remove_hazard(), and servicetrack().
| int nAllocateViewportCallsValue |
Definition at line 16 of file install.c.
Referenced by AllocateViewport().
| int nPassingShipAudioCooldown |
Definition at line 15 of file install.c.
Referenced by servicetrack().
| struct Shape* pFireworkShape |
Definition at line 19 of file install.c.
Referenced by ShowTheEndScreen(), ShowVictoryScreen(), and TheEndFireWorks().
| void* pLastPacketAllocation |
Definition at line 17 of file install.c.
Referenced by DecompressPacketSection(), and PacketLoad().
| ScreenAllocation* pScreenAllocPtr |
Definition at line 12 of file install.c.
Referenced by InitializeDIBScreenViewport().