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

A task that reads the frames of a file from the disc (FIELDSTG_createStream) More...

#include <field/field_mode.h>

Collaboration diagram for StreamTask:
[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 StreamTask *task, s32 state)
 
void(* setSubstate )(struct StreamTask *task, s32 substate)
 
void(* setStep )(struct StreamTask *task, s32 step)
 
void(* setCounter )(struct StreamTask *task, s32 counter)
 
void(* nextState )(struct StreamTask *task)
 
void(* nextSubstate )(struct StreamTask *task)
 
void(* nextStep )(struct StreamTask *task)
 
void(* tickCounter )(struct StreamTask *task)
 
void(* update )()
 
void(* destroy )(struct StreamTask *task)
 
s32 time
 
s32 loadedTime
 when its read ended, 0 while reading
 
s32 frame
 
s32 sector
 
s32 file
 
s32 frameSectors
 
void * buffer
 
s32 loaded
 
s32 loadedSlot
 the slot its image is loaded into, or -1
 
s32 imageX
 
s32 imageY
 
s32 clutX
 
s32 clutY
 
StreamSprite sprites [3][5]
 
s32 slot
 
Decompressor * source
 what it reads its sprites from (FIELDSTG_setStreamSource)
 
s32 * data
 the decompressed tile: its sprites, then its image
 
void(* seek )(struct StreamTask *task, s32 frame, s32 size)
 
s32(* isLoaded )(struct StreamTask *task)
 
void(* draw )(struct StreamTask *task, Layer *layer, s32 x, s32 y)
 
void(* setSource )(struct StreamTask *task, s32 slot, Decompressor *source)
 
s32(* getFrame )(struct StreamTask *task)
 
s32(* getSlot )(struct StreamTask *task)
 
void(* clearSlot )(struct StreamTask *task)
 
void(* updateTime )(struct StreamTask *task)
 

Detailed Description

A task that reads the frames of a file from the disc (FIELDSTG_createStream)

Definition at line 424 of file field_mode.h.

Field Documentation

◆ id

s32 StreamTask::id

Definition at line 425 of file field_mode.h.

◆ key1

s32 StreamTask::key1

Definition at line 425 of file field_mode.h.

◆ key2

s32 StreamTask::key2

Definition at line 425 of file field_mode.h.

◆ state

s32 StreamTask::state

Definition at line 425 of file field_mode.h.

Referenced by FIELDSTG_updateStream().

◆ substate

s32 StreamTask::substate

Definition at line 425 of file field_mode.h.

Referenced by FIELDSTG_updateStream().

◆ step

s32 StreamTask::step

Definition at line 425 of file field_mode.h.

◆ counter

s32 StreamTask::counter

Definition at line 425 of file field_mode.h.

◆ paused

s32 StreamTask::paused

Definition at line 425 of file field_mode.h.

◆ childCount

s32 StreamTask::childCount

Definition at line 425 of file field_mode.h.

◆ children

void* StreamTask::children

Definition at line 425 of file field_mode.h.

◆ setState

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

Definition at line 425 of file field_mode.h.

◆ setSubstate

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

Definition at line 425 of file field_mode.h.

Referenced by FIELDSTG_setStreamSource(), and FIELDSTG_updateStream().

◆ setStep

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

Definition at line 425 of file field_mode.h.

◆ setCounter

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

Definition at line 425 of file field_mode.h.

◆ nextState

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

Definition at line 425 of file field_mode.h.

Referenced by FIELDSTG_updateStream().

◆ nextSubstate

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

Definition at line 425 of file field_mode.h.

◆ nextStep

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

Definition at line 425 of file field_mode.h.

◆ tickCounter

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

Definition at line 425 of file field_mode.h.

◆ update

void(* StreamTask::update) ()

Definition at line 425 of file field_mode.h.

◆ destroy

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

Definition at line 425 of file field_mode.h.

◆ time

s32 StreamTask::time

Definition at line 426 of file field_mode.h.

Referenced by FIELDSTG_findOldestStream(), and FIELDSTG_touchStream().

◆ loadedTime

s32 StreamTask::loadedTime

when its read ended, 0 while reading

Definition at line 427 of file field_mode.h.

Referenced by FIELDSTG_drawMapTiles(), FIELDSTG_seekStream(), and FIELDSTG_updateStream().

◆ frame

s32 StreamTask::frame

◆ sector

s32 StreamTask::sector

Definition at line 429 of file field_mode.h.

Referenced by FIELDSTG_seekStream().

◆ file

s32 StreamTask::file

Definition at line 430 of file field_mode.h.

Referenced by FIELDSTG_createStream(), and FIELDSTG_seekStream().

◆ frameSectors

s32 StreamTask::frameSectors

Definition at line 431 of file field_mode.h.

Referenced by FIELDSTG_createStream(), and FIELDSTG_seekStream().

◆ buffer

void* StreamTask::buffer

◆ loaded

s32 StreamTask::loaded

◆ loadedSlot

s32 StreamTask::loadedSlot

the slot its image is loaded into, or -1

Definition at line 434 of file field_mode.h.

Referenced by FIELDSTG_clearStreamSlot(), FIELDSTG_createStream(), FIELDSTG_getStreamSlot(), FIELDSTG_loadStreamSprites(), and FIELDSTG_seekStream().

◆ imageX

s32 StreamTask::imageX

Definition at line 435 of file field_mode.h.

Referenced by FIELDSTG_drawStream(), and FIELDSTG_loadStreamSprites().

◆ imageY

s32 StreamTask::imageY

Definition at line 436 of file field_mode.h.

Referenced by FIELDSTG_drawStream(), and FIELDSTG_loadStreamSprites().

◆ clutX

s32 StreamTask::clutX

Definition at line 437 of file field_mode.h.

Referenced by FIELDSTG_drawStream(), and FIELDSTG_loadStreamSprites().

◆ clutY

s32 StreamTask::clutY

Definition at line 438 of file field_mode.h.

Referenced by FIELDSTG_drawStream(), and FIELDSTG_loadStreamSprites().

◆ sprites

StreamSprite StreamTask::sprites[3][5]

Definition at line 439 of file field_mode.h.

Referenced by FIELDSTG_drawStream(), and FIELDSTG_loadStreamSprites().

◆ slot

s32 StreamTask::slot

Definition at line 440 of file field_mode.h.

Referenced by FIELDSTG_loadStreamSprites(), and FIELDSTG_setStreamSource().

◆ source

Decompressor* StreamTask::source

what it reads its sprites from (FIELDSTG_setStreamSource)

Definition at line 441 of file field_mode.h.

Referenced by FIELDSTG_setStreamSource(), and FIELDSTG_updateStream().

◆ data

s32* StreamTask::data

the decompressed tile: its sprites, then its image

Definition at line 442 of file field_mode.h.

Referenced by FIELDSTG_loadStreamSprites(), and FIELDSTG_updateStream().

◆ seek

void(* StreamTask::seek) (struct StreamTask *task, s32 frame, s32 size)

Definition at line 443 of file field_mode.h.

Referenced by FIELDSTG_createStream(), and FIELDSTG_requestTiles().

◆ isLoaded

s32(* StreamTask::isLoaded) (struct StreamTask *task)

◆ draw

void(* StreamTask::draw) (struct StreamTask *task, Layer *layer, s32 x, s32 y)

Definition at line 445 of file field_mode.h.

Referenced by FIELDSTG_createStream(), and FIELDSTG_drawMapTiles().

◆ setSource

void(* StreamTask::setSource) (struct StreamTask *task, s32 slot, Decompressor *source)

Definition at line 446 of file field_mode.h.

Referenced by FIELDSTG_createStream(), and FIELDSTG_drawMapTiles().

◆ getFrame

s32(* StreamTask::getFrame) (struct StreamTask *task)

Definition at line 447 of file field_mode.h.

Referenced by FIELDSTG_createStream(), FIELDSTG_findStream(), and FIELDSTG_requestTiles().

◆ getSlot

s32(* StreamTask::getSlot) (struct StreamTask *task)

Definition at line 448 of file field_mode.h.

Referenced by FIELDSTG_createStream(), and FIELDSTG_drawMapTiles().

◆ clearSlot

void(* StreamTask::clearSlot) (struct StreamTask *task)

Definition at line 449 of file field_mode.h.

Referenced by FIELDSTG_createStream().

◆ updateTime

void(* StreamTask::updateTime) (struct StreamTask *task)

Definition at line 450 of file field_mode.h.

Referenced by FIELDSTG_createStream(), and FIELDSTG_requestTiles().


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