Skip to Content
The Alchemy Project

Structures: A

The structures and unions of The Lost Age from A, with their briefs.

  • ABILITY_DEFINITION: An ability's definition, a row of AbilityDefinitions: its targeting, kind, element, effect, range, PP cost and power.
  • ACTION_DESCRIPTOR: ACTOR_PLACE (scene_tables.h), a row of a scene's actor placement table, as fdFindActorPlacement reads it: its sprite unsigned and its spot in plain words.
  • ACTION_SCRIPT: An actor script copied whole into the script that runs it (IsletsSpinScript).
  • ACTOR: An actor on the field: its script, position, motion toward a target, sprites and update hook.
  • ACTOR_CAMERA_FIXED: The start of the 3D camera's state (heap slot cameraState), as the fixed camera reads it: the eye and target it looks from and at, or the points that stand in for them.
  • ACTOR_CAMERA_POINT: A point the fixed camera looks from or at.
  • ACTOR_COORDINATE: An actor's coordinate read as its word or its low halfword, through a union so that a store to it may alias a read after it.
  • ACTOR_FLAG: A flag block: a puddle's actor and the flag that says it is frozen, in a list ended by ACTOR_LIST_END (fdFlagBlockPlaceAll).
  • ACTOR_PLACE: An actor a scene places: its sprite, the condition for placing it, how it behaves, where it stands and which way it faces, and how it turns to talk.
  • ACTOR_SYSTEM_STATE: The actor system's state: the flag that suspends sprite projection, the outline's edge and fill colours, and the sprite picture caches (HEAP_SLOT_ACTOR_SYSTEM).
  • AFFINE_TRANSFORM: A sprite's rotation and scale: scales in 8.8 fixed point (AFFINE_SCALE_ONE is full size), the angle in 1/65536 turns.
  • AI_ENEMY_REST: An ENEMY_DEFINITION as btAIChooseAction reads its abilities: through a pointer two bytes past its start.
  • ANIMATED_SPR: A field sprite (FIELD_SPR) a byte at a time, with what the flash sets named: the flag that redraws it, its sprite flags and its animation, whose colour mode turns white and back.
  • ANIMATION_METADATA: The sprite_metadata group.
  • ANIMATION_SPR_PART: The hardware sprite attributes one part of an animated sprite (its image or its shadow) is drawn with: the link to the next part queued at its depth, then the OAM entry's attributes 0 to 3.
  • ANKOHL_RUINS_SAND_ROW: A block of metatiles the sand fills in Ankohl Ruins once its level reaches level: width by height metatiles from (x, z).
  • ANKOHL_RUINS_SPR: One of the eight sprites the sand draws: where it starts, how the level moves it, and its OAM entry as syOAMAddSpriteAtDepthClamped takes it.
  • ANKOHL_RUINS_SPR_STATE: Ankohl Ruins' sand (AnkohlRuinsSand): its sprites' VRAM cache entry, its level, map layer 1's offset before it rose, and its eight sprites.
  • APPEAR_SPARKS_STATE: fdActorAppearInSparks's state (heap slot HEAP_SLOT_BATTLE_EFFECT): the spark picture, and the sparks that circle the actor and their sprites.
  • AQUA_ROCK_BUBBLES: The bubbles' state: the actor they come from, their VRAM entry, the next free bubble, which way they go (up the stream when positive) and the bubbles.
  • AQUA_ROCK_STREAM: One of the streams the moai pour, which stops and starts with its flag: each change runs down it as a wave, copying three metatiles a row from the flowing or stopped pictures beside it, a row every four ticks.
  • ARC_EFFECT_STATE: A field Psynergy's arc state, the block of heap slot HEAP_SLOT_ARC_EFFECT: two groups of two arc sprites, their ages, and the VRAM cache entry, group and target they were spawned with (fdBattleEffectSpawnScaledArcObjects).
  • ARC_TAN_STUB: A system module table entry whose two-argument target the world map's tilt calls, the arctangent.
  • AREA_NAME_RULE: A rule naming the area a scene is in, ended by id -1: a scene or an area (useSceneId), an entrance (-1 for any) and the area name's index.
  • ARTICLE_TABLE: The article strings of one language, by kind, copied whole (articles.c).
  • AZUL_FACE: One face of a shard of the shattered battlefield: its three corners and their texture coordinates in the battlefield's picture.