|
Digimon World 3 decomp
The European version, SLES_039.36
|
#include "engine/game.h"Go to the source code of this file.
Functions | |
| void | updateModeTask (Task *task, Task **children) |
| The root task (created by main): loads the overlay of the current game mode and calls its entry point, which returns the mode's top task. | |
| void * | createModeTask (void) |
| Creates the task that runs the current mode (updateModeTask) | |
| void | loadModeOverlay (void) |
| Copies the overlay of the current mode (mode >> 8) to OVERLAY_ADDRESS. | |
| void | loadSubOverlay (s32 id) |
| Copies a file to the second overlay area (SUB_OVERLAY_ADDRESS) | |
Variables | |
| Task *(* | MODE_ENTRY_POINTS [23])(void) |
| Each mode's overlay (mode >> 8): its entry point and its file. | |
| s32 | MODE_OVERLAY_FILES [23] |
| OverlayLoader | OVERLAY_LOADER = {0, 0, loadModeOverlay, loadSubOverlay} |
The root task (created by main): loads the overlay of the current game mode and calls its entry point, which returns the mode's top task.
Once a new mode is requested it dies, and main creates it again.
Definition at line 28 of file overlay.c.
Referenced by createModeTask().
| void * createModeTask | ( | void | ) |
| void loadModeOverlay | ( | void | ) |
| void loadSubOverlay | ( | s32 | id | ) |
| Task *(* MODE_ENTRY_POINTS[23])(void) | ( | void | ) |
Each mode's overlay (mode >> 8): its entry point and its file.
Definition at line 4 of file overlay.c.
Referenced by updateModeTask().
| s32 MODE_OVERLAY_FILES[23] |
Definition at line 12 of file overlay.c.
Referenced by loadModeOverlay().
| OverlayLoader OVERLAY_LOADER = {0, 0, loadModeOverlay, loadSubOverlay} |
Definition at line 21 of file overlay.c.
Referenced by FIGHTSTG_updateRoot(), loadModeOverlay(), loadSubOverlay(), startField(), and updateModeTask().