|
Digimon World 3 decomp
The European version, SLES_039.36
|
FIGHTSTG's fighter data, loaded into FIGHTSTG_fighterCache. More...
#include "battle/battle_mode.h"Go to the source code of this file.
Functions | |
| static void * | getFightersPart (FightersFile *file, s32 offset) |
| The part of the fighters' file at an offset from its start. | |
| FighterInfo * | FIGHTSTG_getFighterInfo (s32 id) |
| the match depends on reaching the cache through the symbol until a fighter is found, and on each branch storing and returning its own info | |
| void | FIGHTSTG_cacheFighter (s32 index) |
| Loads entry index of the fighters file into FIGHTSTG_fighterCache: its id and kind, and its info, an enemy's from kind 0x3A on or else a partner's. | |
| FaceRect * | FIGHTSTG_getFighterFace (s32 id) |
| Fighter id's face parts (FaceRect), in the fighters file. | |
| void | FIGHTSTG_getFighterRange (u32 enemy, s32 *min, s32 *max) |
| The first and last entries of the fighters file that are enemies (enemy set) or partners. | |
FIGHTSTG's fighter data, loaded into FIGHTSTG_fighterCache.
Definition in file fighter_info.c.
|
inlinestatic |
The part of the fighters' file at an offset from its start.
Definition at line 6 of file fighter_info.c.
Referenced by FIGHTSTG_cacheFighter(), FIGHTSTG_getFighterInfo(), and FIGHTSTG_getFighterRange().
| FighterInfo * FIGHTSTG_getFighterInfo | ( | s32 | id | ) |
the match depends on reaching the cache through the symbol until a fighter is found, and on each branch storing and returning its own info
Definition at line 12 of file fighter_info.c.
Referenced by FIGHTSTG_getFighterFace().
| void FIGHTSTG_cacheFighter | ( | s32 | index | ) |
Loads entry index of the fighters file into FIGHTSTG_fighterCache: its id and kind, and its info, an enemy's from kind 0x3A on or else a partner's.
Definition at line 57 of file fighter_info.c.
Fighter id's face parts (FaceRect), in the fighters file.
Definition at line 81 of file fighter_info.c.
The first and last entries of the fighters file that are enemies (enemy set) or partners.
Definition at line 90 of file fighter_info.c.