include
Directories
Files
| File | Description |
|---|---|
ability_ids.h | Ability numbers, named from the English release. |
area_ids.h | The areas: groups of scenes that share their music, their area flags and the name shown on arriving from another area. |
config.h | Build 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.h | Djinn numbers, named from the English release. |
edition.h | The edition being built: its language, and the features it turns on. |
edition_values.h | Numbers that differ between the languages, chosen here once for the code that uses them. |
enemy_ids.h | Enemy ids, named from the English release. |
features.h | How the code asks for what an edition has. |
fixed_math.h | 16.16 fixed-point constants and pixels, sine and cosine, and the system library's division. |
fixes.h | The 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.h | The 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.h | Item numbers, named from the English release. |
macros.h | Small statement macros both games use for positions, velocities and bounds. |
resource_ids.h | Resource numbers, named where their contents are known, as The Broken Seal's resource_ids.h. |
scene_exits.h | The ways between scenes. |
scene_ids.h | Scene numbers, named after their places, in the order of ScenesWork (field/scenes.s). |
sdk_config.h | What 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.h | Sound 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.h | Sprite numbers, and the animations of a few sprites that the code picks by number. |
static_assert.h | STATIC_ASSERT, a check on sizes and layouts made as the code compiles. |
stddef.h | size_t, ptrdiff_t, wchar_t, NULL and offsetof, as the C library defines them. |
system.h | The system library's one header: its types, its functions and its macros. |
types.h | SGL's integer types, Bool and logic constants, UNUSED, unread results and the fixed-address macros. |