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 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.hThe places, sizes and counts that differ between the editions, by language or by patch, each chosen here once so that the code using it reads a single name.
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 (config.h).
flags.hThe game flags (GameFlagBytes), named where their meaning is shown: the party's and the Djinn's, the system's, a scene's and an area's own, then the story's and the treasures', place by place.
item_ids.hItem numbers, named from the English release.
macros.hSmall statement macros both games use for positions, velocities and bounds.
resource_ids.hThe resource numbers the C code loads by name, each named for what the resource holds.
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 Broken Seal 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, named where the code shows what they are.
static_assert.hSTATIC_ASSERT, a compile-time check that emits nothing.
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