Alchemy
Loading...
Searching...
No Matches

SceneRegion Struct Reference

A scene's exit region: the box that, while its condition holds, takes the party leader out through its exit. More...

#include <field_runtime.h>

Data Fields

s16 minX
s16 minY
s16 minZ
 pixels, inclusive; minX -1 ends the table
s16 maxX
s16 maxY
s16 maxZ
 pixels, exclusive
s16 condition
 -1 always, a flag | 0x1000 set, else the flag clear
s16 value
 the exit kind, stored in FieldWork's exit

Detailed Description

A scene's exit region: the box that, while its condition holds, takes the party leader out through its exit.

Definition at line 30 of file field_runtime.h.

Field Documentation

◆ minX

s16 SceneRegion::minX

Definition at line 31 of file field_runtime.h.

Referenced by Field_CheckExitRegions().

◆ minY

s16 SceneRegion::minY

Definition at line 31 of file field_runtime.h.

Referenced by Field_CheckExitRegions().

◆ minZ

s16 SceneRegion::minZ

pixels, inclusive; minX -1 ends the table

Definition at line 31 of file field_runtime.h.

Referenced by Field_CheckExitRegions().

◆ maxX

s16 SceneRegion::maxX

Definition at line 32 of file field_runtime.h.

Referenced by Field_CheckExitRegions().

◆ maxY

s16 SceneRegion::maxY

Definition at line 32 of file field_runtime.h.

Referenced by Field_CheckExitRegions().

◆ maxZ

s16 SceneRegion::maxZ

pixels, exclusive

Definition at line 32 of file field_runtime.h.

Referenced by Field_CheckExitRegions().

◆ condition

s16 SceneRegion::condition

-1 always, a flag | 0x1000 set, else the flag clear

Definition at line 33 of file field_runtime.h.

Referenced by Field_CheckExitRegions().

◆ value

s16 SceneRegion::value

the exit kind, stored in FieldWork's exit

Definition at line 34 of file field_runtime.h.

Referenced by Field_CheckExitRegions().