|
Digimon World 3 decomp
The European version, SLES_039.36
|
FIELDSTG.PRO's data, after its code: its tables point to each other, to FIELDSTG's functions and to the stage overlays'. More...
Go to the source code of this file.
Macros | |
| #define | STORY_TEXT_FILE (TEXT_EVENTS_260 - 1) |
| The story events' text file, counted from TEXT_FILE(1) as FieldEvent.text is. | |
| #define | STORY_TEXT(n) (STORY_TEXT_FILE << 16 | (n)) |
Variables | |
| BattleEnemy | FIELDSTG_enemies [] |
| The encounters' enemies, one encounter's after another; the first, none, fills the places of the encounters with fewer than three. | |
| Encounter | FIELDSTG_encounters [] |
| The battles that can start on the field (FIELDSTG_startEncounter) | |
| s16 | FIELDSTG_liftShake [] |
| FIELDSTG_updateLift's shakes, up to 1000. | |
| ChoiceText | FIELDSTG_choices [16] |
| ProgressEvent | FIELDSTG_progressEvents [] |
| AnimFrame | FIELDSTG_cutsceneAnim [] |
| FIELDSTG_playCutsceneAnim's animations: kind 0's,. | |
| AnimFrame | FIELDSTG_cutsceneLoopAnim [] |
| and kind 1's two | |
| AnimFrame | FIELDSTG_cutsceneLoopAnim2 [] |
| AnimFrame | FIELDSTG_effectAnim0 [] |
| AnimFrame | FIELDSTG_effectAnim1 [] |
| AnimFrame | FIELDSTG_effectAnim1b [] |
| AnimFrame | FIELDSTG_effectAnim2 [] |
| AnimFrame | FIELDSTG_effectAnim2b [] |
| AnimFrame | FIELDSTG_effectAnim3 [] |
| AnimFrame * | FIELDSTG_effectAnims [][4] |
| FIELDSTG_updateEffect's animations of each set. | |
| u8 | FIELDSTG_slotLayouts [][4][5][6] |
| FIELDSTG_pickViewTiles's slot layouts: [layout][quadrant][row][column]. | |
| u8 | FIELDSTG_dirLayouts [][2] |
| the layout and its flips for each direction | |
| u8 | FIELDSTG_slotOffsets [][2][2] |
| the slots' offset in tiles: [quadrant][x, y][unflipped, flipped] | |
| s32 | FIELDSTG_spriteDepths [] |
| depth of each layer of a StreamTask's sprites | |
| Vec2 | FIELDSTG_slotImages [] |
| VRAM position of each StreamTask slot's image. | |
| AreaName | FIELDSTG_areaNames [] |
| BannerBox | FIELDSTG_bannerBoxes [10] |
| FIELDSTG_updateBanner's boxes. | |
| u8 | FIELDSTG_triggerAnims [][9] |
| FIELDSTG_stepBalloonAnim's animations: (frame, time) pairs up to 0xFF. | |
| u8 | FIELDSTG_triggerAnimsPad = 0x03 |
| Nothing reads it: the padding after FIELDSTG_triggerAnims, up to the word FIELDSTG_nearDirs starts at, which the USA and European versions fill with a byte of their own (the Japanese version leaves the alignment's zero) | |
| u8 | FIELDSTG_nearDirs [][8] |
| whether two directions are at most 45 degrees apart | |
| s16 | FIELDSTG_file5DModes [] |
| the modes that load the field file 0x5D (FIELDSTG_requestInnNames) | |
| u8 | FIELDSTG_iconAnim0 [][2] |
| u8 | FIELDSTG_iconAnim1 [][2] |
| u8 | FIELDSTG_iconAnim2 [][2] |
| u8 | FIELDSTG_iconAnim3 [][2] |
| u8(*[] | FIELDSTG_iconAnims )[2] |
| FIELDSTG_updateActorIcon's animation of each substate. | |
| IconOffset | FIELDSTG_iconPath [] |
| up to (0, 0) | |
| s32 | FIELDSTG_iconPathStep = 0 |
| the step in FIELDSTG_iconPath | |
| TileMove | FIELDSTG_tileMoves [] |
| s16 | FIELDSTG_eventIds [] |
| the events FIELDSTG_startListedEvent starts | |
| u8 | FIELDSTG_spotAnim [][2] |
| animation of FIELDSTG_updateHiddenSpots: (frame, time) pairs up to 0xFF | |
| u8 | FIELDSTG_dirAnim0 [] |
| u8 | FIELDSTG_dirAnim1 [] |
| u8 | FIELDSTG_dirAnim2 [] |
| u8 | FIELDSTG_dirAnim3 [] |
| u8 | FIELDSTG_dirAnim4 [] |
| u8 | FIELDSTG_dirAnim5 [] |
| u8 | FIELDSTG_dirAnim6 [] |
| u8 | FIELDSTG_dirAnim7 [] |
| u8 * | FIELDSTG_dirAnims [] |
| FIELDSTG_updateSpotEffect's animation for each direction. | |
| s32 | FIELDSTG_dirDepths [] |
| and its depth offset | |
| u8 | FIELDSTG_gaugeRow0 [] |
| u8 | FIELDSTG_gaugeRow1 [] |
| u8 | FIELDSTG_gaugeRow2 [] |
| u8 | FIELDSTG_gaugeRow3 [] |
| u8 | FIELDSTG_gaugeRow4 [] |
| u8 | FIELDSTG_gaugeRow5 [] |
| u8 | FIELDSTG_gaugeRow6 [] |
| u8 | FIELDSTG_gaugeRow7 [] |
| u8 | FIELDSTG_gaugeRow8 [] |
| u8 * | FIELDSTG_gaugeRows [] |
| The rows of FIELDSTG_runGauge's gauges, 2 bits a cell. | |
| Vec2 | FIELDSTG_shakeOffsets [] |
| the camera's shake offsets | |
| u8 | FIELDSTG_probes [][5] |
| the probes of each direction (FIELDSTG_checkFlightProbes) | |
| Vec2 | FIELDSTG_probePos [] |
| a probe's position | |
| u8 | FIELDSTG_probeSteps [][2] |
| a probe's offset: bit 0 set, bit 7 negative | |
| s32 | FIELDSTG_padDirs [] |
| the direction of each combination of the pad directions | |
| StandIn | FIELDSTG_standIns [] |
| up to character 0 | |
| s32 | FIELDSTG_turnedPartners [] |
| the partners' kinds (Actor.key2): the ones FIELDSTG_startActorGauge turns, FIELDSTG_haltPartners stops and FIELDSTG_resumePartners makes follow again | |
| s32 | FIELDSTG_haltedPartners [] |
| s32 | FIELDSTG_followingPartners [] |
| Vec2 | FIELDSTG_dirSteps [] |
| tile offset of each direction | |
| FieldImages | FIELDSTG_images |
| The field's own image and its actors' (FieldState.images) | |
| u16 | FIELDSTG_talkFlags [] |
| The FLAGS_00 conditions and actions of the field's talks: (code, value) pairs up to CODES_END, one list a line, each padded with a 0 to a word as the stages' separate lists are (flag 0x1C3D: the lift is up, Lift) | |
| FieldTalk | FIELDSTG_talks [] |
| What the field's characters say: a list for each, up to the entry without conditions, then an empty one. | |
| u16 | FIELDSTG_actorFlags [] |
| The conditions of the field's characters, as FIELDSTG_talkFlags. | |
| FieldActorEntry | FIELDSTG_actors [] |
| The field's characters (FieldState.actors) | |
| FieldActorEntry * | FIELDSTG_actorList [] |
| StageTile | FIELDSTG_mapObjects [] |
| The field's map objects (FieldState.objects), up to the first margin 0. | |
| StageSlot | FIELDSTG_slots [] |
| What the player can trigger on the field's map (FieldState.slots), up to type 0. | |
| void(* | FIELDSTG_initFuncs [])(void) = {FIELDSTG_setupField} |
| void(* | FIELDSTG_tweenStart )(PanelAnim *tween, s32 in) = FIELDSTG_startTween |
| FIELDSTG_startTween. | |
| s32(* | FIELDSTG_tweenUpdate )(PanelAnim *tween) = FIELDSTG_updateTween |
| FIELDSTG_updateTween. | |
| FieldEvent | FIELDSTG_events [] |
| The story events (FIELDSTG_setupField), up to the first id -1: the scripts are WSTAG260's, the stage that FIELDSTG_stages starts with FIELDSTG_createStoryEvents. | |
| FieldState | FIELDSTG_state |
| s32 | FIELDSTG_fileEntries [] |
| by character (Actor.key1) | |
| u8 | FIELDSTG_actorWidths [] |
| by character, in pixels (FieldState.getActorWidth) | |
| StageEntry | FIELDSTG_extraStages [] |
| The European and Japanese versions' extra chapter's stages (STORY_EXTRA), the modes they take over first: the table has no end of its own, so FIELDSTG_pickStage's search runs on into FIELDSTG_stages after it. | |
| StageEntry | FIELDSTG_stages [] |
| ScriptTimer | FIELDSTG_scriptTimer = {0, 0, FIELDSTG_resetScriptTimer, FIELDSTG_findActor} |
| void(* | FIELDSTG_scriptHelpers [])() |
| the script helpers (FIELDSTG_toScreenPos...) | |
| ScriptCommand | FIELDSTG_scriptCommands [] |
| The script commands (FIELDSTG_findScriptCommand), up to the first id 0. | |
| void(* | FIELDSTG_checkBattle )() = FIELDSTG_countBattleSteps |
| FIELDSTG_countBattleSteps. | |
| FieldBattleFuncs | FIELDSTG_battleFuncs |
| s32 | FIELDSTG_battleRates [] |
| how much each area lowers GAME.battleSteps, the steps to the next battle | |
| FieldMap | FIELDSTG_map |
| s32 | FIELDSTG_boxFrame = -1 |
| the frame FIELDSTG_boxes was filled in | |
| Vec2 | FIELDSTG_dirVectors [][8] |
| a direction's vector, scaled by 4096 | |
| u8 | FIELDSTG_mirrorDirs [] |
| s16 | FIELDSTG_heldVoice = 0 |
| the voice of FIELDSTG_handleFieldCommand's held sound | |
| Vec2 | FIELDSTG_mapSize = {0, 0} |
| FIELDSTG_getMapSize's. | |
| StageTile * | FIELDSTG_objectCursor = ((void *)0) |
| FIELDSTG_findNextObject's search of the map objects. | |
| s32 | FIELDSTG_objectId = 0 |
| and the id it looks for | |
| Vec2 | FIELDSTG_tiles [5][6] = {{{0}}} |
| FIELDSTG_playBattleTransition's. | |
| s32 | FIELDSTG_battleFileStep = 0 |
| FIELDSTG_playBattleTransition's: 0 and 1 wait for the CD, 2 the battle's files are asked for. | |
| s32 | FIELDSTG_transitionUnused = 0 |
| among FIELDSTG_playBattleTransition's; nothing uses it | |
| RECT | FIELDSTG_screenRect = {0, 0, 0, 0} |
| s16 | FIELDSTG_slideVoice = 0 |
| the voice of the slide's sound (ACTOR_SLIDE, SOUND_TRAP_ICE) | |
| u16 | FIELDSTG_slideVoicePad = 0x4E49 |
| Nothing reads it: the padding after FIELDSTG_slideVoice, which the European version fills (the Japanese version leaves the alignment's zero) | |
| Box | FIELDSTG_boxes [20] = {{0}} |
| the characters' boxes (FIELDSTG_isTileFree) | |
| s32 | FIELDSTG_boxCount = 0 |
| and their number | |
FIELDSTG.PRO's data, after its code: its tables point to each other, to FIELDSTG's functions and to the stage overlays'.
The versions differ where #if says.
FIELDSTG.PRO was at least five objects: each one's jump tables are aligned to 8 from the start of its own rodata, and the tables at 0x800824C4, 0x80082598, 0x800825CC and 0x800825E0 (USA) each start right where the one before ends, 4 bytes past a multiple of 8 from the start of the object before, so each one starts a new object (lift.c, event.c, banner.c and trigger.c). Where each object's code starts is only known to be between the function with the last jump table of the object before and the one with its first, and the data is all here; the files between are FIELDSTG's modules, cut where no jump table moves.
Definition in file fieldstg.c.
| #define STORY_TEXT_FILE (TEXT_EVENTS_260 - 1) |
The story events' text file, counted from TEXT_FILE(1) as FieldEvent.text is.
Definition at line 2566 of file fieldstg.c.
| #define STORY_TEXT | ( | n | ) | (STORY_TEXT_FILE << 16 | (n)) |
Definition at line 2568 of file fieldstg.c.
| BattleEnemy FIELDSTG_enemies[] |
The encounters' enemies, one encounter's after another; the first, none, fills the places of the encounters with fewer than three.
Definition at line 22 of file fieldstg.c.
| Encounter FIELDSTG_encounters[] |
The battles that can start on the field (FIELDSTG_startEncounter)
FIELDSTG's data (fieldstg.c), in its order.
Definition at line 948 of file fieldstg.c.
Referenced by FIELDSTG_startEncounter().
| s16 FIELDSTG_liftShake[] |
FIELDSTG_updateLift's shakes, up to 1000.
Definition at line 1286 of file fieldstg.c.
Referenced by FIELDSTG_updateLift().
| ChoiceText FIELDSTG_choices[16] |
Definition at line 1309 of file fieldstg.c.
Referenced by FIELDSTG_runChoice().
| ProgressEvent FIELDSTG_progressEvents[] |
Definition at line 1328 of file fieldstg.c.
Referenced by FIELDSTG_runStoryEvents().
| AnimFrame FIELDSTG_cutsceneAnim[] |
FIELDSTG_playCutsceneAnim's animations: kind 0's,.
Definition at line 1347 of file fieldstg.c.
Referenced by FIELDSTG_playCutsceneAnim().
| AnimFrame FIELDSTG_cutsceneLoopAnim[] |
and kind 1's two
Definition at line 1354 of file fieldstg.c.
Referenced by FIELDSTG_playCutsceneAnim().
| AnimFrame FIELDSTG_cutsceneLoopAnim2[] |
Definition at line 1359 of file fieldstg.c.
Referenced by FIELDSTG_playCutsceneAnim().
| AnimFrame FIELDSTG_effectAnim0[] |
Definition at line 1364 of file fieldstg.c.
| AnimFrame FIELDSTG_effectAnim1[] |
Definition at line 1375 of file fieldstg.c.
| AnimFrame FIELDSTG_effectAnim1b[] |
Definition at line 1379 of file fieldstg.c.
| AnimFrame FIELDSTG_effectAnim2[] |
Definition at line 1383 of file fieldstg.c.
| AnimFrame FIELDSTG_effectAnim2b[] |
Definition at line 1387 of file fieldstg.c.
| AnimFrame FIELDSTG_effectAnim3[] |
Definition at line 1391 of file fieldstg.c.
| AnimFrame* FIELDSTG_effectAnims[][4] |
FIELDSTG_updateEffect's animations of each set.
Definition at line 1396 of file fieldstg.c.
Referenced by FIELDSTG_updateEffect().
| u8 FIELDSTG_slotLayouts[][4][5][6] |
FIELDSTG_pickViewTiles's slot layouts: [layout][quadrant][row][column].
Definition at line 1400 of file fieldstg.c.
Referenced by FIELDSTG_pickViewTiles().
| u8 FIELDSTG_dirLayouts[][2] |
the layout and its flips for each direction
Definition at line 1492 of file fieldstg.c.
Referenced by FIELDSTG_pickViewTiles().
| u8 FIELDSTG_slotOffsets[][2][2] |
the slots' offset in tiles: [quadrant][x, y][unflipped, flipped]
Definition at line 1496 of file fieldstg.c.
Referenced by FIELDSTG_pickViewTiles().
| s32 FIELDSTG_spriteDepths[] |
depth of each layer of a StreamTask's sprites
Definition at line 1502 of file fieldstg.c.
Referenced by FIELDSTG_drawStream().
| Vec2 FIELDSTG_slotImages[] |
VRAM position of each StreamTask slot's image.
Definition at line 1505 of file fieldstg.c.
Referenced by FIELDSTG_loadStreamSprites().
| AreaName FIELDSTG_areaNames[] |
Definition at line 1519 of file fieldstg.c.
Referenced by FIELDSTG_showAreaName().
| BannerBox FIELDSTG_bannerBoxes[10] |
FIELDSTG_updateBanner's boxes.
Definition at line 1761 of file fieldstg.c.
Referenced by FIELDSTG_updateBanner().
| u8 FIELDSTG_triggerAnims[][9] |
FIELDSTG_stepBalloonAnim's animations: (frame, time) pairs up to 0xFF.
Definition at line 1773 of file fieldstg.c.
Referenced by FIELDSTG_stepBalloonAnim().
| u8 FIELDSTG_triggerAnimsPad = 0x03 |
Nothing reads it: the padding after FIELDSTG_triggerAnims, up to the word FIELDSTG_nearDirs starts at, which the USA and European versions fill with a byte of their own (the Japanese version leaves the alignment's zero)
Definition at line 1792 of file fieldstg.c.
| u8 FIELDSTG_nearDirs[][8] |
whether two directions are at most 45 degrees apart
Definition at line 1794 of file fieldstg.c.
Referenced by FIELDSTG_findTrigger().
| s16 FIELDSTG_file5DModes[] |
the modes that load the field file 0x5D (FIELDSTG_requestInnNames)
Definition at line 1804 of file fieldstg.c.
Referenced by FIELDSTG_requestInnNames().
| u8 FIELDSTG_iconAnim0[][2] |
Definition at line 1809 of file fieldstg.c.
| u8 FIELDSTG_iconAnim1[][2] |
Definition at line 1813 of file fieldstg.c.
| u8 FIELDSTG_iconAnim2[][2] |
Definition at line 1821 of file fieldstg.c.
| u8 FIELDSTG_iconAnim3[][2] |
Definition at line 1826 of file fieldstg.c.
| u8(*[] FIELDSTG_iconAnims)[2] |
FIELDSTG_updateActorIcon's animation of each substate.
Definition at line 1836 of file fieldstg.c.
Referenced by FIELDSTG_updateActorIcon().
| IconOffset FIELDSTG_iconPath[] |
up to (0, 0)
Definition at line 1839 of file fieldstg.c.
Referenced by FIELDSTG_updateActorIcon().
| s32 FIELDSTG_iconPathStep = 0 |
the step in FIELDSTG_iconPath
Definition at line 1845 of file fieldstg.c.
Referenced by FIELDSTG_updateActorIcon().
| TileMove FIELDSTG_tileMoves[] |
Definition at line 1846 of file fieldstg.c.
Referenced by moveTransitionTile().
| s16 FIELDSTG_eventIds[] |
the events FIELDSTG_startListedEvent starts
Definition at line 1910 of file fieldstg.c.
Referenced by FIELDSTG_startListedEvent().
| u8 FIELDSTG_spotAnim[][2] |
animation of FIELDSTG_updateHiddenSpots: (frame, time) pairs up to 0xFF
Definition at line 1931 of file fieldstg.c.
Referenced by FIELDSTG_updateHiddenSpots().
| u8 FIELDSTG_dirAnim0[] |
Definition at line 1948 of file fieldstg.c.
| u8 FIELDSTG_dirAnim1[] |
Definition at line 1952 of file fieldstg.c.
| u8 FIELDSTG_dirAnim2[] |
Definition at line 1956 of file fieldstg.c.
| u8 FIELDSTG_dirAnim3[] |
Definition at line 1960 of file fieldstg.c.
| u8 FIELDSTG_dirAnim4[] |
Definition at line 1964 of file fieldstg.c.
| u8 FIELDSTG_dirAnim5[] |
Definition at line 1968 of file fieldstg.c.
| u8 FIELDSTG_dirAnim6[] |
Definition at line 1972 of file fieldstg.c.
| u8 FIELDSTG_dirAnim7[] |
Definition at line 1976 of file fieldstg.c.
| u8* FIELDSTG_dirAnims[] |
FIELDSTG_updateSpotEffect's animation for each direction.
Definition at line 1980 of file fieldstg.c.
Referenced by FIELDSTG_updateSpotEffect().
| s32 FIELDSTG_dirDepths[] |
and its depth offset
Definition at line 1984 of file fieldstg.c.
Referenced by FIELDSTG_updateSpotEffect().
| u8 FIELDSTG_gaugeRow0[] |
Definition at line 1988 of file fieldstg.c.
| u8 FIELDSTG_gaugeRow1[] |
Definition at line 1991 of file fieldstg.c.
| u8 FIELDSTG_gaugeRow2[] |
Definition at line 1994 of file fieldstg.c.
| u8 FIELDSTG_gaugeRow3[] |
Definition at line 1997 of file fieldstg.c.
| u8 FIELDSTG_gaugeRow4[] |
Definition at line 2000 of file fieldstg.c.
| u8 FIELDSTG_gaugeRow5[] |
Definition at line 2003 of file fieldstg.c.
| u8 FIELDSTG_gaugeRow6[] |
Definition at line 2006 of file fieldstg.c.
| u8 FIELDSTG_gaugeRow7[] |
Definition at line 2009 of file fieldstg.c.
| u8 FIELDSTG_gaugeRow8[] |
Definition at line 2013 of file fieldstg.c.
| u8* FIELDSTG_gaugeRows[] |
The rows of FIELDSTG_runGauge's gauges, 2 bits a cell.
The USA version has no row 8 (for GAME.randomGauges used up) and reads past the table, a null pointer
Definition at line 2020 of file fieldstg.c.
Referenced by FIELDSTG_runGauge().
| Vec2 FIELDSTG_shakeOffsets[] |
the camera's shake offsets
Definition at line 2027 of file fieldstg.c.
Referenced by FIELDSTG_scrollCamera().
| u8 FIELDSTG_probes[][5] |
the probes of each direction (FIELDSTG_checkFlightProbes)
Definition at line 2034 of file fieldstg.c.
Referenced by FIELDSTG_checkFlightProbes().
| Vec2 FIELDSTG_probePos[] |
a probe's position
Definition at line 2044 of file fieldstg.c.
Referenced by FIELDSTG_checkFlightProbes().
| u8 FIELDSTG_probeSteps[][2] |
a probe's offset: bit 0 set, bit 7 negative
Definition at line 2062 of file fieldstg.c.
Referenced by FIELDSTG_checkFlightProbes().
| s32 FIELDSTG_padDirs[] |
the direction of each combination of the pad directions
Definition at line 2080 of file fieldstg.c.
Referenced by FIELDSTG_moveByPad().
| StandIn FIELDSTG_standIns[] |
up to character 0
Definition at line 2086 of file fieldstg.c.
Referenced by FIELDSTG_talkToActorAt().
| s32 FIELDSTG_turnedPartners[] |
the partners' kinds (Actor.key2): the ones FIELDSTG_startActorGauge turns, FIELDSTG_haltPartners stops and FIELDSTG_resumePartners makes follow again
Definition at line 2104 of file fieldstg.c.
Referenced by FIELDSTG_startActorGauge().
| s32 FIELDSTG_haltedPartners[] |
Definition at line 2107 of file fieldstg.c.
Referenced by FIELDSTG_haltPartners().
| s32 FIELDSTG_followingPartners[] |
Definition at line 2110 of file fieldstg.c.
Referenced by FIELDSTG_resumePartners().
| Vec2 FIELDSTG_dirSteps[] |
tile offset of each direction
Definition at line 2113 of file fieldstg.c.
Referenced by FIELDSTG_getFacingTile().
| FieldImages FIELDSTG_images |
The field's own image and its actors' (FieldState.images)
the field's own stage (FIELDSTG_setupField)
Definition at line 2124 of file fieldstg.c.
Referenced by FIELDSTG_setupField().
| u16 FIELDSTG_talkFlags[] |
The FLAGS_00 conditions and actions of the field's talks: (code, value) pairs up to CODES_END, one list a line, each padded with a 0 to a word as the stages' separate lists are (flag 0x1C3D: the lift is up, Lift)
Definition at line 2152 of file fieldstg.c.
| FieldTalk FIELDSTG_talks[] |
What the field's characters say: a list for each, up to the entry without conditions, then an empty one.
Definition at line 2164 of file fieldstg.c.
| u16 FIELDSTG_actorFlags[] |
The conditions of the field's characters, as FIELDSTG_talkFlags.
Definition at line 2266 of file fieldstg.c.
| FieldActorEntry FIELDSTG_actors[] |
The field's characters (FieldState.actors)
Definition at line 2384 of file fieldstg.c.
| FieldActorEntry* FIELDSTG_actorList[] |
Definition at line 2501 of file fieldstg.c.
Referenced by FIELDSTG_setupField().
| StageTile FIELDSTG_mapObjects[] |
The field's map objects (FieldState.objects), up to the first margin 0.
Definition at line 2534 of file fieldstg.c.
Referenced by FIELDSTG_setupField().
| StageSlot FIELDSTG_slots[] |
What the player can trigger on the field's map (FieldState.slots), up to type 0.
Definition at line 2552 of file fieldstg.c.
Referenced by FIELDSTG_setupField().
| void(* FIELDSTG_initFuncs[])(void) | ( | void | ) | = {FIELDSTG_setupField} |
Definition at line 2559 of file fieldstg.c.
Referenced by FIELDSTG_createStoryEvents().
| void(* FIELDSTG_tweenStart) (PanelAnim *tween, s32 in) | ( | PanelAnim * | tween, |
| s32 | in | ||
| ) | = FIELDSTG_startTween |
FIELDSTG_startTween.
Definition at line 2560 of file fieldstg.c.
Referenced by FIELDSTG_runChoice().
| s32(* FIELDSTG_tweenUpdate) (PanelAnim *tween) | ( | PanelAnim * | tween | ) | = FIELDSTG_updateTween |
FIELDSTG_updateTween.
Definition at line 2561 of file fieldstg.c.
Referenced by FIELDSTG_runChoice().
| FieldEvent FIELDSTG_events[] |
The story events (FIELDSTG_setupField), up to the first id -1: the scripts are WSTAG260's, the stage that FIELDSTG_stages starts with FIELDSTG_createStoryEvents.
Definition at line 2572 of file fieldstg.c.
Referenced by FIELDSTG_setupField().
| FieldState FIELDSTG_state |
Definition at line 2641 of file fieldstg.c.
Referenced by createCharacters(), createParty(), drawEffect(), drawEffect(), drawFaller(), drawFloaterPart(), drawPairSprite(), drawStageEffect(), FIELDSTG_controlFlight(), FIELDSTG_controlPlayer(), FIELDSTG_countBattleSteps(), FIELDSTG_createActor(), FIELDSTG_createBanner(), FIELDSTG_createHiddenSpots(), FIELDSTG_createSpeech(), FIELDSTG_createTalk(), FIELDSTG_drawCoverBlock(), FIELDSTG_drawMapObject(), FIELDSTG_drawStream(), FIELDSTG_findObject(), FIELDSTG_launchActor(), FIELDSTG_leaveFieldAfter(), FIELDSTG_loadFieldFiles(), FIELDSTG_moveByPad(), FIELDSTG_openInn(), FIELDSTG_pickStage(), FIELDSTG_requestSlotFiles(), FIELDSTG_runActorAction(), FIELDSTG_runEvent(), FIELDSTG_runLaunch(), FIELDSTG_runStoryEvents(), FIELDSTG_setOffTrigger(), FIELDSTG_setupField(), FIELDSTG_startActorGauge(), FIELDSTG_startAreaBattle(), FIELDSTG_startClimbDown(), FIELDSTG_startClimbUp(), FIELDSTG_startDrop(), FIELDSTG_startEncounter(), FIELDSTG_startEvent(), FIELDSTG_startEventBattle(), FIELDSTG_startEventBattle5(), FIELDSTG_talkToActorAt(), FIELDSTG_updateActor(), FIELDSTG_updateBalloon(), FIELDSTG_updateBanner(), FIELDSTG_updateField(), FIELDSTG_updateHiddenSpots(), FIELDSTG_updateLift(), FIELDSTG_updateMapObjects(), FIELDSTG_updateTriggers(), FIELDSTG_warpActor(), findTileSix(), findTileSixW(), findTileSixW(), openFieldMenu(), runClimbOffBottom(), runClimbOffTop(), runDrop(), runGauge(), runSearch(), runSlide(), runStopSlide(), runTalk(), runUse(), setupStage(), showField(), showObjectGroups(), startEvent9000(), startEvent9001(), startField(), updateClutTile(), updateCommand833(), updateCommand834(), updateMover(), updateRisers(), updateSoundTile(), updateStage(), updateStage(), updateStillTile(), updateTileAnims(), updateTileAt(), updateTileCursors(), updateTileDuo(), updateTileEffect(), updateTileLift(), updateTileLoop2(), updateTileOnce(), updateTilePair(), updateTilePair16(), updateTilePairN(), updateTileQuad(), updateTileSeqs(), updateTileSeqs8(), updateTileSet(), updateTileSolo(), updateTileSwitch(), updateTileTask(), updateTileTimer(), updateTimer(), updateWanderer(), and updateWanderPair().
| s32 FIELDSTG_fileEntries[] |
by character (Actor.key1)
Definition at line 2761 of file fieldstg.c.
Referenced by FIELDSTG_getFileEntry().
| u8 FIELDSTG_actorWidths[] |
by character, in pixels (FieldState.getActorWidth)
Definition at line 2920 of file fieldstg.c.
Referenced by FIELDSTG_getActorWidth().
| StageEntry FIELDSTG_extraStages[] |
The European and Japanese versions' extra chapter's stages (STORY_EXTRA), the modes they take over first: the table has no end of its own, so FIELDSTG_pickStage's search runs on into FIELDSTG_stages after it.
the extra chapter's, which run on into FIELDSTG_stages
Definition at line 2977 of file fieldstg.c.
Referenced by FIELDSTG_pickStage().
| StageEntry FIELDSTG_stages[] |
Definition at line 3337 of file fieldstg.c.
Referenced by FIELDSTG_pickStage().
| ScriptTimer FIELDSTG_scriptTimer = {0, 0, FIELDSTG_resetScriptTimer, FIELDSTG_findActor} |
Definition at line 3580 of file fieldstg.c.
Referenced by FIELDSTG_resetScriptTimer(), and FIELDSTG_waitScriptTime().
| void(* FIELDSTG_scriptHelpers[])() | ( | ) |
the script helpers (FIELDSTG_toScreenPos...)
Definition at line 3581 of file fieldstg.c.
Referenced by FIELDSTG_createTalk(), and FIELDSTG_getSpeechPos().
| ScriptCommand FIELDSTG_scriptCommands[] |
The script commands (FIELDSTG_findScriptCommand), up to the first id 0.
Most of their functions are those of the stage whose event scripts run the command (include/field/stages.h), and they take different arguments. FIELDSTG's own creates are cast: they return their task, or nothing, where the stages' return it as an s32
Definition at line 3590 of file fieldstg.c.
Referenced by FIELDSTG_findScriptCommand().
| void(* FIELDSTG_checkBattle) () | ( | ) | = FIELDSTG_countBattleSteps |
FIELDSTG_countBattleSteps.
Definition at line 3652 of file fieldstg.c.
Referenced by FIELDSTG_playStepSounds().
| FieldBattleFuncs FIELDSTG_battleFuncs |
Definition at line 3653 of file fieldstg.c.
Referenced by applyAction(), FIELDSTG_runGauge(), and FIELDSTG_updateHiddenSpots().
| s32 FIELDSTG_battleRates[] |
how much each area lowers GAME.battleSteps, the steps to the next battle
Definition at line 3656 of file fieldstg.c.
Referenced by FIELDSTG_countBattleSteps().
| FieldMap FIELDSTG_map |
Definition at line 3660 of file fieldstg.c.
Referenced by FIELDSTG_checkFlightProbe(), FIELDSTG_controlFlight(), FIELDSTG_countBattleSteps(), FIELDSTG_findTrigger(), FIELDSTG_getMapCell(), FIELDSTG_offerTrigger(), FIELDSTG_runActorAction(), FIELDSTG_selectMap(), FIELDSTG_setMapFile(), FIELDSTG_setupField(), FIELDSTG_startAreaBattle(), runSlide(), setupStage(), startEvent9000(), startEvent9001(), and startField().
| s32 FIELDSTG_boxFrame = -1 |
the frame FIELDSTG_boxes was filled in
Definition at line 3678 of file fieldstg.c.
Referenced by FIELDSTG_isTileFree().
| Vec2 FIELDSTG_dirVectors[][8] |
a direction's vector, scaled by 4096
Definition at line 3679 of file fieldstg.c.
Referenced by FIELDSTG_getFlyStep(), and FIELDSTG_getWalkStep().
| u8 FIELDSTG_mirrorDirs[] |
Definition at line 3751 of file fieldstg.c.
Referenced by FIELDSTG_getWalkStep().
| s16 FIELDSTG_heldVoice = 0 |
the voice of FIELDSTG_handleFieldCommand's held sound
Definition at line 3754 of file fieldstg.c.
Referenced by playHeldSound(), and stopHeldSound().
| Vec2 FIELDSTG_mapSize = {0, 0} |
FIELDSTG_getMapSize's.
Definition at line 3755 of file fieldstg.c.
Referenced by FIELDSTG_getMapSize().
| StageTile* FIELDSTG_objectCursor = ((void *)0) |
FIELDSTG_findNextObject's search of the map objects.
Definition at line 3756 of file fieldstg.c.
Referenced by FIELDSTG_findNextObject(), and FIELDSTG_findObject().
| s32 FIELDSTG_objectId = 0 |
and the id it looks for
Definition at line 3757 of file fieldstg.c.
Referenced by FIELDSTG_findNextObject(), and FIELDSTG_findObject().
| Vec2 FIELDSTG_tiles[5][6] = {{{0}}} |
FIELDSTG_playBattleTransition's.
Definition at line 3758 of file fieldstg.c.
Referenced by FIELDSTG_playBattleTransition(), moveTransitionTile(), and placeTransitionTiles().
| s32 FIELDSTG_battleFileStep = 0 |
FIELDSTG_playBattleTransition's: 0 and 1 wait for the CD, 2 the battle's files are asked for.
Definition at line 3759 of file fieldstg.c.
Referenced by FIELDSTG_playBattleTransition(), and waitToRequestBattleFiles().
| s32 FIELDSTG_transitionUnused = 0 |
among FIELDSTG_playBattleTransition's; nothing uses it
Definition at line 3760 of file fieldstg.c.
| RECT FIELDSTG_screenRect = {0, 0, 0, 0} |
Definition at line 3761 of file fieldstg.c.
Referenced by FIELDSTG_playBattleTransition().
| s16 FIELDSTG_slideVoice = 0 |
the voice of the slide's sound (ACTOR_SLIDE, SOUND_TRAP_ICE)
Definition at line 3762 of file fieldstg.c.
Referenced by runSlide(), and runStopSlide().
| u16 FIELDSTG_slideVoicePad = 0x4E49 |
Nothing reads it: the padding after FIELDSTG_slideVoice, which the European version fills (the Japanese version leaves the alignment's zero)
Definition at line 3768 of file fieldstg.c.
| Box FIELDSTG_boxes[20] = {{0}} |
the characters' boxes (FIELDSTG_isTileFree)
Definition at line 3770 of file fieldstg.c.
Referenced by FIELDSTG_isTileFree().
| s32 FIELDSTG_boxCount = 0 |