|
SSBM Decomp
|
#include "hsd_3915.h"#include <math.h>#include <placeholder.h>#include "cobj.h"#include "pobj.h"#include "state.h"#include <dolphin/gx.h>#include <dolphin/gx/GXGeometry.h>#include <sysdolphin/baselib/debug_font.inc>Data Structures | |
| struct | GlyphEntry |
Typedefs | |
| typedef void(* | GlyphFn) (u8 *dst, s32 flags, s32 unused1, s32 unused2, const u8 *src) |
Functions | |
| void | DrawRectangle (f32 x_min, f32 y_min, f32 w, f32 h, GXColor *color) |
| f32 | DrawASCII (int chr, float x, float y, GXColor *color) |
| void | hsd_80391A04 (float scale_x, float scale_y, int line_width) |
| static int | hexval (int ch) |
| s32 | hsd_80391AC8 (char *str, GXColor *color, f32 x, f32 y) |
| void | hsd_80391E18 (const u8 *list, f32 x1, f32 y1, f32 x2, f32 y2) |
| static f32 | hsd_80391F28_len (f32 dy, f32 dx) |
| Newton-Raphson sqrtf; the volatile round-trip pins the single-precision result. | |
| void | hsd_80391F28 (GXColor *color, f32 x1, f32 y1, f32 x2, f32 y2, f32 count) |
| Draws a line from (x1,y1) to (x2,y2) with a tick mark every step; every fifth tick is drawn longer. | |
| void | hsd_80392194 (u8 *dst, s32 flags, s32 unused1, s32 unused2, const u8 *src) |
| void | hsd_803921B8 (void *bitmap, s32 x, s32 y, s32 dst, s32 w, s32 h, s32 stride, void *tbl) |
| void | hsd_803922FC (void *bitmap, s32 x, s32 y, s32 parity, s32 dst, s32 w, s32 h, s32 stride, void *tbl) |
Variables | |
| struct ParticleScreenState | hsd_804CF810 |
| static u16 | numPeakParticles |
| static u8 | lbl_80408630 [0x268] |
| static float | lbl_804D6070 = 12.0F |
| static float | lbl_804D6074 = 12.0F |
| static u8 | lbl_804D6078 = 12 |
| GlyphEntry | lbl_80408898 [4] |
| DebugFontGlyph | HSD_DebugFontAtlas [] |
| void hsd_80391A04 | ( | float | scale_x, |
| float | scale_y, | ||
| int | line_width ) |
|
inlinestatic |
Newton-Raphson sqrtf; the volatile round-trip pins the single-precision result.
Draws a line from (x1,y1) to (x2,y2) with a tick mark every step; every fifth tick is drawn longer.
| void hsd_803922FC | ( | void * | bitmap, |
| s32 | x, | ||
| s32 | y, | ||
| s32 | parity, | ||
| s32 | dst, | ||
| s32 | w, | ||
| s32 | h, | ||
| s32 | stride, | ||
| void * | tbl ) |
|
extern |
|
static |
|
static |
|
static |
|
static |
|
static |
| GlyphEntry lbl_80408898[4] |
| DebugFontGlyph HSD_DebugFontAtlas[] |