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

Option flags set from the command line, the configuration file and the registry. More...

Go to the source code of this file.

Variables

int nOriginDevUnlock
int bPlayerVulnerable
int bPlayerCollisionResponse

Detailed Description

Option flags set from the command line, the configuration file and the registry.

main.c defines them, and wc1.h includes this header after globals.h for every game module. The Win32 shell (winmain.c) does not: its configuration reader stores single bytes into these three flags, so it declares them as bytes itself, as the original port did. main.c's collision flag, which the shell never touches, is declared in globals.h.

Definition in file main.h.

Variable Documentation

◆ bPlayerCollisionResponse

int bPlayerCollisionResponse
extern

Definition at line 37 of file main.c.

Referenced by CheckLauncherAndConfig(), main(), object_collision(), and visit_the_cinema().

◆ bPlayerVulnerable

int bPlayerVulnerable
extern

◆ nOriginDevUnlock

int nOriginDevUnlock
extern