|
Digimon World 3 decomp
The European version, SLES_039.36
|
The map's hidden spots, one of which holds a prize, and their effects. More...
#include "field/field_mode.h"Go to the source code of this file.
Functions | |
| void | FIELDSTG_showSpotHint (SpotHint *task) |
| The hint after a search without the prize: a sprite that flashes faster the closer the prize is. | |
| SpotHint * | FIELDSTG_createSpotHint (Vec2 from, Vec2 to) |
| Creates the hint for a search at to, from the prize at from. | |
| void | FIELDSTG_hidePrize (HiddenSpots *task) |
| Hides the prize in one of the hidden spots at random (GAME.prizeSpot keeps it) | |
| void | FIELDSTG_updateHiddenSpots (HiddenSpots *task, HiddenSpotsChildren *children) |
| The hidden spots' update: a search plays its effect, then starts a battle where the prize is (and hides it again) or shows a hint, and animates the searched spot's object. | |
| HiddenSpots * | FIELDSTG_createHiddenSpots (s32 count) |
| Creates the hidden spots, the map objects of animation 0xFF, and hides the prize in one (or where it was, in the same mode) | |
| HiddenSpots * | FIELDSTG_findHiddenSpot (Vec2 *pos, s32 select) |
| The hidden spots, when one is within 10 pixels of pos (selecting it if select), or NULL. | |
| void | FIELDSTG_searchEventSpot (void) |
| Searches the hidden spots off the map (x 1000 and up), for an event. | |
| void | FIELDSTG_drawSpotEffect (SpotEffect *task, Layer *layer) |
| The layer's sorted callback that draws a search's effect. | |
| void | FIELDSTG_updateSpotEffect (SpotEffect *task) |
| A search's effect, over the player or, for an event, its actor 0x11B. | |
| SpotEffect * | FIELDSTG_createSpotEffect (s32 forEvent) |
| Creates a search's effect, over the event's actor 0x11B if forEvent, else over the player. | |
The map's hidden spots, one of which holds a prize, and their effects.
Definition in file hidden_spots.c.
| void FIELDSTG_showSpotHint | ( | SpotHint * | task | ) |
The hint after a search without the prize: a sprite that flashes faster the closer the prize is.
< the map, its objects and characters, and the menus
Definition at line 7 of file hidden_spots.c.
Referenced by FIELDSTG_createSpotHint().
Creates the hint for a search at to, from the prize at from.
Definition at line 57 of file hidden_spots.c.
Referenced by FIELDSTG_updateHiddenSpots().
| void FIELDSTG_hidePrize | ( | HiddenSpots * | task | ) |
Hides the prize in one of the hidden spots at random (GAME.prizeSpot keeps it)
Definition at line 67 of file hidden_spots.c.
Referenced by FIELDSTG_createHiddenSpots(), and FIELDSTG_updateHiddenSpots().
| void FIELDSTG_updateHiddenSpots | ( | HiddenSpots * | task, |
| HiddenSpotsChildren * | children | ||
| ) |
The hidden spots' update: a search plays its effect, then starts a battle where the prize is (and hides it again) or shows a hint, and animates the searched spot's object.
< the hidden spots'
Definition at line 78 of file hidden_spots.c.
Referenced by FIELDSTG_createHiddenSpots().
| HiddenSpots * FIELDSTG_createHiddenSpots | ( | s32 | count | ) |
Creates the hidden spots, the map objects of animation 0xFF, and hides the prize in one (or where it was, in the same mode)
Definition at line 153 of file hidden_spots.c.
Referenced by FIELDSTG_updateMapObjects().
| HiddenSpots * FIELDSTG_findHiddenSpot | ( | Vec2 * | pos, |
| s32 | select | ||
| ) |
The hidden spots, when one is within 10 pixels of pos (selecting it if select), or NULL.
Definition at line 189 of file hidden_spots.c.
Referenced by FIELDSTG_controlPlayer(), and FIELDSTG_isTileFree().
| void FIELDSTG_searchEventSpot | ( | void | ) |
Searches the hidden spots off the map (x 1000 and up), for an event.
Definition at line 209 of file hidden_spots.c.
Referenced by FIELDSTG_handleFieldCommand().
| void FIELDSTG_drawSpotEffect | ( | SpotEffect * | task, |
| Layer * | layer | ||
| ) |
The layer's sorted callback that draws a search's effect.
Definition at line 225 of file hidden_spots.c.
Referenced by FIELDSTG_updateSpotEffect().
| void FIELDSTG_updateSpotEffect | ( | SpotEffect * | task | ) |
A search's effect, over the player or, for an event, its actor 0x11B.
< the map, its objects and characters, and the menus
< every character (FIELDSTG_createActor)
< every character (FIELDSTG_createActor)
Definition at line 237 of file hidden_spots.c.
Referenced by FIELDSTG_createSpotEffect().
| SpotEffect * FIELDSTG_createSpotEffect | ( | s32 | forEvent | ) |
Creates a search's effect, over the event's actor 0x11B if forEvent, else over the player.
Definition at line 290 of file hidden_spots.c.
Referenced by FIELDSTG_updateHiddenSpots().