|
SSBM Decomp
|
#include "lb_00F9.static.h"#include "math.h"#include "math_ppc.h"#include "stdarg.h"#include "stddef.h"#include "baselib/debug.h"#include "baselib/displayfunc.h"#include "baselib/psstructs.h"#include "baselib/rumble.h"#include "baselib/tobj.h"#include "dolphin/gx/GXCull.h"#include "dolphin/gx/GXGeometry.h"#include "dolphin/gx/GXLighting.h"#include "dolphin/gx/GXPixel.h"#include "dolphin/gx/GXTev.h"#include "dolphin/gx/GXTexture.h"#include "dolphin/gx/GXTransform.h"#include "dolphin/gx/GXVert.h"#include "dolphin/pad.h"#include "lb/forward.h"#include "lb/lbarchive.h"#include "lb/lbcollision.h"#include "lb/lbcommand.h"#include "lb/lbdvd.h"#include "lb/lbvector.h"#include "lb/types.h"#include <baselib/cobj.h>#include <baselib/dobj.h>#include <baselib/gobj.h>#include <baselib/gobjgxlink.h>#include <baselib/gobjobject.h>#include <baselib/gobjuserdata.h>#include <baselib/jobj.h>#include <baselib/lobj.h>#include <baselib/memory.h>#include <baselib/quatlib.h>#include <baselib/state.h>#include <baselib/tev.h>#include <melee/mp/mplib.h>#include <melee/sc/types.h>#include <MSL/trigf.h>Data Structures | |
| struct | lb_Collider |
Typedefs | |
| typedef bool(* | lb_803BA248_fn) (ColorOverlay *) |
Functions | |
| static bool | checkJObjFlags (HSD_JObj *jobj) |
| void | lb_8000F9F8 (HSD_JObj *jobj) |
| void | lb_8000FA94 (void) |
| void | lb_8000FCDC (void) |
| void | lb_8000FD18 (DynamicsDesc *desc) |
| void | lb_8000FD48 (HSD_JObj *jobj, DynamicsDesc *desc, size_t max_count) |
| static struct lb_80011A50_t * | inlineA0 (void) |
| static struct lb_80011A50_t * | inlineA1 (void) |
| struct lb_80011A50_t * | lb_800100B0 (struct lb_80011A50_t *arg0, f32 arg1) |
| void | lb_800101C8 (Vec3 *arg0, Vec3 *arg1) |
| float | lb_800103B8 (Vec3 *a, Vec3 *b) |
| bool | lb_800103D8 (Vec3 *vec, float x0, float x1, float x2, float x3, float offset) |
| void | lb_8001044C (DynamicsDesc *desc, void *colliders_raw, int num_colliders, float pos_y, bool use_floor_fn, Fighter_Part part, int first_active, bool ground_check) |
| static double | inlineB0 (void) |
| void | lb_800115F4 (void) |
| void | lb_80011710 (DynamicsDesc *arg0, DynamicsDesc *arg1) |
| bool | lb_800117F4 (DynamicsDesc *arg0, GXColor *arg1, GXColor *arg2, int arg3, u32 arg4) |
| void | lb_800119DC (Vec3 *arg0, int arg1, float arg2, float arg3, float arg4) |
| AestheticWindEffect(r3=sourcelocation,r4=duration,f1=radiusSize,f2=effectdegradation,f3=unk) | |
| struct lb_80011A50_t * | lb_80011A50 (Vec3 *arg0, int arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8) |
| enum_t | lb_80011ABC (void) |
| HSD_LObj * | lb_80011AC4 (LightList **list) |
| void | lb_80011B74 (HSD_DObj *dobj, u32 flags) |
| void | lb_80011C18 (HSD_JObj *jobj, u32 flags) |
| int | lb_80011E24 (HSD_JObj *root, HSD_JObj **result,...) |
| int | lb_8001204C (HSD_JObj *root, HSD_JObj **result, u16 *indices, int count) |
| static void * | setImageFromPreloadedArchive (HSD_ImageDesc *image_desc, s16 entry_num) |
| HSD_ImageDesc * | lb_800121FC (HSD_ImageDesc *image_desc, int width, int height, GXTexFmt format, s16 entry_num) |
| void | lb_800122C8 (HSD_ImageDesc *image_desc, u16 origx, u16 origy, bool clear) |
| HSD_ImageDescCopyFromEFB wrapper | |
| void | lb_800122F0 (HSD_ImageDesc *img, GXTexObj *tex, f32 factor) |
| void | lb_8001271C (GXTexObj *arg0, float x0, float arg2, float tex_width, float tex_height, float scale_x, float scale_y) |
| void | lb_8001285C (HSD_ImageDesc *image_desc, GXTexObj *tex_obj) |
| void | lb_80012994 (HSD_ImageDesc *img, u8 alpha, u8 blur_size, f32 x, f32 y, f32 scale_x, f32 scale_y, f32 color_factor) |
| void | fn_80013614 (HSD_GObj *gobj) |
| void | fn_800138AC (void *ptr) |
| HSD_Free wrapper | |
| void | lb_800138CC (HSD_GObj *gobj, HSD_GObjEvent arg1) |
| void | lb_800138D8 (HSD_GObj *gobj, s8 arg1) |
| void | lb_800138EC (s32 arg0, GObj_RenderFunc render_func, u32 arg2, s8 arg3, f32 x, f32 y, f32 w, f32 h) |
| HSD_CObj * | lb_80013B14 (HSD_CameraDescPerspective *desc) |
| bool | lb_80013BB0 (ColorOverlay *arg) |
| bool | lb_80013BB8 (ColorOverlay *arg0) |
| bool | lb_80013BE4 (ColorOverlay *arg0) |
| bool | lb_80013C18 (ColorOverlay *arg0) |
| bool | lb_80013D68 (ColorOverlay *arg0) |
| bool | lb_80013E3C (ColorOverlay *arg0) |
| bool | lb_80013F78 (ColorOverlay *arg0) |
| Copy light rotation from ColorOverlay::x8_ptr1. | |
| bool | lb_80013FF0 (ColorOverlay *arg0) |
| bool | lb_80014014 (ColorOverlay *arg0) |
| bool | lb_800140F8 (ColorOverlay *arg0) |
| bool | lb_80014234 (ColorOverlay *arg0) |
| bool | lb_80014258 (HSD_GObj *gobj, void *arg1, FtCmd2 cmd) |
| void | lb_80014498 (ColorOverlay *arg0) |
| bool | lb_800144C8 (ColorOverlay *arg0, Fighter_804D653C_t *arg1, int arg2, int arg3) |
| void | lb_80014534 (void) |
| void | lb_80014574 (u8 arg0, int arg1, int arg2, int arg3) |
| void | lb_800145C0 (u8 slot) |
| Reset pad rumble. | |
| void | lb_800145F4 (void) |
| static float | inlineC0 (Vec3 *a, Vec3 *b, Vec3 *c) |
| bool | lb_80014638 (struct lb_80014638_arg0_t *arg0, struct lb_80014638_arg1_t *arg1) |
| bool | lb_80014770 (Vec3 *arg0, int arg1) |
| bool | lb_800149E0 (Mtx arg0, u32 arg1) |
Variables | ||
| struct { | ||
| Vec3 v0 | ||
| Vec3 v1 | ||
| Vec3 v2 | ||
| f32 pad | ||
| } | lb_803B7280 | |
| lb_803BA248_fn | lb_803BA248 [] | |
| struct { | ||
| u8 pad_0 [0x28] | ||
| HSD_Chan chan0 | ||
| HSD_Chan chan1 | ||
| } | lb_803BA1C0 | |
| static Vec3 | lb_803B72A8 = { 0.0F, 0.0F, 1.0F } | |
| static Vec3 | lb_803B72B4 = { 0.0F, 0.0F, 0.0F } | |
| typedef bool(* lb_803BA248_fn) (ColorOverlay *) |
| void lb_8000F9F8 | ( | HSD_JObj * | jobj | ) |
| void lb_8000FA94 | ( | void | ) |
| void lb_8000FCDC | ( | void | ) |
| void lb_8000FD18 | ( | DynamicsDesc * | desc | ) |
| void lb_8000FD48 | ( | HSD_JObj * | jobj, |
| DynamicsDesc * | desc, | ||
| size_t | max_count | ||
| ) |
|
inlinestatic |
|
inlinestatic |
| struct lb_80011A50_t * lb_800100B0 | ( | struct lb_80011A50_t * | arg0, |
| f32 | arg1 | ||
| ) |
| void lb_800101C8 | ( | Vec3 * | arg0, |
| Vec3 * | arg1 | ||
| ) |
| float lb_800103B8 | ( | Vec3 * | a, |
| Vec3 * | b | ||
| ) |
| bool lb_800103D8 | ( | Vec3 * | vec, |
| float | x0, | ||
| float | x1, | ||
| float | x2, | ||
| float | x3, | ||
| float | offset | ||
| ) |
| void lb_8001044C | ( | DynamicsDesc * | desc, |
| void * | colliders_raw, | ||
| int | num_colliders, | ||
| float | pos_y, | ||
| bool | use_floor_fn, | ||
| Fighter_Part | part, | ||
| int | first_active, | ||
| bool | ground_check | ||
| ) |
|
inlinestatic |
| void lb_800115F4 | ( | void | ) |
| void lb_80011710 | ( | DynamicsDesc * | arg0, |
| DynamicsDesc * | arg1 | ||
| ) |
| bool lb_800117F4 | ( | DynamicsDesc * | arg0, |
| GXColor * | arg1, | ||
| GXColor * | arg2, | ||
| int | arg3, | ||
| u32 | arg4 | ||
| ) |
| void lb_800119DC | ( | Vec3 * | arg0, |
| int | arg1, | ||
| float | arg2, | ||
| float | arg3, | ||
| float | arg4 | ||
| ) |
AestheticWindEffect(r3=sourcelocation,r4=duration,f1=radiusSize,f2=effectdegradation,f3=unk)
| struct lb_80011A50_t * lb_80011A50 | ( | Vec3 * | arg0, |
| int | arg1, | ||
| float | arg2, | ||
| float | arg3, | ||
| float | arg4, | ||
| float | arg5, | ||
| float | arg6, | ||
| float | arg7, | ||
| float | arg8 | ||
| ) |
| enum_t lb_80011ABC | ( | void | ) |
| void lb_80011B74 | ( | HSD_DObj * | dobj, |
| u32 | flags | ||
| ) |
| void lb_80011C18 | ( | HSD_JObj * | jobj, |
| u32 | flags | ||
| ) |
|
static |
| HSD_ImageDesc * lb_800121FC | ( | HSD_ImageDesc * | image_desc, |
| int | width, | ||
| int | height, | ||
| GXTexFmt | format, | ||
| s16 | entry_num | ||
| ) |
| void lb_800122C8 | ( | HSD_ImageDesc * | image_desc, |
| u16 | origx, | ||
| u16 | origy, | ||
| bool | clear | ||
| ) |
HSD_ImageDescCopyFromEFB wrapper
| void lb_800122F0 | ( | HSD_ImageDesc * | img, |
| GXTexObj * | tex, | ||
| f32 | factor | ||
| ) |
| void lb_8001271C | ( | GXTexObj * | arg0, |
| float | x0, | ||
| float | arg2, | ||
| float | tex_width, | ||
| float | tex_height, | ||
| float | scale_x, | ||
| float | scale_y | ||
| ) |
| void lb_8001285C | ( | HSD_ImageDesc * | image_desc, |
| GXTexObj * | tex_obj | ||
| ) |
| void lb_80012994 | ( | HSD_ImageDesc * | img, |
| u8 | alpha, | ||
| u8 | blur_size, | ||
| f32 | x, | ||
| f32 | y, | ||
| f32 | scale_x, | ||
| f32 | scale_y, | ||
| f32 | color_factor | ||
| ) |
| void fn_80013614 | ( | HSD_GObj * | gobj | ) |
| void fn_800138AC | ( | void * | ptr | ) |
HSD_Free wrapper
| void lb_800138CC | ( | HSD_GObj * | gobj, |
| HSD_GObjEvent | arg1 | ||
| ) |
| void lb_800138EC | ( | s32 | arg0, |
| GObj_RenderFunc | render_func, | ||
| u32 | arg2, | ||
| s8 | arg3, | ||
| f32 | x, | ||
| f32 | y, | ||
| f32 | w, | ||
| f32 | h | ||
| ) |
| HSD_CObj * lb_80013B14 | ( | HSD_CameraDescPerspective * | desc | ) |
| bool lb_80013BB0 | ( | ColorOverlay * | arg | ) |
| bool lb_80013BB8 | ( | ColorOverlay * | arg0 | ) |
| bool lb_80013BE4 | ( | ColorOverlay * | arg0 | ) |
| bool lb_80013C18 | ( | ColorOverlay * | arg0 | ) |
| bool lb_80013D68 | ( | ColorOverlay * | arg0 | ) |
| bool lb_80013E3C | ( | ColorOverlay * | arg0 | ) |
| bool lb_80013F78 | ( | ColorOverlay * | arg0 | ) |
Copy light rotation from ColorOverlay::x8_ptr1.
| bool lb_80013FF0 | ( | ColorOverlay * | arg0 | ) |
| bool lb_80014014 | ( | ColorOverlay * | arg0 | ) |
| bool lb_800140F8 | ( | ColorOverlay * | arg0 | ) |
| bool lb_80014234 | ( | ColorOverlay * | arg0 | ) |
| void lb_80014498 | ( | ColorOverlay * | arg0 | ) |
| bool lb_800144C8 | ( | ColorOverlay * | arg0, |
| Fighter_804D653C_t * | arg1, | ||
| int | arg2, | ||
| int | arg3 | ||
| ) |
| void lb_80014534 | ( | void | ) |
| void lb_80014574 | ( | u8 | arg0, |
| int | arg1, | ||
| int | arg2, | ||
| int | arg3 | ||
| ) |
| void lb_800145C0 | ( | u8 | slot | ) |
Reset pad rumble.
| void lb_800145F4 | ( | void | ) |
|
inlinestatic |
| bool lb_80014638 | ( | struct lb_80014638_arg0_t * | arg0, |
| struct lb_80014638_arg1_t * | arg1 | ||
| ) |
| bool lb_80014770 | ( | Vec3 * | arg0, |
| int | arg1 | ||
| ) |
| bool lb_800149E0 | ( | Mtx | arg0, |
| u32 | arg1 | ||
| ) |
| Vec3 v0 |
| Vec3 v1 |
| Vec3 v2 |
| f32 pad |
| const struct { ... } lb_803B7280 |
| lb_803BA248_fn lb_803BA248[] |
| u8 pad_0[0x28] |
| HSD_Chan chan0 |
| HSD_Chan chan1 |
| struct { ... } lb_803BA1C0 |
|
static |
|
static |