Wing Commander
Reconstructed Win32 source (1996)
Toggle main menu visibility
Loading...
Searching...
No Matches
winmain.h
Go to the documentation of this file.
1
/**
2
* @file
3
* @ingroup headers
4
* @brief Declarations for the Win32 shell.
5
*
6
* The shell (winmain.c) includes the common headers itself instead of wc1.h.
7
* It does not use main.h, because its configuration reader stores single
8
* bytes into three of main.c's option flags and declares those flags as
9
* bytes, as the original port did.
10
*/
11
#ifndef WINMAIN_H
12
#define WINMAIN_H
13
14
#include "
wc1base.h
"
15
#include "
wcdata.h
"
16
#include "
globals.h
"
17
18
/* Shell state defined in winmain.c. */
19
extern
HDC
hMainWindowDC
;
/* 0x005a8a30 */
20
21
/* main.c option flags, as the shell's configuration reader stores them. */
22
extern
char
nOriginDevUnlock
;
/* 0x00469ff4 */
23
extern
char
bPlayerVulnerable
;
/* 0x00469ffc */
24
extern
char
bPlayerCollisionResponse
;
/* 0x0046a000 */
25
26
#include "
wc1funcs.h
"
27
#include "
wc1extern.h
"
28
29
#endif
/* WINMAIN_H */
globals.h
Globals shared between compilation units.
bPlayerCollisionResponse
int bPlayerCollisionResponse
Definition
main.c:37
bPlayerVulnerable
int bPlayerVulnerable
Definition
main.c:36
nOriginDevUnlock
int nOriginDevUnlock
Definition
main.c:34
wc1base.h
Common types, macros and utility prototypes.
wc1extern.h
Three prototypes that nothing calls, kept for the exact build.
wc1funcs.h
Prototypes of every reconstructed function, in address order.
wcdata.h
Game data enumerations and on-disk record layouts.
hMainWindowDC
HDC hMainWindowDC
Definition
winmain.c:52
include
winmain.h
Generated by
1.18.0