Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
StageTile Struct Reference

An object of a map, which FIELDSTG draws: a record of the table at FieldState.objects, which ends with margin = 0. More...

#include <field/field_map.h>

Data Fields

u8 visible
 
u8 anim
 which of a stage's animations sets frame (1-3); FIELDSTG finds objects by it (its lift, 2 and 3, the field commands' groups, FIELD_OBJECT_GROUP_ANIM on) and draws 0xFF from its effect sprites
 
u8 margin
 how far off the view it is still drawn; 0 ends the table
 
u8 depth
 
u8 frame
 
u8 cycle
 1 cycles the frame, 2 the CLUT row, 3 the row back and forth
 
u8 cycleFirst
 
u8 cycleLast
 
u8 cycleDelay
 
u8 clutRow
 
s16 x
 
s16 y
 
s16 sortY
 drawn sorted at this y, or 0
 
s16 cycleTime
 in 1/256 frames; bit 15: going back
 

Detailed Description

An object of a map, which FIELDSTG draws: a record of the table at FieldState.objects, which ends with margin = 0.

Definition at line 208 of file field_map.h.

Field Documentation

◆ visible

◆ anim

◆ margin

u8 StageTile::margin

how far off the view it is still drawn; 0 ends the table

Definition at line 214 of file field_map.h.

Referenced by FIELDSTG_findNextObject(), updateCommand833(), updateCommand834(), updateStage(), updateStage(), updateTileAnims(), updateTileCursors(), updateTileEffect(), and updateTileLoop2().

◆ depth

u8 StageTile::depth

Definition at line 215 of file field_map.h.

Referenced by FIELDSTG_drawMapObject(), and FIELDSTG_updateMapObjects().

◆ frame

◆ cycle

u8 StageTile::cycle

1 cycles the frame, 2 the CLUT row, 3 the row back and forth

Definition at line 217 of file field_map.h.

Referenced by FIELDSTG_updateMapObjects(), and updateStage().

◆ cycleFirst

u8 StageTile::cycleFirst

Definition at line 218 of file field_map.h.

Referenced by FIELDSTG_updateMapObjects().

◆ cycleLast

u8 StageTile::cycleLast

Definition at line 219 of file field_map.h.

Referenced by FIELDSTG_updateMapObjects().

◆ cycleDelay

u8 StageTile::cycleDelay

Definition at line 220 of file field_map.h.

◆ clutRow

◆ x

◆ y

◆ sortY

s16 StageTile::sortY

drawn sorted at this y, or 0

Definition at line 224 of file field_map.h.

Referenced by FIELDSTG_updateMapObjects(), and updateTileEffect().

◆ cycleTime

s16 StageTile::cycleTime

in 1/256 frames; bit 15: going back

Definition at line 225 of file field_map.h.

Referenced by FIELDSTG_updateMapObjects().


The documentation for this struct was generated from the following file: