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

The task that streams the map's tiles from the CD around the view (FIELDSTG_runMapStreamer, id 4, created by FIELDSTG_createMapStreamer) More...

#include <field/field_mode.h>

Collaboration diagram for MapStreamer:
[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 MapStreamer *task, s32 state)
 
void(* setSubstate )(struct MapStreamer *task, s32 substate)
 
void(* setStep )(struct MapStreamer *task, s32 step)
 
void(* setCounter )(struct MapStreamer *task, s32 counter)
 
void(* nextState )(struct MapStreamer *task)
 
void(* nextSubstate )(struct MapStreamer *task)
 
void(* nextStep )(struct MapStreamer *task)
 
void(* tickCounter )(struct MapStreamer *task)
 
void(* update )()
 
void(* destroy )(struct MapStreamer *task)
 
s32 pad50
 never read or written
 
MapFileHeader * header
 the map file's, while it is read
 
Vec2 scroll
 
s32 pad60
 never read or written
 
s32 file
 the map's tiles, read from the CD (FieldState.mapFile)
 
s32 width
 in 128-pixel tiles
 
s32 height
 
s32 frameSectors
 a tile's sectors on the CD
 
MapImage images [12]
 
MapTile * tiles
 width * height
 
u8 viewTiles [30]
 by the slots around the view, their tiles
 
s32 viewX
 the tile column of the slots' left edge
 
s32 viewY
 their top row
 
Vec2 *(* getSize )(struct MapStreamer *)
 in pixels (FIELDSTG_getMapSize)
 

Detailed Description

The task that streams the map's tiles from the CD around the view (FIELDSTG_runMapStreamer, id 4, created by FIELDSTG_createMapStreamer)

Definition at line 487 of file field_mode.h.

Field Documentation

◆ id

s32 MapStreamer::id

Definition at line 488 of file field_mode.h.

◆ key1

s32 MapStreamer::key1

Definition at line 488 of file field_mode.h.

◆ key2

s32 MapStreamer::key2

Definition at line 488 of file field_mode.h.

◆ state

s32 MapStreamer::state

Definition at line 488 of file field_mode.h.

Referenced by FIELDSTG_runMapStreamer(), FIELDSTG_scrollCamera(), and showField().

◆ substate

s32 MapStreamer::substate

Definition at line 488 of file field_mode.h.

Referenced by FIELDSTG_runMapStreamer().

◆ step

s32 MapStreamer::step

Definition at line 488 of file field_mode.h.

◆ counter

s32 MapStreamer::counter

Definition at line 488 of file field_mode.h.

◆ paused

s32 MapStreamer::paused

Definition at line 488 of file field_mode.h.

◆ childCount

s32 MapStreamer::childCount

Definition at line 488 of file field_mode.h.

◆ children

void* MapStreamer::children

Definition at line 488 of file field_mode.h.

◆ setState

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

Definition at line 488 of file field_mode.h.

Referenced by warpAway().

◆ setSubstate

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

Definition at line 488 of file field_mode.h.

◆ setStep

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

Definition at line 488 of file field_mode.h.

◆ setCounter

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

Definition at line 488 of file field_mode.h.

◆ nextState

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

Definition at line 488 of file field_mode.h.

Referenced by FIELDSTG_runMapStreamer().

◆ nextSubstate

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

Definition at line 488 of file field_mode.h.

Referenced by FIELDSTG_runMapStreamer().

◆ nextStep

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

Definition at line 488 of file field_mode.h.

◆ tickCounter

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

Definition at line 488 of file field_mode.h.

◆ update

void(* MapStreamer::update) ()

Definition at line 488 of file field_mode.h.

◆ destroy

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

Definition at line 488 of file field_mode.h.

◆ pad50

s32 MapStreamer::pad50

never read or written

Definition at line 489 of file field_mode.h.

◆ header

MapFileHeader* MapStreamer::header

the map file's, while it is read

Definition at line 490 of file field_mode.h.

Referenced by FIELDSTG_runMapStreamer().

◆ scroll

Vec2 MapStreamer::scroll

◆ pad60

s32 MapStreamer::pad60

never read or written

Definition at line 492 of file field_mode.h.

◆ file

s32 MapStreamer::file

the map's tiles, read from the CD (FieldState.mapFile)

Definition at line 493 of file field_mode.h.

Referenced by FIELDSTG_createMapStreamer(), and FIELDSTG_runMapStreamer().

◆ width

s32 MapStreamer::width

in 128-pixel tiles

Definition at line 494 of file field_mode.h.

Referenced by FIELDSTG_drawMapTiles(), FIELDSTG_getMapSize(), FIELDSTG_pickViewTiles(), and FIELDSTG_runMapStreamer().

◆ height

s32 MapStreamer::height

◆ frameSectors

s32 MapStreamer::frameSectors

a tile's sectors on the CD

Definition at line 496 of file field_mode.h.

Referenced by FIELDSTG_runMapStreamer().

◆ images

MapImage MapStreamer::images[12]

Definition at line 497 of file field_mode.h.

Referenced by FIELDSTG_drawMapTiles(), and FIELDSTG_runMapStreamer().

◆ tiles

MapTile* MapStreamer::tiles

width * height

Definition at line 498 of file field_mode.h.

Referenced by FIELDSTG_drawMapTiles(), FIELDSTG_requestTiles(), and FIELDSTG_runMapStreamer().

◆ viewTiles

u8 MapStreamer::viewTiles[30]

by the slots around the view, their tiles

Definition at line 499 of file field_mode.h.

Referenced by FIELDSTG_pickViewTiles(), and FIELDSTG_requestTiles().

◆ viewX

s32 MapStreamer::viewX

the tile column of the slots' left edge

Definition at line 500 of file field_mode.h.

Referenced by FIELDSTG_pickViewTiles().

◆ viewY

s32 MapStreamer::viewY

their top row

Definition at line 501 of file field_mode.h.

Referenced by FIELDSTG_pickViewTiles().

◆ getSize

Vec2 *(* MapStreamer::getSize) (struct MapStreamer *)

in pixels (FIELDSTG_getMapSize)

Definition at line 502 of file field_mode.h.

Referenced by FIELDSTG_createMapStreamer(), and FIELDSTG_scrollCamera().


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