include/field/field_engine_script.h
The field engine's script functions (field_engine_script.c, field_engine_items.c and field_engine_psynergy.c).
Included by level.c, psynergy_test.c, psynergy_test_2.c, shop_test.c, field_engine_internal.h, script_commands_internal.h, alhafra.c, alhafra_manor.c, alhafra_rooms.c, alhafran_cave.c, anemos_inner_sanctum.c, apojii_islands_cave.c, atteka_inlet.c, champa_cliff_caves.c, champa_rooms.c, champa_sanctum.c, clear.c, contigo.c, daila_rooms.c, eastern_alhafra_ship.c, gabomba_catacombs.c, gabomba_statue_chamber.c, gaia_rock.c, garoh_rooms.c, gondowan_cliffs_hideout.c, islet_cave.c, islets.c, izumo_rooms.c, kibombo.c, lemuria.c, lemuria_entrance.c, lemuria_spring.c, lemurian_ship_deck.c, loho.c, madra_catacombs.c, madra_drawbridge.c, madra_rooms.c, mars_lighthouse_hall.c, mars_lighthouse_star_room.c, mercury_lighthouse.c, mikasalla.c, mikasalla_rooms.c, naribwe_rooms.c, northern_reaches.c, shaman_village_cave.c, world_map_objects.c, staff_credit.c, suhalla_gate.c, taopo_swamp.c, title.c and 6 more.
Structures
| Name | Description | |
|---|---|---|
struct | PENDING_CUE | CUE (scene_tables.h), a row of the scene's cue table, as the Psynergy and item cues run it: its control word as key, its subject as flags, its condition unsigned, and its value as action (a message below 0x10000, else a function). |
Functions
| Name | Description | |
|---|---|---|
void | fdScriptRunMessage (Sint32 actor, Sint32 msg) | Runs message as a script of its own, shown at actor. |
Sint32 | fdRunPsynergyEndScripts (Uint32 action) | Runs the scene's scripts for Psynergy without paying its PP or showing its usual effect (PSYNERGY_PHASE_BEFORE_END and PSYNERGY_PHASE_AFTER_END, around the kind's ending), as for a Psynergy that ends by itself: packed holds the Psynergy (bits 0 to 9) and its user (bits 10 to 13). |
Sint32 | fdRunPsynergyScript (PENDING_CUE *event, Sint32 argument, Sint32 target) | Runs the script tied to a field Psynergy: an action below CUE_RESULT_MESSAGE_END is a message, shown at target; any other is a function, called with argument (the user, when a cast runs it) and target. |
void | fdScriptUpdateDebugSkip (void) | Debug only: while debug mode is on, R makes every script wait (fdScriptWait) end at once and L restores normal waits. |
void | fdScriptNoOperationCallback (void) | An empty function nothing calls. |
Description
The field engine's script functions (field_engine_script.c,
field_engine_items.c and field_engine_psynergy.c).