Alchemy
Loading...
Searching...
No Matches

field_runtime.h File Reference

The field's runtime work: map cells, scene records and regions, map markers and FieldWork. More...

Go to the source code of this file.

Data Structures

struct  SceneRecord
 An actor's animation object, seen for the flags and rotation that lay a wounded soldier in his bed. More...
struct  SceneRegion
 A scene's exit region: the box that, while its condition holds, takes the party leader out through its exit. More...
struct  SceneEntries
 The entry table at the start of each scene overlay: its initialize function and the functions returning its entrances, exits, placements, events and regions, each behind a veneer word. More...
struct  MarkerSlot
 A map marker placed as an actor: a chest or a Psynergy stone. More...
struct  FieldWork
 Full event work allocated by Field_RunScene (heap slot 27). More...
struct  FieldPosition
 A position on the field. More...

Functions

 STATIC_ASSERT (sizeof(struct SceneRecord)==8)
 STATIC_ASSERT (sizeof(struct SceneRegion)==16)
 STATIC_ASSERT (sizeof(struct SceneEntries)==48)
 STATIC_ASSERT (offsetof(struct SceneEntries, exits)==0x14)
 STATIC_ASSERT (offsetof(struct SceneEntries, regions)==0x2c)
 STATIC_ASSERT (sizeof(struct MarkerSlot)==8)
 STATIC_ASSERT (offsetof(struct MarkerSlot, id)==4)
 STATIC_ASSERT (offsetof(struct MarkerSlot, column)==6)
 STATIC_ASSERT (offsetof(struct MarkerSlot, row)==7)
 STATIC_ASSERT (sizeof(struct FieldWork)==0xccc)
 STATIC_ASSERT (offsetof(struct FieldWork, tables)==0)
 STATIC_ASSERT (offsetof(struct FieldWork, events)==0x10)
 STATIC_ASSERT (offsetof(struct FieldWork, actors)==0x14)
 STATIC_ASSERT (offsetof(struct FieldWork, markers)==0x11c)
 STATIC_ASSERT (offsetof(struct FieldWork, action)==0x16c)
 STATIC_ASSERT (offsetof(struct FieldWork, descriptor)==0x178)
 STATIC_ASSERT (offsetof(struct FieldWork, battle)==0x17c)
 STATIC_ASSERT (offsetof(struct FieldWork, event)==0x182)
 STATIC_ASSERT (offsetof(struct FieldWork, blockedSteps)==0x19c)
 STATIC_ASSERT (offsetof(struct FieldWork, mode)==0x19e)
 STATIC_ASSERT (offsetof(struct FieldWork, encounterGroups)==0x1a0)
 STATIC_ASSERT (offsetof(struct FieldWork, encounterBias)==0x1a8)
 STATIC_ASSERT (offsetof(struct FieldWork, encounterThreshold)==0x1ac)
 STATIC_ASSERT (offsetof(struct FieldWork, walkingDistanceScale)==0x1b0)
 STATIC_ASSERT (offsetof(struct FieldWork, walkingDistance)==0x1b4)
 STATIC_ASSERT (offsetof(struct FieldWork, currentTile)==0x1b8)
 STATIC_ASSERT (offsetof(struct FieldWork, previousTile)==0x1bc)
 STATIC_ASSERT (offsetof(struct FieldWork, transition)==0x1c0)
 STATIC_ASSERT (offsetof(struct FieldWork, transitionActive)==0x1c6)
 STATIC_ASSERT (offsetof(struct FieldWork, transitionFrames)==0x1c8)
 STATIC_ASSERT (offsetof(struct FieldWork, fastForward)==0x1cc)
 STATIC_ASSERT (offsetof(struct FieldWork, message)==0x1d8)
 STATIC_ASSERT (offsetof(struct FieldWork, camera)==0x1e0)
 STATIC_ASSERT (offsetof(struct FieldWork, unk1da)==0x1da)
 STATIC_ASSERT (offsetof(struct FieldWork, unk1dc)==0x1dc)
 STATIC_ASSERT (offsetof(struct FieldWork, unk1de)==0x1de)
 STATIC_ASSERT (offsetof(struct FieldWork, speaker)==0x1f4)
 STATIC_ASSERT (offsetof(struct FieldWork, messageWindow)==0x1f8)
 STATIC_ASSERT (offsetof(struct FieldWork, sideWindow)==0x1fc)
 STATIC_ASSERT (offsetof(struct FieldWork, busy)==0xcb6)
 STATIC_ASSERT (offsetof(struct FieldWork, revealActive)==0xcb8)
 STATIC_ASSERT (offsetof(struct FieldWork, revealFrames)==0xcba)
 STATIC_ASSERT (offsetof(struct FieldWork, revealCenterX)==0xcbc)
 STATIC_ASSERT (offsetof(struct FieldWork, revealCenterY)==0xcbe)
 STATIC_ASSERT (offsetof(struct FieldWork, effectTimerRunning)==0xcc0)
 STATIC_ASSERT (offsetof(struct FieldWork, nameMessage)==0xcc2)
 STATIC_ASSERT (offsetof(struct FieldWork, nameWidth)==0xcc4)
 STATIC_ASSERT (offsetof(struct FieldWork, resolvingAction)==0xcc6)
 STATIC_ASSERT (offsetof(struct FieldWork, castStarted)==0xcc7)
 STATIC_ASSERT (offsetof(struct FieldWork, queuedSound)==0xcc8)
 STATIC_ASSERT (sizeof(struct FieldPosition)==12)

Variables

const struct SceneRecord gField_SceneTable []
struct SceneEntries gOverlayArea

Detailed Description

The field's runtime work: map cells, scene records and regions, map markers and FieldWork.

Definition in file field_runtime.h.

Function Documentation

◆ STATIC_ASSERT() [1/51]

STATIC_ASSERT ( sizeof(struct SceneRecord) = =8)

◆ STATIC_ASSERT() [2/51]

STATIC_ASSERT ( sizeof(struct SceneRegion) = =16)

◆ STATIC_ASSERT() [3/51]

STATIC_ASSERT ( sizeof(struct SceneEntries) = =48)

◆ STATIC_ASSERT() [4/51]

STATIC_ASSERT ( offsetof(struct SceneEntries, exits) = =0x14)

◆ STATIC_ASSERT() [5/51]

STATIC_ASSERT ( offsetof(struct SceneEntries, regions) = =0x2c)

◆ STATIC_ASSERT() [6/51]

STATIC_ASSERT ( sizeof(struct MarkerSlot) = =8)

◆ STATIC_ASSERT() [7/51]

STATIC_ASSERT ( offsetof(struct MarkerSlot, id) = =4)

◆ STATIC_ASSERT() [8/51]

STATIC_ASSERT ( offsetof(struct MarkerSlot, column) = =6)

◆ STATIC_ASSERT() [9/51]

STATIC_ASSERT ( offsetof(struct MarkerSlot, row) = =7)

◆ STATIC_ASSERT() [10/51]

STATIC_ASSERT ( sizeof(struct FieldWork) = =0xccc)

◆ STATIC_ASSERT() [11/51]

STATIC_ASSERT ( offsetof(struct FieldWork, tables) = =0)

◆ STATIC_ASSERT() [12/51]

STATIC_ASSERT ( offsetof(struct FieldWork, events) = =0x10)

◆ STATIC_ASSERT() [13/51]

STATIC_ASSERT ( offsetof(struct FieldWork, actors) = =0x14)

◆ STATIC_ASSERT() [14/51]

STATIC_ASSERT ( offsetof(struct FieldWork, markers) = =0x11c)

◆ STATIC_ASSERT() [15/51]

STATIC_ASSERT ( offsetof(struct FieldWork, action) = =0x16c)

◆ STATIC_ASSERT() [16/51]

STATIC_ASSERT ( offsetof(struct FieldWork, descriptor) = =0x178)

◆ STATIC_ASSERT() [17/51]

STATIC_ASSERT ( offsetof(struct FieldWork, battle) = =0x17c)

◆ STATIC_ASSERT() [18/51]

STATIC_ASSERT ( offsetof(struct FieldWork, event) = =0x182)

◆ STATIC_ASSERT() [19/51]

STATIC_ASSERT ( offsetof(struct FieldWork, blockedSteps) = =0x19c)

◆ STATIC_ASSERT() [20/51]

STATIC_ASSERT ( offsetof(struct FieldWork, mode) = =0x19e)

◆ STATIC_ASSERT() [21/51]

STATIC_ASSERT ( offsetof(struct FieldWork, encounterGroups) = =0x1a0)

◆ STATIC_ASSERT() [22/51]

STATIC_ASSERT ( offsetof(struct FieldWork, encounterBias) = =0x1a8)

◆ STATIC_ASSERT() [23/51]

STATIC_ASSERT ( offsetof(struct FieldWork, encounterThreshold) = =0x1ac)

◆ STATIC_ASSERT() [24/51]

STATIC_ASSERT ( offsetof(struct FieldWork, walkingDistanceScale) = =0x1b0)

◆ STATIC_ASSERT() [25/51]

STATIC_ASSERT ( offsetof(struct FieldWork, walkingDistance) = =0x1b4)

◆ STATIC_ASSERT() [26/51]

STATIC_ASSERT ( offsetof(struct FieldWork, currentTile) = =0x1b8)

◆ STATIC_ASSERT() [27/51]

STATIC_ASSERT ( offsetof(struct FieldWork, previousTile) = =0x1bc)

◆ STATIC_ASSERT() [28/51]

STATIC_ASSERT ( offsetof(struct FieldWork, transition) = =0x1c0)

◆ STATIC_ASSERT() [29/51]

STATIC_ASSERT ( offsetof(struct FieldWork, transitionActive) = =0x1c6)

◆ STATIC_ASSERT() [30/51]

STATIC_ASSERT ( offsetof(struct FieldWork, transitionFrames) = =0x1c8)

◆ STATIC_ASSERT() [31/51]

STATIC_ASSERT ( offsetof(struct FieldWork, fastForward) = =0x1cc)

◆ STATIC_ASSERT() [32/51]

STATIC_ASSERT ( offsetof(struct FieldWork, message) = =0x1d8)

◆ STATIC_ASSERT() [33/51]

STATIC_ASSERT ( offsetof(struct FieldWork, camera) = =0x1e0)

◆ STATIC_ASSERT() [34/51]

STATIC_ASSERT ( offsetof(struct FieldWork, unk1da) = =0x1da)

◆ STATIC_ASSERT() [35/51]

STATIC_ASSERT ( offsetof(struct FieldWork, unk1dc) = =0x1dc)

◆ STATIC_ASSERT() [36/51]

STATIC_ASSERT ( offsetof(struct FieldWork, unk1de) = =0x1de)

◆ STATIC_ASSERT() [37/51]

STATIC_ASSERT ( offsetof(struct FieldWork, speaker) = =0x1f4)

◆ STATIC_ASSERT() [38/51]

STATIC_ASSERT ( offsetof(struct FieldWork, messageWindow) = =0x1f8)

◆ STATIC_ASSERT() [39/51]

STATIC_ASSERT ( offsetof(struct FieldWork, sideWindow) = =0x1fc)

◆ STATIC_ASSERT() [40/51]

STATIC_ASSERT ( offsetof(struct FieldWork, busy) = =0xcb6)

◆ STATIC_ASSERT() [41/51]

STATIC_ASSERT ( offsetof(struct FieldWork, revealActive) = =0xcb8)

◆ STATIC_ASSERT() [42/51]

STATIC_ASSERT ( offsetof(struct FieldWork, revealFrames) = =0xcba)

◆ STATIC_ASSERT() [43/51]

STATIC_ASSERT ( offsetof(struct FieldWork, revealCenterX) = =0xcbc)

◆ STATIC_ASSERT() [44/51]

STATIC_ASSERT ( offsetof(struct FieldWork, revealCenterY) = =0xcbe)

◆ STATIC_ASSERT() [45/51]

STATIC_ASSERT ( offsetof(struct FieldWork, effectTimerRunning) = =0xcc0)

◆ STATIC_ASSERT() [46/51]

STATIC_ASSERT ( offsetof(struct FieldWork, nameMessage) = =0xcc2)

◆ STATIC_ASSERT() [47/51]

STATIC_ASSERT ( offsetof(struct FieldWork, nameWidth) = =0xcc4)

◆ STATIC_ASSERT() [48/51]

STATIC_ASSERT ( offsetof(struct FieldWork, resolvingAction) = =0xcc6)

◆ STATIC_ASSERT() [49/51]

STATIC_ASSERT ( offsetof(struct FieldWork, castStarted) = =0xcc7)

◆ STATIC_ASSERT() [50/51]

STATIC_ASSERT ( offsetof(struct FieldWork, queuedSound) = =0xcc8)

◆ STATIC_ASSERT() [51/51]

STATIC_ASSERT ( sizeof(struct FieldPosition) = =12)

Variable Documentation

◆ gField_SceneTable

const struct SceneRecord gField_SceneTable[]
extern

◆ gOverlayArea