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

Gun and missile selection. More...

#include <assert.h>
#include "wc1.h"
#include <process.h>

Go to the source code of this file.

Functions

short find_next_gun (short obj, enum ObjectType currentGun)
int select_guns (short obj, short selectedGun)
unsigned int select_new_gun (void)
unsigned int select_new_release_weapon (enum ObjectType preferredType)

Variables

struct Shape * pCommMenuPointerShape
Viewport stModalSrcViewport
struct Shape * pCurrentPilotHandShapePtr
Viewport stPilotHandComposite
Viewport stSceneBuffer
short aPaletteFadeEntries [6][3]
struct Shape * pCockpitDamageShape

Detailed Description

Gun and missile selection.

Address range 42ad00-42af9f, corroborated by the Mac select symbols.

Definition in file select.c.

Function Documentation

◆ find_next_gun()

short find_next_gun ( short obj,
enum ObjectType currentGun )

◆ select_guns()

int select_guns ( short obj,
short selectedGun )

◆ select_new_gun()

◆ select_new_release_weapon()

Variable Documentation

◆ aPaletteFadeEntries

short aPaletteFadeEntries[6][3]

Definition at line 18 of file select.c.

Referenced by house_keep(), object_collision(), and ResetCockpitPaletteEntries().

◆ pCockpitDamageShape

struct Shape* pCockpitDamageShape

Definition at line 19 of file select.c.

Referenced by draw_cockpit_lights(), and vdu_polygon().

◆ pCommMenuPointerShape

struct Shape* pCommMenuPointerShape

Definition at line 13 of file select.c.

Referenced by show_communications_disp().

◆ pCurrentPilotHandShapePtr

◆ stModalSrcViewport

◆ stPilotHandComposite

Viewport stPilotHandComposite

Definition at line 16 of file select.c.

Referenced by DrawPilotHandFrame(), free_cockpit(), and InitializeCockpitResources().

◆ stSceneBuffer