|
#define | MAX_GD_DLS 1000 |
|
#define | OS_MESG_SI_COMPLETE 0x33333333 |
|
#define | GD_VIRTUAL_TO_PHYSICAL(addr) ((uintptr_t)(addr) &0x0FFFFFFF) |
|
#define | GD_LOWER_24(addr) ((uintptr_t)(addr) &0x00FFFFFF) |
|
#define | GD_LOWER_29(addr) (((uintptr_t)(addr)) & 0x1FFFFFFF) |
|
#define | MTX_INTPART_PACK(w1, w2) (((w1) &0xFFFF0000) | (((w2) >> 16) & 0xFFFF)) |
|
#define | MTX_FRACPART_PACK(w1, w2) ((((w1) << 16) & 0xFFFF0000) | ((w2) &0xFFFF)) |
|
#define | LOOKAT_PACK(c) ((s32) MIN(((c) * (128.0)), 127.0) & 0xff) |
|
#define | FILL_RGBA5551(r, g, b, a) ((GPACK_RGBA5551((r), (g), (b), (a)) << 16) | (GPACK_RGBA5551((r), (g), (b), (a)))) |
|
#define | DL_CURRENT_VTX(dl) ((dl)->vtx[(dl)->curVtxIdx]) |
|
#define | DL_CURRENT_MTX(dl) ((dl)->mtx[(dl)->curMtxIdx]) |
|
#define | DL_CURRENT_LIGHT(dl) ((dl)->light[(dl)->curLightIdx]) |
|
#define | DL_LIGHT_IDX(dl, idx) ((dl)->unk20[(idx)]) |
|
#define | DL_CURRENT_GFX(dl) ((dl)->gfx[(dl)->curGfxIdx]) |
|
#define | DL_CURRENT_VP(dl) ((dl)->vp[(dl)->curVpIdx]) |
|
|
u32 | new_gddl_from (Gfx *, s32) |
|
void | gd_setup_cursor (struct ObjGroup *) |
|
void | parse_p1_controller (void) |
|
void | update_cursor (void) |
|
void | update_view_and_dl (struct ObjView *) |
|
void | func_801A1A00 (void) |
|
void | func_801A2388 (s32) |
|
void | func_801A3370 (f32, f32, f32) |
|
void | gd_put_sprite (u16 *, s32, s32, s32, s32) |
|
void | reset_cur_dl_indices (void) |
|
u32 | get_alloc_mem_amt (void) |
|
s32 | gd_get_ostime (void) |
|
f32 | get_time_scale (void) |
|
void | dump_disp_list (void) |
|
Gfx * | next_gfx (void) |
|
Lights4 * | next_light (void) |
|
Mtx * | next_mtx (void) |
|
Vtx * | next_vtx (void) |
|
Vp * | next_vp (void) |
|
f64 | gd_sin_d (f64 x) |
|
f64 | gd_cos_d (f64 x) |
|
f64 | gd_sqrt_d (f64 x) |
|
f64 | Unknown8019B3D4 (UNUSED f64 x) |
|
void | gd_printf (const char *format,...) |
|
void | gd_exit (UNUSED s32 code) |
|
void | gd_free (void *ptr) |
|
void * | gd_allocblock (u32 size) |
|
void * | gd_malloc (u32 size, u8 perm) |
|
void * | gd_malloc_perm (u32 size) |
|
void * | gd_malloc_temp (u32 size) |
|
void * | Unknown8019BC88 (u32 size, u32 count) |
|
void * | Unknown8019BCD4 (u32 size) |
|
void | func_8019BD0C (s32 dlNum, s32 gfxIdx) |
|
void | branch_cur_dl_to_num (s32 dlNum) |
|
Gfx * | Unknown8019BE40 (s32 num) |
|
void | setup_stars (void) |
|
void | setup_timers (void) |
|
void | Unknown8019C270 (u8 *buf) |
|
void | Unknown8019C288 (s32 stickX, s32 stickY) |
|
void | gd_add_to_heap (void *addr, u32 size) |
|
void | gdm_init (void *blockpool, u32 size) |
|
void | gdm_setup (void) |
|
void | Unknown8019C448 (UNUSED u32 a0) |
|
void | print_gdm_stats (void) |
|
struct ObjView * | make_view_withgrp (char *name, struct ObjGroup *grp) |
|
void | gdm_maketestdl (s32 id) |
|
void | set_time_scale (f32 factor) |
|
void | Unknown8019C840 (void) |
|
void | gd_vblank (void) |
|
void | gd_copy_p1_contpad (OSContPad *p1cont) |
|
s32 | gd_sfx_to_play (void) |
|
void * | gdm_gettestdl (s32 id) |
|
void | gdm_getpos (s32 id, struct GdVec3f *dst) |
|
void | bound_on_active_view (f32 *x, f32 *y) |
|
void | fatal_no_dl_mem (void) |
|
struct GdDisplayList * | alloc_displaylist (u32 id) |
|
void | cpy_remaining_gddl (struct GdDisplayList *dst, struct GdDisplayList *src) |
|
struct GdDisplayList * | create_child_gdl (s32 id, struct GdDisplayList *srcDl) |
|
struct GdDisplayList * | new_gd_dl (s32 id, s32 gfxs, s32 verts, s32 mtxs, s32 lights, s32 vps) |
|
void | gd_init_RSP (void) |
|
void | gd_init_RDP (void) |
|
void | gd_draw_rect (f32 ulx, f32 uly, f32 lrx, f32 lry) |
|
void | gd_draw_border_rect (f32 ulx, f32 uly, f32 lrx, f32 lry) |
|
void | gd_set_fill (struct GdColour *colour) |
|
void | gd_set_view_zbuf (void) |
|
void | gd_set_view_framebuf (void) |
|
void | reset_dlnum_indices (s32 num) |
|
void | stash_current_gddl (void) |
|
void | pop_gddl_stash (void) |
|
s32 | gd_startdisplist (s32 memarea) |
|
void | gd_enddisplist (void) |
|
s32 | gd_end_dl (void) |
|
void | Unknown8019EBCC (s32 num, uintptr_t gfxptr) |
|
u32 | new_gddl_from (Gfx *dl, UNUSED s32 arg1) |
|
u32 | Unknown8019EC88 (Gfx *dl, UNUSED s32 arg1) |
|
void | mat4_to_Mtx (const Mat4f *src, Mtx *dst) |
|
void | add_mat4_to_dl (Mat4f *mtx) |
|
void | add_mat4_load_to_dl (Mat4f *mtx) |
|
void | Unknown8019EFC0 (void) |
|
void | push_idn_mtx_cur_gddl (void) |
|
void | pop_mtx_gddl (void) |
|
void | translate_mtx_gddl (f32 x, f32 y, f32 z) |
|
void | translate_load_mtx_gddl (f32 x, f32 y, f32 z) |
|
void | func_8019F258 (f32 x, f32 y, f32 z) |
|
void | func_8019F2C4 (f32 arg0, s8 arg1) |
|
void | func_8019F318 (struct ObjCamera *cam, f32 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5, f32 arg6, f32 arg7) |
|
void | check_tri_display (s32 vtxcount) |
|
Vtx * | make_Vtx_if_new (f32 x, f32 y, f32 z, f32 alpha) |
|
void | func_8019FEF0 (void) |
|
void | add_tri_to_dl (f32 x1, f32 y1, f32 z1, f32 x2, f32 y2, f32 z2, f32 x3, f32 y3, f32 z3) |
|
void | func_801A0038 (void) |
|
void | func_801A0070 (void) |
|
void | func_801A01EC (void) |
|
void | func_801A025C (void) |
|
void | func_801A02B8 (f32 arg0) |
|
void | func_801A0324 (s32 arg0) |
|
void | set_light_num (s32 n) |
|
s32 | create_mtl_gddl (UNUSED s32 mtlType) |
|
void | branch_to_gddl (s32 dlNum) |
|
void | func_801A0478 (s32 idx, struct ObjCamera *cam, UNUSED struct GdVec3f *arg2, UNUSED struct GdVec3f *arg3, struct GdVec3f *arg4, struct GdColour *colour) |
|
s32 | func_801A086C (s32 id, struct GdColour *colour, s32 arg2) |
|
void | set_Vtx_norm_buf_1 (struct GdVec3f *norm) |
|
void | set_Vtx_norm_buf_2 (struct GdVec3f *norm) |
|
void | set_gd_mtx_parameters (s32 paramType) |
|
void | func_801A180C (void) |
|
void | Unknown801A1B30 (void) |
|
void | Unknown801A1E70 (void) |
|
void | gd_set_one_cycle (void) |
|
void | Unknown801A2360 (void) |
|
void | func_801A2374 (UNUSED s32 arg0) |
|
void | start_view_dl (struct ObjView *view) |
|
void | Unknown801A324C (f32 arg0) |
|
void | Unknown801A32F4 (s32 arg0) |
|
void | func_801A3324 (f32 x, f32 y, f32 z) |
|
void | Unknown801A33F8 (f32 x, f32 y, f32 z) |
|
void | Unknown801A347C (f32 x, f32 y, f32 z) |
|
void | border_active_view (void) |
|
void | gd_shading (s32 model) |
|
s32 | gd_getproperty (s32 prop, UNUSED void *arg1) |
|
void | gd_setproperty (enum GdProperty prop, f32 f1, f32 f2, f32 f3) |
|
void | stub_801A3AE0 (void) |
|
void | func_801A3AF0 (f32 l, f32 r, f32 b, f32 t, f32 n, f32 f) |
|
void | func_801A3C8C (f32 fovy, f32 aspect, f32 near, f32 far) |
|
s32 | setup_view_buffers (const char *name, struct ObjView *view, UNUSED s32 ulx, UNUSED s32 uly, UNUSED s32 lrx, UNUSED s32 lry) |
|
void | gd_init_controllers (void) |
|
void | Proc801A43DC (UNUSED struct GdObj *obj) |
|
void * | func_801A43F0 (UNUSED const char *menufmt,...) |
|
void | Proc801A4410 (UNUSED void *arg0) |
|
void | Proc801A4424 (UNUSED void *arg0) |
|
void | func_801A4438 (f32 arg0, f32 arg1, f32 arg2) |
|
s32 | gd_gentexture (void *texture, s32 fmt, s32 size, UNUSED u32 arg3, UNUSED u32 arg4) |
|
void * | Unknown801A45E4 (const char *file, s32 fmt, s32 size, u32 arg3, u32 arg4) |
|
void | Unknown801A47B8 (struct ObjView *v) |
|
void | stub_801A47DC (void) |
|
void | Unknown801A47F4 (UNUSED u32 arg0) |
|
void | func_801A4808 (void) |
|
void | func_801A4848 (s32 linkDl) |
|
void | func_801A48B4 (void) |
|
void | func_801A48C4 (UNUSED u32 arg0) |
|
void | func_801A48D8 (UNUSED char *s) |
|
void | set_active_view (struct ObjView *v) |
|
void | stub_801A4908 (void) |
|
void | func_801A4918 (void) |
|
void | Unknown801A4B04 (void) |
|
void | Unknown801A4F58 (void) |
|
void | Proc801A5110 (struct ObjView *view) |
|
void | func_801A520C (void) |
|
void | Unknown801A5344 (void) |
|
void | gd_init (void) |
|
void | Unknown801A5910 (char *arg0, s32 len) |
|
void | func_801A5998 (UNUSED s8 *arg0) |
|
void | func_801A59AC (UNUSED void *arg0) |
|
void | func_801A59C0 (UNUSED s8 *arg0) |
|
void | init_pick_buf (s16 *buf, s32 len) |
|
void | store_in_pickbuf (s16 data) |
|
s32 | get_cur_pickbuf_offset (UNUSED s16 *arg0) |
|
void | Unknown801A5A80 (UNUSED u32 arg0) |
|
void | Unknown801A5A94 (UNUSED u32 arg0) |
|
void | stub_801A5AA8 (void) |
|
void * | Unknown801A5AB8 (s32 texnum) |
|
void | Unknown801A5AE0 (s32 arg0) |
|
void | set_Vtx_tc_buf (f32 tcS, f32 tcT) |
|
void | func_801A5BE8 (struct ObjView *view) |
|
union ObjVarVal * | cvrt_val_to_kb (union ObjVarVal *dst, union ObjVarVal src) |
|
void | Unknown801A5C80 (struct ObjGroup *parentGroup) |
|
void | Unknown801A5D90 (struct ObjGroup *arg0) |
|
void | Unknown801A5FF8 (struct ObjGroup *arg0) |
|
void | view_proc_print_timers (struct ObjView *self) |
| 254F94 -> 254FE4; orig name: Proc801A67C4 This prints all timers if the view was not updated for a frame More...
|
|
void | make_timer_gadgets (void) |
|
void | Unknown801A6E30 (UNUSED u32 a0) |
|
void | Unknown801A6E44 (UNUSED u32 a0) |
|
void | gd_block_dma (u32 devAddr, void *vAddr, s32 size) |
|
struct GdObj * | load_dynlist (struct DynList *dynlist) |
|
void | stub_801A71B8 (UNUSED u32 a0) |
|
void | func_801A71CC (struct ObjNet *net) |
|
void | stub_801A76E0 (void) |
|