SSBM Decomp
Loading...
Searching...
No Matches
grpushon.c File Reference
#include "grpushon.h"
#include "placeholder.h"
#include "types.h"
#include <platform.h>
#include "cm/camera.h"
#include "ft/ftdevice.h"
#include "ft/ftlib.h"
#include "gr/forward.h"
#include "gr/granime.h"
#include "gr/grdisplay.h"
#include "gr/ground.h"
#include "gr/grzakogenerator.h"
#include "gr/inlines.h"
#include "gr/stage.h"
#include "lb/lb_00F9.h"
#include "lb/lbvector.h"
#include "lb/types.h"
#include "mp/mplib.h"
#include <math_ppc.h>
#include "sysdolphin/baselib/lobj.h"
#include <baselib/gobjgxlink.h>
#include <baselib/gobjproc.h>
#include <baselib/random.h>

Data Structures

struct  grPushOn_Entry
struct  grPushOn_Lookup
struct  grPushOn_LightConfig

Functions

void grPushOn_802182C4 (bool arg)
void grPushOn_802182C8 (void)
void grPushOn_80218330 (void)
void grPushOn_80218378 (void)
bool grPushOn_802183DC (void)
HSD_GObjgrPushOn_802183E4 (int gobj_id)
void grPushOn_802184CC (Ground_GObj *gobj)
bool grPushOn_80218590 (Ground_GObj *arg)
void grPushOn_80218598 (Ground_GObj *arg)
void grPushOn_8021859C (Ground_GObj *arg)
void grPushOn_802185A0 (Ground_GObj *gobj)
bool grPushOn_80218670 (Ground_GObj *arg)
bool fn_80218678 (void)
void grPushOn_802186C8 (Ground_GObj *gobj)
void grPushOn_802187A4 (Ground_GObj *arg)
void grPushOn_802187A8 (Ground_GObj *gobj)
bool grPushOn_80218880 (Ground_GObj *arg)
void grPushOn_80218ED0 (Ground_GObj *arg)
HSD_LObjgrPushOn_80218ED4 (HSD_GObj *gobj)
HSD_LObjgrPushOn_80218FC0 (HSD_GObj *gobj)
void fn_802190A0 (Ground *gp, s32 joint_id, CollData *coll, s32 unk, mpLib_GroundEnum ground_enum, f32 arg5)
 Ground collision callback for pushon stage elements.
void grPushOn_802190D0 (HSD_GObj *gobj)
void grPushOn_80219204 (int arg0, int *out1, int *out2)
int grPushOn_80219230 (int arg0)
void grPushOn_80218888 (Ground_GObj *arg0)
s32 fn_802192A4 (void *arg0, HSD_GObj *gobj, s32 *result)
DynamicsDescgrPushOn_80219458 (enum_t arg0)
bool grPushOn_80219528 (Vec3 *arg, int arg0, HSD_JObj *jobj)

Variables

Vec3 grPushOn_803B844C
struct { 
   s32   x0 
   DynamicsDesc *   x4 
   DynamicsDesc *   x8 
   DynamicsDesc *   xC 
   DynamicsDesc *   x10 
   DynamicsDesc *   x14 
   bool   x18 
   struct grPushOn_Entry   x1c [0x1E] 
   struct grPushOn_Lookup   x10c [0x21] 
} * grPushOn_804D6AB8
Vec3 grPushOn_803B8440
Vec3 grPushOn_803B8458
Vec3 grPushOn_803B8464
u8 grPushOn_804D4934
u8 grPushOn_804D4948
StageCallbacks grPushOn_803E7AC8 [3]
StageData grPushOn_803E7B10
HSD_LightDesc grPushOn_803E7B74
HSD_LightDesc grPushOn_803E7B90
static struct grPushOn_LightConfig light_configs [9]
f32 grPushOn_803E7CCC [13]

Function Documentation

◆ grPushOn_802182C4()

void grPushOn_802182C4 ( bool arg)

◆ grPushOn_802182C8()

void grPushOn_802182C8 ( void )

◆ grPushOn_80218330()

void grPushOn_80218330 ( void )

◆ grPushOn_80218378()

void grPushOn_80218378 ( void )

◆ grPushOn_802183DC()

bool grPushOn_802183DC ( void )

◆ grPushOn_802183E4()

HSD_GObj * grPushOn_802183E4 ( int gobj_id)

◆ grPushOn_802184CC()

void grPushOn_802184CC ( Ground_GObj * gobj)

◆ grPushOn_80218590()

bool grPushOn_80218590 ( Ground_GObj * arg)

◆ grPushOn_80218598()

void grPushOn_80218598 ( Ground_GObj * arg)

◆ grPushOn_8021859C()

void grPushOn_8021859C ( Ground_GObj * arg)

◆ grPushOn_802185A0()

void grPushOn_802185A0 ( Ground_GObj * gobj)

◆ grPushOn_80218670()

bool grPushOn_80218670 ( Ground_GObj * arg)

◆ fn_80218678()

bool fn_80218678 ( void )

◆ grPushOn_802186C8()

void grPushOn_802186C8 ( Ground_GObj * gobj)

◆ grPushOn_802187A4()

void grPushOn_802187A4 ( Ground_GObj * arg)

◆ grPushOn_802187A8()

void grPushOn_802187A8 ( Ground_GObj * gobj)

◆ grPushOn_80218880()

bool grPushOn_80218880 ( Ground_GObj * arg)

◆ grPushOn_80218ED0()

void grPushOn_80218ED0 ( Ground_GObj * arg)

◆ grPushOn_80218ED4()

HSD_LObj * grPushOn_80218ED4 ( HSD_GObj * gobj)

◆ grPushOn_80218FC0()

HSD_LObj * grPushOn_80218FC0 ( HSD_GObj * gobj)

◆ fn_802190A0()

void fn_802190A0 ( Ground * gp,
s32 joint_id,
CollData * coll,
s32 unk,
mpLib_GroundEnum ground_enum,
f32 arg5 )

Ground collision callback for pushon stage elements.

Activates push behavior when collision flags indicate contact (b1234 == 1).

◆ grPushOn_802190D0()

void grPushOn_802190D0 ( HSD_GObj * gobj)

◆ grPushOn_80219204()

void grPushOn_80219204 ( int arg0,
int * out1,
int * out2 )

◆ grPushOn_80219230()

int grPushOn_80219230 ( int arg0)

◆ grPushOn_80218888()

void grPushOn_80218888 ( Ground_GObj * arg0)

◆ fn_802192A4()

s32 fn_802192A4 ( void * arg0,
HSD_GObj * gobj,
s32 * result )

◆ grPushOn_80219458()

DynamicsDesc * grPushOn_80219458 ( enum_t arg0)

◆ grPushOn_80219528()

bool grPushOn_80219528 ( Vec3 * arg,
int arg0,
HSD_JObj * jobj )

Variable Documentation

◆ grPushOn_803B844C

Vec3 grPushOn_803B844C
extern

◆ x0

s32 x0

◆ x4

◆ x8

◆ xC

◆ x10

◆ x14

◆ x18

bool x18

◆ x1c

struct grPushOn_Entry x1c[0x1E]

◆ x10c

struct grPushOn_Lookup x10c[0x21]

◆ [struct]

struct { ... } * grPushOn_804D6AB8

◆ grPushOn_803B8440

Vec3 grPushOn_803B8440
extern

◆ grPushOn_803B8458

Vec3 grPushOn_803B8458
extern

◆ grPushOn_803B8464

Vec3 grPushOn_803B8464
extern

◆ grPushOn_804D4934

u8 grPushOn_804D4934
extern

◆ grPushOn_804D4948

u8 grPushOn_804D4948
extern

◆ grPushOn_803E7AC8

StageCallbacks grPushOn_803E7AC8[3]
Initial value:
= {
grPushOn_802187A4, 0xC0000000 },
}
void grPushOn_80218598(Ground_GObj *arg)
Definition grpushon.c:257
void grPushOn_802184CC(Ground_GObj *gobj)
Definition grpushon.c:229
void grPushOn_80218888(Ground_GObj *arg0)
Definition grpushon.c:477
void grPushOn_802185A0(Ground_GObj *gobj)
Definition grpushon.c:261
void grPushOn_802187A4(Ground_GObj *arg)
Definition grpushon.c:321
bool grPushOn_80218880(Ground_GObj *arg)
Definition grpushon.c:344
bool grPushOn_80218670(Ground_GObj *arg)
Definition grpushon.c:276
bool grPushOn_80218590(Ground_GObj *arg)
Definition grpushon.c:252
void grPushOn_8021859C(Ground_GObj *arg)
Definition grpushon.c:259
void grPushOn_802187A8(Ground_GObj *gobj)
Definition grpushon.c:323
void grPushOn_802186C8(Ground_GObj *gobj)
Definition grpushon.c:295
void grPushOn_80218ED0(Ground_GObj *arg)
Definition grpushon.c:350

◆ grPushOn_803E7B10

StageData grPushOn_803E7B10
Initial value:
= {
"/GrNPo.dat",
(1 << 0),
0,
}
StageCallbacks grPushOn_803E7AC8[3]
Definition grpushon.c:71
void grPushOn_802182C8(void)
Definition grpushon.c:98
void grPushOn_802182C4(bool arg)
Definition grpushon.c:96
bool grPushOn_802183DC(void)
Definition grpushon.c:137
bool grPushOn_80219528(Vec3 *arg, int arg0, HSD_JObj *jobj)
Definition grpushon.c:692
void grPushOn_80218330(void)
Definition grpushon.c:108
void grPushOn_80218378(void)
Definition grpushon.c:122
DynamicsDesc * grPushOn_80219458(enum_t arg0)
Definition grpushon.c:658
@ PUSHON
Definition forward.h:144
#define NULL
Definition stddef.h:19

◆ grPushOn_803E7B74

HSD_LightDesc grPushOn_803E7B74
Initial value:
= {
6,
0,
{ 0xFF, 0xFF, 0xFF, 0xFF },
}
u8 grPushOn_804D4934

◆ grPushOn_803E7B90

HSD_LightDesc grPushOn_803E7B90
Initial value:
= {
0xA,
0,
{ 0xFF, 0xFF, 0xFF, 0xFF },
}
u8 grPushOn_804D4948

◆ light_configs

struct grPushOn_LightConfig light_configs[9]
static

◆ grPushOn_803E7CCC

f32 grPushOn_803E7CCC[13]
Initial value:
= {
1441.428955078125F,
1645.62890625F,
340.57470703125F,
1306.4332275390625F,
1361.6331787109375F,
361.5741882324219F,
1193.4345703125F,
1268.634521484375F,
367.57391357421875F,
1121.16015625F,
1157.6820068359375F,
354.6068115234375F,
0.0F,
}