Alchemy
Loading...
Searching...
No Matches

ObjectSystemWork Struct Reference

The object system's work: the flag that suspends sprite projection, the outline's edge and fill colours, and the resource slots. More...

#include <field/animspr.h>

Data Fields

u16 used
 sprite pixel bytes composed since the camera reset it
u8 unk02 [2]
 not named by TBS code
s16 suspended
 nonzero while a menu has suspended sprite projection
u8 edge
 outline edge colour; 15 when the field sets up
u8 fill
 outline fill colour; 0 when the field sets up
u8 unk08 [0x10]
 the sprite group tables, taken in turn by count
s32 count
 sprite group tables taken from unk08
struct ResourceSlot slots [8]

Detailed Description

The object system's work: the flag that suspends sprite projection, the outline's edge and fill colours, and the resource slots.

Heap slot 6.

Definition at line 66 of file animspr.h.

Field Documentation

◆ used

u16 ObjectSystemWork::used

sprite pixel bytes composed since the camera reset it

Definition at line 67 of file animspr.h.

Referenced by ObjectSystem_UpdateCamera(), and ObjectSystem_UpdateCameraFixed().

◆ unk02

u8 ObjectSystemWork::unk02[2]

not named by TBS code

Definition at line 68 of file animspr.h.

◆ suspended

s16 ObjectSystemWork::suspended

◆ edge

u8 ObjectSystemWork::edge

outline edge colour; 15 when the field sets up

Definition at line 70 of file animspr.h.

Referenced by ObjectSystem_Initialize().

◆ fill

u8 ObjectSystemWork::fill

outline fill colour; 0 when the field sets up

Definition at line 71 of file animspr.h.

Referenced by ObjectSystem_Initialize().

◆ unk08

u8 ObjectSystemWork::unk08[0x10]

the sprite group tables, taken in turn by count

Definition at line 72 of file animspr.h.

Referenced by BattleActor_SpawnObjectsForList().

◆ count

s32 ObjectSystemWork::count

sprite group tables taken from unk08

Definition at line 73 of file animspr.h.

Referenced by BattleActor_SpawnObjectsForList(), and FieldObject_Create().

◆ slots

struct ResourceSlot ObjectSystemWork::slots[8]

Definition at line 74 of file animspr.h.

Referenced by Animation_LookupValueByKey(), and ResourceSlot_Load().