Alchemy
Loading...
Searching...
No Matches

SceneEntrance Struct Reference

A scene entrance: where and facing which way the party arrives, and the camera's bounds there (-1 for none). More...

#include <field_scene.h>

Data Fields

s16 entrance
 the entrance number the game state names; -1 ends
s16 requiredFlag
 a flag that must be set, or -1 for none
s16 x
 pixels
s16 y
 pixels
s16 z
 pixels
u16 facing
 1/65536 turns (enum Facing)
s16 unused1
 0 in every table; not read
s16 cameraLeft
 pixels
s16 cameraTop
 pixels
s16 cameraRight
 pixels
s16 cameraBottom
 pixels
s16 unused2
 0 in every table; not read

Detailed Description

A scene entrance: where and facing which way the party arrives, and the camera's bounds there (-1 for none).

Definition at line 54 of file field_scene.h.

Field Documentation

◆ entrance

s16 SceneEntrance::entrance

the entrance number the game state names; -1 ends

Definition at line 55 of file field_scene.h.

Referenced by Scene_ApplyEntrance().

◆ requiredFlag

s16 SceneEntrance::requiredFlag

a flag that must be set, or -1 for none

Definition at line 56 of file field_scene.h.

Referenced by Scene_ApplyEntrance().

◆ x

s16 SceneEntrance::x

pixels

Definition at line 57 of file field_scene.h.

Referenced by Scene_ApplyEntrance().

◆ y

s16 SceneEntrance::y

pixels

Definition at line 58 of file field_scene.h.

Referenced by Scene_ApplyEntrance().

◆ z

s16 SceneEntrance::z

pixels

Definition at line 59 of file field_scene.h.

Referenced by Scene_ApplyEntrance().

◆ facing

u16 SceneEntrance::facing

1/65536 turns (enum Facing)

Definition at line 60 of file field_scene.h.

Referenced by Scene_ApplyEntrance().

◆ unused1

s16 SceneEntrance::unused1

0 in every table; not read

Definition at line 61 of file field_scene.h.

◆ cameraLeft

s16 SceneEntrance::cameraLeft

pixels

Definition at line 62 of file field_scene.h.

Referenced by Scene_ApplyEntrance().

◆ cameraTop

s16 SceneEntrance::cameraTop

pixels

Definition at line 63 of file field_scene.h.

Referenced by Scene_ApplyEntrance().

◆ cameraRight

s16 SceneEntrance::cameraRight

pixels

Definition at line 64 of file field_scene.h.

Referenced by Scene_ApplyEntrance().

◆ cameraBottom

s16 SceneEntrance::cameraBottom

pixels

Definition at line 65 of file field_scene.h.

Referenced by Scene_ApplyEntrance().

◆ unused2

s16 SceneEntrance::unused2

0 in every table; not read

Definition at line 66 of file field_scene.h.