SSBM Decomp
|
#include <platform.h>
#include "baselib/forward.h"
#include <dolphin/gx/forward.h>
#include "baselib/archive.h"
#include "baselib/jobj.h"
#include <dolphin/gx/GXEnum.h>
#include <dolphin/gx/types.h>
#include <dolphin/mtx/types.h>
Go to the source code of this file.
Data Structures | |
struct | HSD_PSTexGroup |
struct | HSD_PSFormGroup |
struct | HSD_PSCmdList |
struct | HSD_psAppSRT |
struct | HSD_Particle |
struct | HSD_PSUserFunc |
struct | auxDisc |
struct | auxLine |
struct | auxTornado |
struct | auxRect |
struct | auxCone |
struct | auxSphere |
struct | HSD_Generator |
Macros | |
#define | PS_TEXDIRECTION |
Enumerations | |
enum | HSD_ParticleKind { Tornado = 1 << 2 , TexEdge = 1 << 3 , ComTLUT = 1 << 4 , MirrorS = 1 << 5 , MirrorT = 1 << 6 , PrimEnv = 1 << 7 , TexInterpNear = 1 << 9 , DispTexture = 1 << 10 , TexFlipS = 1 << 18 , TexFlipT = 1 << 19 , Trail = 1 << 20 , DirVec = 1 << 21 , DispFog = 1 << 24 , NoZComp = 1 << 28 , DispPoint = 1 << 30 , DispLighting = 1 << 31 } |
Functions | |
void | psSetFog (struct HSD_Fog *fog) |
void | psRemoveFog (void) |
static void | setBlendMode (int blendmode) |
static void | setupChanCtrl (struct _particle *pp) |
static void | setupChanReg (struct _particle *pp) |
static void | getClrTrail (struct _particle *pp, GXColor *col) |
static void | setupTevReg (struct _particle *pp) |
static void | psSetCurrentMtx (GXPosNrmMtx idx) |
static struct _particle * | psDispSubPoint (struct _particle *pp) |
static struct _particle * | psDispSubPointTrail (struct _particle *pp) |
static void | psDispSubMakePolygon (struct _particle *pp, u8 *texform, float x, float y, float z, float ppvx, float ppvy, float ppvz, float x0, float y0, float z0, float x1, float y1, float z1) |
static void | psDispSub (struct _particle *pp, u8 *texform) |
void | psInitDataBank (int bank, int *cmdBank, int *texBank, u32 *ref, int *formBank) |
void | psInitParticle (int num) |
void | psRemoveParticle (void) |
HSD_Particle * | psGenerateParticle0 (HSD_Particle *p, int linkNo, int bank, u32 kind, u16 texGroup, u8 *list, int life, float x, float y, float z, float vx, float vy, float vz, float size, float grav, float fric, int palflag, struct _generator *gp, int flgInterpret) |
HSD_Particle * | psGenerateParticleID0 (HSD_Particle *p, int linkNo, int bank, int id, int flgInterpret) |
HSD_Particle * | psGenerateParticle (int linkNo, int bank, u32 kind, u16 texGroup, u8 *list, int life, float x, float y, float z, float vx, float vy, float vz, float size, float grav, float fric, int palflag, struct _generator *gp) |
HSD_Particle * | psGenerateParticleIDPV (int linkNo, int bank, int id, float px, float py, float pz, float vx, float vy, float vz) |
HSD_Particle * | psGenerateParticleID (int linkNo, int bank, int id) |
HSD_Particle * | psGenerateParticleIDN (int linkNo, int bank, int id) |
void | psKillParticle (HSD_Particle *pp) |
void | psKillAllParticle (void) |
void | psSetPointJObj (int no, HSD_JObj *jobj) |
void | psSetPointJObjNodup (HSD_JObj *jobj, int no) |
void | psClearPointJObj (void) |
void | psDeletePntJObjwithParticle (HSD_Particle *pp) |
void | psKillFamily (u16 idnum, int linkNo) |
void | psKillGeneratorChild (struct _generator *gp) |
void | psAddOffsetAll (float xofs, float yofs, float zofs) |
void | psPauseFamily (u16 idnum, int linkNo) |
void | psRestartFamily (u16 idnum, int linkNo) |
void | psSetCallback (int(**callback)(HSD_Particle *part)) |
void | psSetUserFunc (struct _generator *gp, HSD_PSUserFunc *userfunc) |
static void | psRemoveBillboardCamera (void) |
Variables | |
u32 * | ptclref [64] |
int | psNumTexGroup [64] |
HSD_PSTexGroup ** | psTexGroupArray [64] |
HSD_PSFormGroup ** | psFormGroupArray [64] |
int | psNumCmdList [64] |
HSD_PSCmdList ** | psCmdListArray [64] |
u16 | numActiveParticles |
u16 | numPeakParticles |
int(** | psCallback )(HSD_Particle *part) |
int | texc [4][4] |
int | td |
#define PS_TEXDIRECTION |
enum HSD_ParticleKind |
void psSetFog | ( | struct HSD_Fog * | fog | ) |
void psRemoveFog | ( | void | ) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
void psInitDataBank | ( | int | bank, |
int * | cmdBank, | ||
int * | texBank, | ||
u32 * | ref, | ||
int * | formBank | ||
) |
void psInitParticle | ( | int | num | ) |
void psRemoveParticle | ( | void | ) |
HSD_Particle * psGenerateParticle0 | ( | HSD_Particle * | p, |
int | linkNo, | ||
int | bank, | ||
u32 | kind, | ||
u16 | texGroup, | ||
u8 * | list, | ||
int | life, | ||
float | x, | ||
float | y, | ||
float | z, | ||
float | vx, | ||
float | vy, | ||
float | vz, | ||
float | size, | ||
float | grav, | ||
float | fric, | ||
int | palflag, | ||
struct _generator * | gp, | ||
int | flgInterpret | ||
) |
HSD_Particle * psGenerateParticleID0 | ( | HSD_Particle * | p, |
int | linkNo, | ||
int | bank, | ||
int | id, | ||
int | flgInterpret | ||
) |
HSD_Particle * psGenerateParticle | ( | int | linkNo, |
int | bank, | ||
u32 | kind, | ||
u16 | texGroup, | ||
u8 * | list, | ||
int | life, | ||
float | x, | ||
float | y, | ||
float | z, | ||
float | vx, | ||
float | vy, | ||
float | vz, | ||
float | size, | ||
float | grav, | ||
float | fric, | ||
int | palflag, | ||
struct _generator * | gp | ||
) |
HSD_Particle * psGenerateParticleIDPV | ( | int | linkNo, |
int | bank, | ||
int | id, | ||
float | px, | ||
float | py, | ||
float | pz, | ||
float | vx, | ||
float | vy, | ||
float | vz | ||
) |
HSD_Particle * psGenerateParticleID | ( | int | linkNo, |
int | bank, | ||
int | id | ||
) |
HSD_Particle * psGenerateParticleIDN | ( | int | linkNo, |
int | bank, | ||
int | id | ||
) |
void psKillParticle | ( | HSD_Particle * | pp | ) |
void psKillAllParticle | ( | void | ) |
void psSetPointJObj | ( | int | no, |
HSD_JObj * | jobj | ||
) |
void psSetPointJObjNodup | ( | HSD_JObj * | jobj, |
int | no | ||
) |
void psClearPointJObj | ( | void | ) |
void psDeletePntJObjwithParticle | ( | HSD_Particle * | pp | ) |
void psKillFamily | ( | u16 | idnum, |
int | linkNo | ||
) |
void psKillGeneratorChild | ( | struct _generator * | gp | ) |
void psAddOffsetAll | ( | float | xofs, |
float | yofs, | ||
float | zofs | ||
) |
void psPauseFamily | ( | u16 | idnum, |
int | linkNo | ||
) |
void psRestartFamily | ( | u16 | idnum, |
int | linkNo | ||
) |
void psSetCallback | ( | int(**)(HSD_Particle *part) | callback | ) |
void psSetUserFunc | ( | struct _generator * | gp, |
HSD_PSUserFunc * | userfunc | ||
) |
|
inlinestatic |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |