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

#include <field/field_map.h>

Data Fields

s32 files [8]
 the file entry of each map, set by setFile
 
s32 width
 of the grid, in cells
 
s32 height
 
u8 * grid
 
u8 * cells64
 
s16 * cells32
 
s16 * cells16
 
s16 * cells8
 
u8 * pixels
 
void(* setFile )(s32 index, s32 file)
 FIELDSTG_setMapFile.
 
s32(* getCell )(s32 index, Vec2 *pos)
 FIELDSTG_getMapCell.
 
void(* getWalkStep )(Vec2 *pos, s32 scale, s32 dir, Vec2 *out)
 FIELDSTG_getWalkStep.
 
void(* getFlyStep )(Vec2 *pos, s32 scale, s32 dir, Vec2 *out)
 FIELDSTG_getFlyStep.
 
void(* setFirstMap )(s32 index)
 FIELDSTG_setFirstMap: the map the player starts on (GAME.mapIndex), when the mode is new.
 
void(* setMap )(s32 index)
 FIELDSTG_setMap: the map the player is on.
 
s32(* isTileFree )(Vec2 *pos)
 FIELDSTG_isTileFree: 0 where a character or an object stands.
 

Detailed Description

Definition at line 90 of file field_map.h.

Field Documentation

◆ files

s32 FieldMap::files[8]

the file entry of each map, set by setFile

Definition at line 91 of file field_map.h.

Referenced by FIELDSTG_countBattleSteps(), FIELDSTG_selectMap(), and FIELDSTG_setMapFile().

◆ width

s32 FieldMap::width

of the grid, in cells

Definition at line 92 of file field_map.h.

Referenced by FIELDSTG_getMapCell(), and FIELDSTG_selectMap().

◆ height

s32 FieldMap::height

Definition at line 93 of file field_map.h.

Referenced by FIELDSTG_selectMap().

◆ grid

u8* FieldMap::grid

Definition at line 94 of file field_map.h.

Referenced by FIELDSTG_getMapCell(), and FIELDSTG_selectMap().

◆ cells64

u8* FieldMap::cells64

Definition at line 95 of file field_map.h.

Referenced by FIELDSTG_getMapCell(), and FIELDSTG_selectMap().

◆ cells32

s16* FieldMap::cells32

Definition at line 96 of file field_map.h.

Referenced by FIELDSTG_getMapCell(), and FIELDSTG_selectMap().

◆ cells16

s16* FieldMap::cells16

Definition at line 97 of file field_map.h.

Referenced by FIELDSTG_getMapCell(), and FIELDSTG_selectMap().

◆ cells8

s16* FieldMap::cells8

Definition at line 98 of file field_map.h.

Referenced by FIELDSTG_getMapCell(), and FIELDSTG_selectMap().

◆ pixels

u8* FieldMap::pixels

Definition at line 99 of file field_map.h.

Referenced by FIELDSTG_getMapCell(), and FIELDSTG_selectMap().

◆ setFile

void(* FieldMap::setFile) (s32 index, s32 file)

FIELDSTG_setMapFile.

Definition at line 100 of file field_map.h.

Referenced by FIELDSTG_setupField(), setupStage(), startEvent9000(), startEvent9001(), and startField().

◆ getCell

s32(* FieldMap::getCell) (s32 index, Vec2 *pos)

◆ getWalkStep

void(* FieldMap::getWalkStep) (Vec2 *pos, s32 scale, s32 dir, Vec2 *out)

FIELDSTG_getWalkStep.

Definition at line 102 of file field_map.h.

Referenced by FIELDSTG_runActorAction(), and runSlide().

◆ getFlyStep

void(* FieldMap::getFlyStep) (Vec2 *pos, s32 scale, s32 dir, Vec2 *out)

FIELDSTG_getFlyStep.

Definition at line 103 of file field_map.h.

Referenced by FIELDSTG_runActorAction().

◆ setFirstMap

void(* FieldMap::setFirstMap) (s32 index)

FIELDSTG_setFirstMap: the map the player starts on (GAME.mapIndex), when the mode is new.

Definition at line 104 of file field_map.h.

Referenced by FIELDSTG_setupField(), and setupStage().

◆ setMap

void(* FieldMap::setMap) (s32 index)

FIELDSTG_setMap: the map the player is on.

Definition at line 106 of file field_map.h.

Referenced by FIELDSTG_offerTrigger().

◆ isTileFree

s32(* FieldMap::isTileFree) (Vec2 *pos)

FIELDSTG_isTileFree: 0 where a character or an object stands.

Definition at line 107 of file field_map.h.

Referenced by FIELDSTG_checkFlightProbe().


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