Wing Commander
Reconstructed Win32 source (1996)
Loading...
Searching...
No Matches
winmain.h File Reference

Declarations for the Win32 shell. More...

#include "wc1base.h"
#include "wcdata.h"
#include "globals.h"
#include "wc1funcs.h"
#include "wc1extern.h"

Go to the source code of this file.

Variables

HDC hMainWindowDC
char nOriginDevUnlock
char bPlayerVulnerable
char bPlayerCollisionResponse

Detailed Description

Declarations for the Win32 shell.

The shell (winmain.c) includes the common headers itself instead of wc1.h. It does not use main.h, because its configuration reader stores single bytes into three of main.c's option flags and declares those flags as bytes, as the original port did.

Definition in file winmain.h.

Variable Documentation

◆ bPlayerCollisionResponse

char bPlayerCollisionResponse
extern

Definition at line 37 of file main.c.

◆ bPlayerVulnerable

char bPlayerVulnerable
extern

Definition at line 36 of file main.c.

◆ hMainWindowDC

HDC hMainWindowDC
extern

Definition at line 52 of file winmain.c.

Referenced by CreateMainWindow(), and GetMainWindowDeviceContext().

◆ nOriginDevUnlock

char nOriginDevUnlock
extern

Definition at line 34 of file main.c.