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

#include <field/field_map.h>

Collaboration diagram for Lift:
[legend]

Data Fields

s32 id
 
s32 key1
 
s32 key2
 
s32 state
 
s32 substate
 
s32 step
 
s32 counter
 
s32 paused
 
s32 childCount
 
void * children
 
void(* setState )(struct Lift *task, s32 state)
 
void(* setSubstate )(struct Lift *task, s32 substate)
 
void(* setStep )(struct Lift *task, s32 step)
 
void(* setCounter )(struct Lift *task, s32 counter)
 
void(* nextState )(struct Lift *task)
 
void(* nextSubstate )(struct Lift *task)
 
void(* nextStep )(struct Lift *task)
 
void(* tickCounter )(struct Lift *task)
 
void(* update )()
 
void(* destroy )(struct Lift *task)
 
StageTile * tiles [2]
 the map objects 3 and 2
 
s16 raised
 the objects are 0x7F up from their place, and the next move takes them down (LIFT_DOWN; flag 0x1C3D at the start)
 
s16 timer
 
s16 shake
 the step of the shake table, then a frame count
 
s16 pad5E
 never read or written
 
s16 y [2]
 the objects' y when the move started
 
s32 playerY
 
s16 homeY [2]
 the objects' place on the map
 

Detailed Description

Definition at line 238 of file field_map.h.

Field Documentation

◆ id

s32 Lift::id

Definition at line 239 of file field_map.h.

◆ key1

s32 Lift::key1

Definition at line 239 of file field_map.h.

◆ key2

s32 Lift::key2

Definition at line 239 of file field_map.h.

◆ state

s32 Lift::state

Definition at line 239 of file field_map.h.

Referenced by FIELDSTG_updateLift(), and updateTileLift().

◆ substate

s32 Lift::substate

Definition at line 239 of file field_map.h.

Referenced by FIELDSTG_updateLift(), and updateTileLift().

◆ step

s32 Lift::step

Definition at line 239 of file field_map.h.

◆ counter

s32 Lift::counter

Definition at line 239 of file field_map.h.

◆ paused

s32 Lift::paused

Definition at line 239 of file field_map.h.

◆ childCount

s32 Lift::childCount

Definition at line 239 of file field_map.h.

◆ children

void* Lift::children

Definition at line 239 of file field_map.h.

◆ setState

void(* Lift::setState) (struct Lift *task, s32 state)

◆ setSubstate

void(* Lift::setSubstate) (struct Lift *task, s32 substate)

Definition at line 239 of file field_map.h.

◆ setStep

void(* Lift::setStep) (struct Lift *task, s32 step)

Definition at line 239 of file field_map.h.

◆ setCounter

void(* Lift::setCounter) (struct Lift *task, s32 counter)

Definition at line 239 of file field_map.h.

◆ nextState

void(* Lift::nextState) (struct Lift *task)

Definition at line 239 of file field_map.h.

Referenced by FIELDSTG_updateLift(), and updateTileLift().

◆ nextSubstate

void(* Lift::nextSubstate) (struct Lift *task)

Definition at line 239 of file field_map.h.

Referenced by FIELDSTG_updateLift(), and updateTileLift().

◆ nextStep

void(* Lift::nextStep) (struct Lift *task)

Definition at line 239 of file field_map.h.

◆ tickCounter

void(* Lift::tickCounter) (struct Lift *task)

Definition at line 239 of file field_map.h.

◆ update

void(* Lift::update) ()

Definition at line 239 of file field_map.h.

◆ destroy

void(* Lift::destroy) (struct Lift *task)

Definition at line 239 of file field_map.h.

◆ tiles

StageTile* Lift::tiles[2]

the map objects 3 and 2

Definition at line 240 of file field_map.h.

Referenced by FIELDSTG_updateLift(), and updateTileLift().

◆ raised

s16 Lift::raised

the objects are 0x7F up from their place, and the next move takes them down (LIFT_DOWN; flag 0x1C3D at the start)

Definition at line 241 of file field_map.h.

Referenced by createCommand827(), createTileLift(), FIELDSTG_createLift(), FIELDSTG_moveLift(), FIELDSTG_updateLift(), handleCommand827(), handleTileLift(), and updateTileLift().

◆ timer

s16 Lift::timer

Definition at line 243 of file field_map.h.

Referenced by FIELDSTG_updateLift(), and updateTileLift().

◆ shake

s16 Lift::shake

the step of the shake table, then a frame count

Definition at line 244 of file field_map.h.

Referenced by FIELDSTG_updateLift(), and updateTileLift().

◆ pad5E

s16 Lift::pad5E

never read or written

Definition at line 245 of file field_map.h.

◆ y

s16 Lift::y[2]

the objects' y when the move started

Definition at line 246 of file field_map.h.

Referenced by FIELDSTG_updateLift(), and updateTileLift().

◆ playerY

s32 Lift::playerY

Definition at line 247 of file field_map.h.

Referenced by FIELDSTG_updateLift(), and updateTileLift().

◆ homeY

s16 Lift::homeY[2]

the objects' place on the map

Definition at line 248 of file field_map.h.

Referenced by FIELDSTG_updateLift(), and updateTileLift().


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