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

Umbrella header for the game core. More...

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

Go to the source code of this file.

Detailed Description

Umbrella header for the game core.

The banner at the top of this file is reproduced from the leaked original main-module header, whose module name was "MAIN GAME C SOURCE MODULE (Main loop etc.)".

The core is C, ported from 16-bit DOS sources. int was 16 bits in the original, so nearly all game state is short here: using int where the original used a 16-bit type produces 32-bit operations and breaks the instruction comparison.

Definition in file wc1.h.