|
Digimon World 3 decomp
The European version, SLES_039.36
|
The tasks that read a tile of the map from the CD and draw it. More...
#include "field/field_mode.h"Go to the source code of this file.
Functions | |
| void | FIELDSTG_touchStream (StreamTask *task) |
| Marks a stream task used now (FIELDSTG_findOldestStream) | |
| void | FIELDSTG_seekStream (StreamTask *task, s32 frame, s32 size) |
| Reads a frame of the map file, a tile, from the CD, unless it has it already. | |
| s32 | FIELDSTG_isStreamLoaded (StreamTask *task) |
| Whether a stream task's read is done. | |
| void | FIELDSTG_drawStream (StreamTask *task, Layer *layer, s32 x, s32 y) |
| Draws a stream task's tile at (x, y) on a layer: its sprites at the three depths. | |
| void | FIELDSTG_setStreamSource (StreamTask *task, s32 slot, Decompressor *source) |
| Decompresses a stream task's tile into slot. | |
| void | FIELDSTG_loadStreamSprites (StreamTask *task) |
| Takes a decompressed tile's sprites and loads its image into its slot's VRAM. | |
| void | FIELDSTG_clearStreamSlot (StreamTask *task) |
| Forgets a stream task's slot. | |
| s32 | FIELDSTG_getStreamSlot (StreamTask *task) |
| A stream task's slot, or -1. | |
| s32 | FIELDSTG_getStreamFrame (StreamTask *task) |
| A stream task's frame, the tile it holds. | |
| void | FIELDSTG_updateStream (StreamTask *task) |
| A stream task's update: takes its tile once decompressed, and notes when its read ends. | |
| StreamTask * | FIELDSTG_createStream (s32 size, s32 file) |
| Creates a stream task of a file, with a buffer of size. | |
The tasks that read a tile of the map from the CD and draw it.
Definition in file stream.c.
| void FIELDSTG_touchStream | ( | StreamTask * | task | ) |
Marks a stream task used now (FIELDSTG_findOldestStream)
Definition at line 6 of file stream.c.
Referenced by FIELDSTG_createStream(), FIELDSTG_drawStream(), FIELDSTG_loadStreamSprites(), and FIELDSTG_seekStream().
| void FIELDSTG_seekStream | ( | StreamTask * | task, |
| s32 | frame, | ||
| s32 | size | ||
| ) |
Reads a frame of the map file, a tile, from the CD, unless it has it already.
Definition at line 12 of file stream.c.
Referenced by FIELDSTG_createStream().
| s32 FIELDSTG_isStreamLoaded | ( | StreamTask * | task | ) |
Whether a stream task's read is done.
Definition at line 25 of file stream.c.
Referenced by FIELDSTG_createStream().
| void FIELDSTG_drawStream | ( | StreamTask * | task, |
| Layer * | layer, | ||
| s32 | x, | ||
| s32 | y | ||
| ) |
Draws a stream task's tile at (x, y) on a layer: its sprites at the three depths.
Definition at line 31 of file stream.c.
Referenced by FIELDSTG_createStream().
| void FIELDSTG_setStreamSource | ( | StreamTask * | task, |
| s32 | slot, | ||
| Decompressor * | source | ||
| ) |
Decompresses a stream task's tile into slot.
Definition at line 74 of file stream.c.
Referenced by FIELDSTG_createStream().
| void FIELDSTG_loadStreamSprites | ( | StreamTask * | task | ) |
Takes a decompressed tile's sprites and loads its image into its slot's VRAM.
Definition at line 83 of file stream.c.
Referenced by FIELDSTG_updateStream().
| void FIELDSTG_clearStreamSlot | ( | StreamTask * | task | ) |
Forgets a stream task's slot.
Definition at line 121 of file stream.c.
Referenced by FIELDSTG_createStream().
| s32 FIELDSTG_getStreamSlot | ( | StreamTask * | task | ) |
A stream task's slot, or -1.
Definition at line 126 of file stream.c.
Referenced by FIELDSTG_createStream().
| s32 FIELDSTG_getStreamFrame | ( | StreamTask * | task | ) |
A stream task's frame, the tile it holds.
Definition at line 131 of file stream.c.
Referenced by FIELDSTG_createStream().
| void FIELDSTG_updateStream | ( | StreamTask * | task | ) |
A stream task's update: takes its tile once decompressed, and notes when its read ends.
Definition at line 137 of file stream.c.
Referenced by FIELDSTG_createStream().
| StreamTask * FIELDSTG_createStream | ( | s32 | size, |
| s32 | file | ||
| ) |
Creates a stream task of a file, with a buffer of size.
Definition at line 168 of file stream.c.
Referenced by FIELDSTG_runMapStreamer().