Wing Commander
Reconstructed Win32 source (1996)
Toggle main menu visibility
Loading...
Searching...
No Matches
wc1.h
Go to the documentation of this file.
1
/*
2
* ============================================================================
3
* | WINGLEADER |
4
* | The 3D space combat simulator |
5
* | |
6
* | A game of interstellar fighter conflict. |
7
* | |
8
* | (c)1989,1990 Chris Roberts. All rights reserved. |
9
* ============================================================================
10
*/
11
/**
12
* @file
13
* @ingroup headers
14
* @brief Umbrella header for the game core.
15
*
16
* The banner at the top of this file is reproduced from the leaked original
17
* main-module header, whose module name was "MAIN GAME C SOURCE MODULE (Main
18
* loop etc.)".
19
*
20
* The core is C, ported from 16-bit DOS sources. `int` was 16 bits in the
21
* original, so nearly all game state is `short` here: using `int` where the
22
* original used a 16-bit type produces 32-bit operations and breaks the
23
* instruction comparison.
24
*/
25
#ifndef GAME_H
26
#define GAME_H
27
28
#include "
wc1base.h
"
29
30
#ifdef __cplusplus
31
extern
"C"
{
32
#endif
33
34
#include "
wcdata.h
"
35
#include "
globals.h
"
36
#include "
main.h
"
37
#include "
wc1funcs.h
"
38
#include "
wc1extern.h
"
39
40
#ifdef __cplusplus
41
}
42
#endif
43
44
#endif
/* GAME_H */
globals.h
Globals shared between compilation units.
main.h
Option flags set from the command line, the configuration file and the registry.
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.
include
wc1.h
Generated by
1.18.0