Alchemy
Loading...
Searching...
No Matches

SceneRecord Struct Reference

An actor's animation object, seen for the flags and rotation that lay a wounded soldier in his bed. More...

#include </home/runner/work/alchemy-docs/alchemy-docs/alchemy/games/tbs/src/scene/suhalla_interiors.h>

Data Fields

u8 unk00 [9]
u8 flags
u8 unk0a [20]
u16 angle
 1/65536 turns
u8 unk20 [6]
u8 field26
s16 resourceId
s8 group
s8 variant
 copied to gGameState.sceneVariant; 2 sets flag 0x123
u16 mapIndex
u16 reserved
 0 in every row; not read

Detailed Description

An actor's animation object, seen for the flags and rotation that lay a wounded soldier in his bed.

A scene's row in gField_SceneTable: its overlay's resource, its group (the place it belongs to), a variant and its map.

Definition at line 11 of file suhalla_interiors.h.

Field Documentation

◆ unk00

u8 SceneRecord::unk00[9]

Definition at line 12 of file suhalla_interiors.h.

◆ flags

u8 SceneRecord::flags

Definition at line 13 of file suhalla_interiors.h.

Referenced by Scene_Initialize().

◆ unk0a

u8 SceneRecord::unk0a[20]

Definition at line 14 of file suhalla_interiors.h.

◆ angle

u16 SceneRecord::angle

1/65536 turns

Definition at line 15 of file suhalla_interiors.h.

◆ unk20

u8 SceneRecord::unk20[6]

Definition at line 16 of file suhalla_interiors.h.

◆ field26

u8 SceneRecord::field26

Definition at line 17 of file suhalla_interiors.h.

◆ resourceId

s16 SceneRecord::resourceId

Definition at line 19 of file field_runtime.h.

Referenced by Scene_LoadOverlay().

◆ group

s8 SceneRecord::group

Definition at line 20 of file field_runtime.h.

Referenced by BattleFx_GetResourceGroup(), and Scene_ResetFlagsOnEnter().

◆ variant

s8 SceneRecord::variant

copied to gGameState.sceneVariant; 2 sets flag 0x123

Definition at line 21 of file field_runtime.h.

◆ mapIndex

u16 SceneRecord::mapIndex

Definition at line 22 of file field_runtime.h.

Referenced by Game_ResetForNewGame().

◆ reserved

u16 SceneRecord::reserved

0 in every row; not read

Definition at line 23 of file field_runtime.h.