SSBM Decomp
Loading...
Searching...
No Matches
hsd_3915.c File Reference
#include "hsd_3915.h"
#include "hsd_3915.static.h"
#include <math.h>
#include <math_ppc.h>
#include <trigf.h>
#include <dolphin/gx.h>
#include <dolphin/gx/GXGeometry.h>
#include <dolphin/mcc.h>
#include <dolphin/os.h>
#include <dolphin/pad.h>
#include <dolphin/vi.h>
#include <baselib/cobj.h>
#include <baselib/gobj.h>
#include <baselib/gobjgxlink.h>
#include <baselib/gobjobject.h>
#include <baselib/list.h>
#include <baselib/memory.h>
#include <baselib/mtx.h>
#include <baselib/perf.h>
#include <baselib/psappsrt.h>
#include <baselib/psstructs.h>
#include <baselib/random.h>
#include <baselib/state.h>
#include <baselib/video.h>
#include <MetroTRK/ppc_reg.h>

Data Structures

struct  GlyphEntry
struct  EventPriority
struct  DispBar
struct  DispItem

Typedefs

typedef DispItem *(* DispCallback) (void *)

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 (u8 *list, f32 x1, f32 y1, f32 x2, f32 y2)
static void hsd_80391F28_calc_perp_and_begin (f32 dy, f32 dx, f32 *perp_x, f32 *perp_y)
static void hsd_80391F28_calc_tick4_y (f32 perp_y, f32 *tick4_y)
void hsd_80391F28 (GXColor *color, f32 x1, f32 y1, f32 x2, f32 y2, f32 count)
void hsd_80392194 (u8 *dst, s32 flags, void *unused1, void *unused2, 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)
void hsd_80392474 (void)
HSD_SListfn_80392480 (Event event, int priority)
void hsd_80392528 (Event event)
void hsd_8039254C (void)
void fn_80392934 (void)
void fn_80392A08 (int mode, int scale, int enable)
static PerfDispItemget_perf_disp_item (s32 count)
void * fn_80392A3C (void)

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]
static u32 lbl_804D6084
static const u32 lbl_804DE8E0 = 0xFFFFFFFF
static s32 lbl_804D6088 = 4
static s32 lbl_804D608C = 1
static s32 lbl_804D6090 = -1
static s32 lbl_804D6094 = (s32) 0xFF0000FF
static s32 lbl_804D6098 = 0x00FF00FF
static s32 lbl_804D609C = 0x00FFFFFF
static s32 lbl_804D60A0 = 0x8080FF
static s32 lbl_804D60A4 = (s32) 0xC0C000FF

Typedef Documentation

◆ DispCallback

typedef DispItem *(* DispCallback) (void *)

Function Documentation

◆ DrawRectangle()

void DrawRectangle ( f32 x_min,
f32 y_min,
f32 w,
f32 h,
GXColor * color )

◆ DrawASCII()

f32 DrawASCII ( int chr,
float x,
float y,
GXColor * color )

◆ hsd_80391A04()

void hsd_80391A04 ( float scale_x,
float scale_y,
int line_width )

◆ hexval()

int hexval ( int ch)
inlinestatic

◆ hsd_80391AC8()

s32 hsd_80391AC8 ( char * str,
GXColor * color,
f32 x,
f32 y )

◆ hsd_80391E18()

void hsd_80391E18 ( u8 * list,
f32 x1,
f32 y1,
f32 x2,
f32 y2 )

◆ hsd_80391F28_calc_perp_and_begin()

void hsd_80391F28_calc_perp_and_begin ( f32 dy,
f32 dx,
f32 * perp_x,
f32 * perp_y )
inlinestatic

◆ hsd_80391F28_calc_tick4_y()

void hsd_80391F28_calc_tick4_y ( f32 perp_y,
f32 * tick4_y )
inlinestatic

◆ hsd_80391F28()

void hsd_80391F28 ( GXColor * color,
f32 x1,
f32 y1,
f32 x2,
f32 y2,
f32 count )

◆ hsd_80392194()

void hsd_80392194 ( u8 * dst,
s32 flags,
void * unused1,
void * unused2,
u8 * src )

◆ hsd_803921B8()

void hsd_803921B8 ( void * bitmap,
s32 x,
s32 y,
s32 dst,
s32 w,
s32 h,
s32 stride,
void * tbl )

◆ hsd_803922FC()

void hsd_803922FC ( void * bitmap,
s32 x,
s32 y,
s32 parity,
s32 dst,
s32 w,
s32 h,
s32 stride,
void * tbl )

◆ hsd_80392474()

void hsd_80392474 ( void )

◆ fn_80392480()

HSD_SList * fn_80392480 ( Event event,
int priority )

◆ hsd_80392528()

void hsd_80392528 ( Event event)

◆ hsd_8039254C()

void hsd_8039254C ( void )

◆ fn_80392934()

void fn_80392934 ( void )

◆ fn_80392A08()

void fn_80392A08 ( int mode,
int scale,
int enable )

◆ get_perf_disp_item()

PerfDispItem * get_perf_disp_item ( s32 count)
inlinestatic

◆ fn_80392A3C()

void * fn_80392A3C ( void )

Variable Documentation

◆ hsd_804CF810

struct ParticleScreenState hsd_804CF810
extern

◆ numPeakParticles

u16 numPeakParticles
static

◆ lbl_80408630

u8 lbl_80408630[0x268]
static

◆ lbl_804D6070

float lbl_804D6070 = 12.0F
static

◆ lbl_804D6074

float lbl_804D6074 = 12.0F
static

◆ lbl_804D6078

u8 lbl_804D6078 = 12
static

◆ lbl_80408898

GlyphEntry lbl_80408898[4]
extern

◆ lbl_804D6084

u32 lbl_804D6084
static

◆ lbl_804DE8E0

const u32 lbl_804DE8E0 = 0xFFFFFFFF
static

◆ lbl_804D6088

s32 lbl_804D6088 = 4
static

◆ lbl_804D608C

s32 lbl_804D608C = 1
static

◆ lbl_804D6090

s32 lbl_804D6090 = -1
static

◆ lbl_804D6094

s32 lbl_804D6094 = (s32) 0xFF0000FF
static

◆ lbl_804D6098

s32 lbl_804D6098 = 0x00FF00FF
static

◆ lbl_804D609C

s32 lbl_804D609C = 0x00FFFFFF
static

◆ lbl_804D60A0

s32 lbl_804D60A0 = 0x8080FF
static

◆ lbl_804D60A4

s32 lbl_804D60A4 = (s32) 0xC0C000FF
static