|
SSBM Decomp
|
#include <string.h>#include "cobj.h"#include "gobj.h"#include "gobjobject.h"#include "sislib.h"#include "sislib_font.h"#include "state.h"#include "tev.h"#include "wobj.h"#include <dolphin/gx.h>#include <dolphin/mtx.h>#include <dolphin/types.h>#include <melee/lb/lbarchive.h>Macros | |
| #define | SIS_GET_U16(p) |
| SIS strings are big-endian byte streams. | |
| #define | SIS_GET_S16(p) |
| #define | SIS_GET_SAVED_CURSOR(p) |
| #define | SIS_GET_JUMP_TARGET(p) |
Enumerations | |
| enum | SIS_SAVED_CURSOR { SIS_SAVED_CURSOR_SIZE = sizeof(u8*) } |
| < More... | |
Functions | |
| static u8 * | sisGetSavedCursor (const u8 *p) |
| Runtime cursors are saved as pointer-sized big-endian values. | |
| static u8 * | sisGetJumpTarget (const u8 *p) |
| Jump operands are unaligned within the stream. | |
| void | HSD_SisLib_803A7684 (HSD_Text *text, const u8 *cursor, u8 flags) |
| u8 * | HSD_SisLib_803A7F0C (HSD_Text *text, s32 flags) |
| void | HSD_SisLib_803A8134 (u8 *cursor, HSD_Text *text, f32 *out_width, f32 *out_height) |
| static void | sisFitLineToBox (HSD_Text *text, f32 measured_width) |
| void | HSD_SisLib_803A84BC (HSD_GObj *gobj, intptr_t pass) |
| HSD_Archive * | HSD_SisLib_803A945C (char *path) |
| void | HSD_SisLib_803A947C (HSD_Archive *archive) |
| STATIC_ASSERT (sizeof(HSD_SisLib_8040C680)==0x240) | |
| STATIC_ASSERT (sizeof(lbl_8040C8C0)==0x240) | |
| STATIC_ASSERT (sizeof(HSD_SisLib_8040CB00)==0x240) | |
Variables | |
| SisGlyphCode | HSD_SisLib_8040C680 [288] |
| SjisChar | lbl_8040C8C0 [288] |
| TextGlyphMetrics | HSD_SisLib_8040CB00 [288] |
| #define SIS_GET_U16 | ( | p | ) |
| #define SIS_GET_S16 | ( | p | ) |
| #define SIS_GET_SAVED_CURSOR | ( | p | ) |
| #define SIS_GET_JUMP_TARGET | ( | p | ) |
| enum SIS_SAVED_CURSOR |
<
Bytes in a saved cursor record, not counting its type byte.
| Enumerator | |
|---|---|
| SIS_SAVED_CURSOR_SIZE | |
Runtime cursors are saved as pointer-sized big-endian values.
| HSD_Archive * HSD_SisLib_803A945C | ( | char * | path | ) |
| void HSD_SisLib_803A947C | ( | HSD_Archive * | archive | ) |
| STATIC_ASSERT | ( | sizeof(HSD_SisLib_8040C680) | = =0x240 | ) |
| STATIC_ASSERT | ( | sizeof(lbl_8040C8C0) | = =0x240 | ) |
| STATIC_ASSERT | ( | sizeof(HSD_SisLib_8040CB00) | = =0x240 | ) |
| SisGlyphCode HSD_SisLib_8040C680[288] |
| SjisChar lbl_8040C8C0[288] |
| TextGlyphMetrics HSD_SisLib_8040CB00[288] |