// FS2.1 file section $25, the edit-mode overlay (src/ovl25.s): the // text-mode "SIMULATION CONTROL" / "ENVIRONMENTAL CONTROL" parameter // editor and the mode library ('+' load, 'S' save). The overlay is // loaded over $A7E0..$BFFF by LoadSceneryFile1 and entered through the // PatchSlot_PreMode slot it rewrites to `jmp $B04B`. #ifndef OVL_EDIT_H #define OVL_EDIT_H #include #define OVL_EDIT_ENTRY 0xB04B // True when the bytes at $B04B are this overlay's entry code. bool ovlEditIsLoaded(void); // The $B04B entry: runs the editor (or the '+'/'S' library action) and // returns to the main loop with EditModeFlag / ModeLibraryAction clear. void ovlEditPreMode(void); #endif