Skip to Content
The Alchemy Project

src/field/field_engine.c

The field engine's object, as The Broken Seal's field_engine.c begins: random encounters, a field scene's actors, the leader's walking and the requests it raises, fdEngineRun, the debug palette editor, the scene's cues, the actor a field Psynergy or item aims at, using items and Psynergy on the field, and the map's treasure spots. More…

Description

The field engine's object, as The Broken Seal's field_engine.c begins: random encounters, a field scene's actors, the leader's walking and the requests it raises, fdEngineRun, the debug palette editor, the scene's cues, the actor a field Psynergy or item aims at, using items and Psynergy on the field, and the map's treasure spots. field_engine_internal.h holds the includes and the declarations the parts share; the code is in the field_engine_*.c files beside it, included here in ROM order. The ROM shows one object; the parts are ours, cut where The Broken Seal's are. The main routine, the first code of the same module, is its own object linked just before this one (src/game/main_routine.c). After the treasure spots follow the screen transitions and, as The Broken Seal's script_commands.c begins, the script commands.

On this page