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…
#include "field_engine_internal.h"#include "field_engine_encounter.c"#include "field_engine_actors.c"#include "field_engine_walking.c"#include "field_engine_run.c"#include "field_engine_palette_editor.c"#include "field_engine_cues.c"#include "field_engine_targets.c"#include "field_engine_items.c"#include "field_engine_psynergy.c"#include "field_engine_treasure_spots.c"#include "field_engine_item_display.c"#include "field_engine_screen_transition.c"#include "field_engine_palette_fade.c"#include "field_engine_ground_mask.c"#include "field_engine_speakers.c"#include "field_engine_heading.c"#include "field_engine_script.c"#include "field_engine_requests.c"#include "field_engine_actor_commands.c"
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.