Wing Commander
Reconstructed Win32 source (1996)
Loading...
Searching...
No Matches
main.h
Go to the documentation of this file.
1/**
2 * @file
3 * @ingroup headers
4 * @brief Option flags set from the command line, the configuration file and
5 * the registry.
6 *
7 * main.c defines them, and wc1.h includes this header after globals.h for
8 * every game module. The Win32 shell (winmain.c) does not: its configuration
9 * reader stores single bytes into these three flags, so it declares them as
10 * bytes itself, as the original port did. main.c's collision flag, which the
11 * shell never touches, is declared in globals.h.
12 */
13#ifndef MAIN_H
14#define MAIN_H
15
16extern int nOriginDevUnlock; /* 0x00469ff4 */
17extern int bPlayerVulnerable; /* 0x00469ffc */
18extern int bPlayerCollisionResponse; /* 0x0046a000 */
19
20#endif /* MAIN_H */
int bPlayerCollisionResponse
Definition main.c:37
int bPlayerVulnerable
Definition main.c:36
int nOriginDevUnlock
Definition main.c:34