SSBM Decomp
Loading...
Searching...
No Matches
psdisp.c File Reference
#include "psdisp.h"
#include <math.h>
#include <dolphin/gx/GXAttr.h>

Data Structures

struct  psdisp_UnknownType001
 
struct  psdisp_UnknownType002
 

Functions

static void calcTornadoLastPos (HSD_Particle *, f32 *, f32 *, f32 *)
 
static void getColorPrimEnv (HSD_Particle *, GXColor *, GXColor *)
 
static void getColorMatAmb (HSD_Particle *, GXColor *, GXColor *)
 
void setVtxDesc (s32 fmt)
 

Variables

f32 HSD_PSDisp_803B9628 [12]
 
psdisp_UnknownType001 HSD_PSDisp_8040C300
 
psdisp_UnknownType002 HSD_PSDisp_8040C360
 
u8 HSD_PSDisp_804D6380 [2]
 
u8 HSD_PSDisp_804D6384 [2]
 
s32 HSD_PSDisp_804D7908
 
s32 HSD_PSDisp_804D790C
 
s32 HSD_PSDisp_804D7910
 
f32 HSD_PSDisp_804D7914
 
f32 HSD_PSDisp_804D7918
 
f32 HSD_PSDisp_804D791C
 
f32 HSD_PSDisp_804D7920
 
f32 HSD_PSDisp_804D7924
 
f32 HSD_PSDisp_804D7928
 
s32 HSD_PSDisp_804D792C
 
s32 HSD_PSDisp_804D7930
 
UNK_T HSD_PSDisp_804D7934
 
UNK_T HSD_PSDisp_804D7938
 
UNK_T HSD_PSDisp_804D793C
 
UNK_T HSD_PSDisp_804D7940
 
UNK_T HSD_PSDisp_804D7944
 
s32 HSD_PSDisp_804D7948
 

Function Documentation

◆ calcTornadoLastPos()

static void calcTornadoLastPos ( HSD_Particle *  pp,
f32 x,
f32 y,
f32 z 
)
static
Bug:
The following should be accessing pp not gp

◆ getColorPrimEnv()

static void getColorPrimEnv ( HSD_Particle *  pp,
GXColor primCol,
GXColor envCol 
)
static

◆ getColorMatAmb()

static void getColorMatAmb ( HSD_Particle *  pp,
GXColor matCol,
GXColor ambCol 
)
static

◆ setVtxDesc()

void setVtxDesc ( s32  fmt)

Variable Documentation

◆ HSD_PSDisp_803B9628

f32 HSD_PSDisp_803B9628[12]
extern

◆ HSD_PSDisp_8040C300

psdisp_UnknownType001 HSD_PSDisp_8040C300
extern

◆ HSD_PSDisp_8040C360

psdisp_UnknownType002 HSD_PSDisp_8040C360
extern

◆ HSD_PSDisp_804D6380

u8 HSD_PSDisp_804D6380[2]
extern

◆ HSD_PSDisp_804D6384

u8 HSD_PSDisp_804D6384[2]
extern

◆ HSD_PSDisp_804D7908

s32 HSD_PSDisp_804D7908
extern

◆ HSD_PSDisp_804D790C

s32 HSD_PSDisp_804D790C
extern

◆ HSD_PSDisp_804D7910

s32 HSD_PSDisp_804D7910
extern

◆ HSD_PSDisp_804D7914

f32 HSD_PSDisp_804D7914
extern

◆ HSD_PSDisp_804D7918

f32 HSD_PSDisp_804D7918
extern

◆ HSD_PSDisp_804D791C

f32 HSD_PSDisp_804D791C
extern

◆ HSD_PSDisp_804D7920

f32 HSD_PSDisp_804D7920
extern

◆ HSD_PSDisp_804D7924

f32 HSD_PSDisp_804D7924
extern

◆ HSD_PSDisp_804D7928

f32 HSD_PSDisp_804D7928
extern

◆ HSD_PSDisp_804D792C

s32 HSD_PSDisp_804D792C
extern

◆ HSD_PSDisp_804D7930

s32 HSD_PSDisp_804D7930
extern

◆ HSD_PSDisp_804D7934

UNK_T HSD_PSDisp_804D7934
extern

◆ HSD_PSDisp_804D7938

UNK_T HSD_PSDisp_804D7938
extern

◆ HSD_PSDisp_804D793C

UNK_T HSD_PSDisp_804D793C
extern

◆ HSD_PSDisp_804D7940

UNK_T HSD_PSDisp_804D7940
extern

◆ HSD_PSDisp_804D7944

UNK_T HSD_PSDisp_804D7944
extern

◆ HSD_PSDisp_804D7948

s32 HSD_PSDisp_804D7948
extern