Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
map_objects.c File Reference

The map's objects: animated, drawn and found by their animation. More...

#include "field/field_mode.h"
Include dependency graph for map_objects.c:

Go to the source code of this file.

Functions

void FIELDSTG_drawMapObject (MapObjects *task, Layer *layer, s32 index)
 The layer's sorted callback that draws a map object.
 
void FIELDSTG_updateMapObjects (MapObjects *task, HiddenSpots **children)
 Animates and draws the map's objects that are in view.
 
MapObjects * FIELDSTG_createMapObjects (s32 sprites, StageTile *objects)
 Creates the map's objects, with their sprites.
 
StageTile * FIELDSTG_findNextObject (void)
 The next map object of the animation FIELDSTG_findObject looks for, or NULL.
 
StageTile * FIELDSTG_findObject (s32 anim)
 The first map object of an animation, or NULL (FIELDSTG_findNextObject goes on)
 

Detailed Description

The map's objects: animated, drawn and found by their animation.

Definition in file map_objects.c.

Function Documentation

◆ FIELDSTG_drawMapObject()

void FIELDSTG_drawMapObject ( MapObjects *  task,
Layer *  layer,
s32  index 
)

The layer's sorted callback that draws a map object.

map_objects.c

Definition at line 6 of file map_objects.c.

Referenced by FIELDSTG_updateMapObjects().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FIELDSTG_updateMapObjects()

void FIELDSTG_updateMapObjects ( MapObjects *  task,
HiddenSpots **  children 
)

Animates and draws the map's objects that are in view.

< the map, its objects and characters, and the menus

< the map, its objects and characters, and the menus

Definition at line 30 of file map_objects.c.

Referenced by FIELDSTG_createMapObjects().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FIELDSTG_createMapObjects()

MapObjects * FIELDSTG_createMapObjects ( s32  sprites,
StageTile *  objects 
)

Creates the map's objects, with their sprites.

Definition at line 142 of file map_objects.c.

Referenced by FIELDSTG_updateField().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FIELDSTG_findNextObject()

StageTile * FIELDSTG_findNextObject ( void  )

The next map object of the animation FIELDSTG_findObject looks for, or NULL.

and the next, or NULL

Definition at line 152 of file map_objects.c.

Referenced by FIELDSTG_findObject().

Here is the caller graph for this function:

◆ FIELDSTG_findObject()

StageTile * FIELDSTG_findObject ( s32  anim)

The first map object of an animation, or NULL (FIELDSTG_findNextObject goes on)

the first map object with that animation

Definition at line 171 of file map_objects.c.

Referenced by updateFrameTask(), and updateTileGroup().

Here is the call graph for this function:
Here is the caller graph for this function: