|
Wing Commander
Reconstructed Win32 source (1996)
|
The cockpit's component-damage display. More...
#include "wc1.h"Go to the source code of this file.
Functions | |
| void | show_damage_disp (void) |
| void | UpdateDamageDisplay (void) |
| unsigned short | GetJoystickPresentUnused (void) |
Variables | |
| unsigned char * | pDamageDisplayBackground = 0 |
| static ShortPoint | aDamageDisplayPositions [9] |
| const char * | apszComponentNames [9] |
| static unsigned char | abDamageDisplayFrames [9] |
| static const char * | apszDamageSeverityNames [5] |
| static int | nDisplayedComponentDamage |
| short | asInputButton2DoubleClick [2] |
| void * | apPacketHandlesList [0x1000] |
| int | aiPktHandleDeltas [0x1000] |
| int | nPacketHandleTotal |
| Viewport * | pAllocatedScreenViewport |
| Viewport * | pFullScreenRecord |
| unsigned short | awScreenRowOffsets [202] |
| ScreenAllocation | stCurrentScreenAlloc |
The cockpit's component-damage display.
Address range 42c800-42cdaf. Its initialized damage tables follow the preceding sound and configuration literals.
Definition in file damage.c.
| unsigned short GetJoystickPresentUnused | ( | void | ) |
Definition at line 276 of file damage.c.
References GetJoystickPresentUnused().
Referenced by GetJoystickPresentUnused(), and init_3Space_objects().
Definition at line 56 of file damage.c.
References acPlayerComponentDamageList, aWeaponDisplayOrigins, cCurrentCockpitView, cDamagedComponentCount, cPrimaryTextColour, DrawSpriteDefault(), DrawTextAt(), DrawViewportLine(), Viewport::left, nDmgDispState, pCockpitWeaponShapePtr, Viewport::right, set_new_vdu(), show_damage_disp(), ShowComponentHitHudMessage(), stLeftVdu, stLeftVduTextContext, stWpnDispOrigin, Viewport::top, ShortPoint::x, and ShortPoint::y.
Referenced by init_3Space_objects(), show_damage_disp(), and update_VDUs().
Definition at line 104 of file damage.c.
References abDamageDisplayFrames, acPlayerComponentDamageList, aDamageDisplayPositions, apszComponentNames, apszDamageSeverityNames, bCockpitlessView, CaptureSpriteBackground(), cBlackColour, cDamagedComponentCount, cDamageDisplayComponentValue, cDamageDisplayFrame, TextContext::colour, cPrimaryTextColour, DrawSpriteDefault(), DrawTextAt(), DrawViewportLine(), InvalidateVduMode(), Viewport::left, nCurrentDmgDispTicks, nDamageDisplayPhase, nDisplayedComponentDamage, pCockpitWeaponShapePtr, pDamageDisplayBackground, RestoreSpriteBackground(), stDamageSpritePos, stLeftVdu, stLeftVduTextContext, stWpnDispOrigin, szDmgStateText, Viewport::top, UpdateDamageDisplay(), ShortPoint::x, and ShortPoint::y.
Referenced by init_3Space_objects(), update_VDUs(), and UpdateDamageDisplay().
|
static |
Definition at line 30 of file damage.c.
Referenced by UpdateDamageDisplay().
|
static |
Definition at line 13 of file damage.c.
Referenced by UpdateDamageDisplay().
| int aiPktHandleDeltas[0x1000] |
Definition at line 48 of file damage.c.
Referenced by IsPushedPacketHandle(), MapPacketHandleToBlock(), and PushMemoryStackFrame().
| void* apPacketHandlesList[0x1000] |
Definition at line 47 of file damage.c.
Referenced by IsPushedPacketHandle(), MapPacketHandleToBlock(), and PushMemoryStackFrame().
| const char* apszComponentNames[9] |
Definition at line 18 of file damage.c.
Referenced by damage_your_component(), ReportComponentRepaired(), and UpdateDamageDisplay().
|
static |
Definition at line 34 of file damage.c.
Referenced by UpdateDamageDisplay().
| short asInputButton2DoubleClick[2] |
Definition at line 46 of file damage.c.
Referenced by player_input(), PollJoystickButtonEvents(), and UpdateInputDeviceTransitions().
| unsigned short awScreenRowOffsets[202] |
Definition at line 52 of file damage.c.
Referenced by InitializeDIBScreenViewport().
|
static |
Definition at line 42 of file damage.c.
Referenced by UpdateDamageDisplay().
| int nPacketHandleTotal |
Definition at line 49 of file damage.c.
Referenced by IsPushedPacketHandle(), MapPacketHandleToBlock(), and PushMemoryStackFrame().
| Viewport* pAllocatedScreenViewport |
Definition at line 50 of file damage.c.
Referenced by InitializeDIBScreenViewport(), and ShowOffscreenBuffer().
| unsigned char* pDamageDisplayBackground = 0 |
Definition at line 11 of file damage.c.
Referenced by free_cockpit(), InitializeCockpitResources(), and UpdateDamageDisplay().
| Viewport* pFullScreenRecord |
Definition at line 51 of file damage.c.
Referenced by InitFullScreenViewport(), and ShowOffscreenBuffer().
| ScreenAllocation stCurrentScreenAlloc |
Definition at line 53 of file damage.c.
Referenced by InitializeDIBScreenViewport().