Skip to Content
The Alchemy Project

include

Directories

Files

FileDescription
ability_ids.hAbility numbers, named from the English release.
area_ids.hThe areas: groups of scenes that share their music, their area flags and the name shown on arriving from another area.
config.hBuild switches, as pret's config.h: BUGFIX opts in to fixes of the original game's bugs, and UBFIX gives undefined behaviour its defined form.
djinn_ids.hDjinn numbers, named from the English release.
edition.hThe edition being built: its language, and the features it turns on.
edition_values.hNumbers that differ between the languages, chosen here once for the code that uses them.
enemy_ids.hEnemy ids, named from the English release.
features.hHow the code asks for what an edition has.
fixed_math.h16.16 fixed-point constants and pixels, sine and cosine, and the system library's division.
fixes.hThe fixes: each repairs a bug or undefined behaviour of the original, is off in every edition, and is turned on by BUGFIX or UBFIX, which a build may define.
flags.hThe game flags: 4096 bits saved with the game (GameFlagBytes) that the story, the scenes and the game's own systems set and test.
item_ids.hItem numbers, named from the English release.
macros.hSmall statement macros both games use for positions, velocities and bounds.
resource_ids.hResource numbers, named where their contents are known, as The Broken Seal's resource_ids.h.
scene_exits.hThe ways between scenes.
scene_ids.hScene numbers, named after their places, in the order of ScenesWork (field/scenes.s).
sdk_config.hWhat The Lost Age sets for the development kit's code in games/common/sdk: where the sound driver's jump table and mixer sit in RAM, and the sound mode the driver starts in.
sounds.hSound ids, one for each row of SongTable (sound/song_table.s) in order: MUS_ ids are music and jingles, SE_ ids sound effects, as their sequences in sound/songs are named.
sprite_ids.hSprite numbers, and the animations of a few sprites that the code picks by number.
static_assert.hSTATIC_ASSERT, a check on sizes and layouts made as the code compiles.
stddef.hsize_t, ptrdiff_t, wchar_t, NULL and offsetof, as the C library defines them.
system.hThe system library's one header: its types, its functions and its macros.
types.hSGL's integer types, Bool and logic constants, UNUSED, unread results and the fixed-address macros.

On this page