fs2port/port/include/ovlWw1.h

19 lines
561 B
C

// FS2.1 file section $2D, the WW1 Ace overlay (src/ovl2d.s): the
// gunsight, machine-gun bullets, bomb timer, the six enemy aircraft
// and the war messages. Loaded over $A7E0..$B3DF by LoadSceneryFile2
// and entered every frame through the PatchSlot_Gunsight slot it
// rewrites to `jmp $AA03`.
#ifndef OVL_WW1_H
#define OVL_WW1_H
#include <stdbool.h>
#define OVL_WW1_ENTRY 0xAA03
// True when the bytes at $AA03 are this overlay's entry code.
bool ovlWw1IsLoaded(void);
// The $AA03 entry: one frame of the WW1 mode.
void ovlWw1Gunsight(void);
#endif