Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Data Structures | Macros | Functions | Variables
particles.c File Reference
#include <ultra64.h>
#include <macros.h>
#include "gd_types.h"
#include "draw_objects.h"
#include "objects.h"
#include "particles.h"
#include "dynlist_proc.h"
#include "debug_utils.h"
#include "skin.h"
#include "gd_math.h"
#include "renderer.h"

Data Structures

union  VtxPtc
 
struct  Connection
 

Macros

#define ABS(x)   ((x) < 0.0f ? -(x) : (x))
 

Functions

struct Connection * func_801825FC (struct ObjVertex *, struct ObjVertex *)
 
void func_80181C00 (struct ObjVertex *, struct ObjVertex *)
 
void Unknown80181D14 (struct ObjFace *)
 
void func_80181EB0 (struct Connection *)
 
void func_80182088 (struct Connection *)
 
void move_particle (struct ObjParticle *)
 
int func_80182778 (struct ObjParticle *)
 
void func_80182A08 (struct ObjParticle *, struct GdVec3f *b)
 
void func_801838D0 (struct ObjParticle *)
 
void Unknown801835C8 (struct ObjParticle *ptc)
 
void func_801823A0 (struct ObjNet *net)
 
struct ObjParticle * make_particle (u32 a, s32 b, f32 x, f32 y, f32 z)
 
void move_particles_in_grp (struct ObjGroup *group)
 
void Unknown80183870 (UNUSED s32 a)
 
void Unknown80183884 (UNUSED s32 a)
 
void Unknown80183898 (UNUSED s32 a, UNUSED s32 b, UNUSED s32 c)
 
void Unknown801838B4 (UNUSED s32 a, UNUSED s32 b, UNUSED s32 c)
 

Variables

static void * sUnused801A81D0 = NULL
 
static s32 D_801A81D4 [25]
 
static s32 D_801A8238 [5]
 
static struct ObjFace * D_801B9EF0
 

Macro Definition Documentation

◆ ABS

#define ABS (   x)    ((x) < 0.0f ? -(x) : (x))

Function Documentation

◆ func_80181C00()

void func_80181C00 ( struct ObjVertex *  vtx1,
struct ObjVertex *  vtx2 
)

◆ func_80181EB0()

void func_80181EB0 ( struct Connection *  cxn)

◆ func_80182088()

void func_80182088 ( struct Connection *  cxn)

◆ func_801823A0()

void func_801823A0 ( struct ObjNet *  net)

◆ func_801825FC()

struct Connection * func_801825FC ( struct ObjVertex *  vtx1,
struct ObjVertex *  vtx2 
)

◆ func_80182778()

int func_80182778 ( struct ObjParticle *  ptc)

◆ func_80182A08()

void func_80182A08 ( struct ObjParticle *  ptc,
struct GdVec3f *  b 
)

◆ func_801838D0()

void func_801838D0 ( struct ObjParticle *  ptc)

◆ make_particle()

struct ObjParticle* make_particle ( u32  a,
s32  b,
f32  x,
f32  y,
f32  z 
)

◆ move_particle()

void move_particle ( struct ObjParticle *  ptc)

◆ move_particles_in_grp()

void move_particles_in_grp ( struct ObjGroup *  group)

◆ Unknown80181D14()

void Unknown80181D14 ( struct ObjFace *  face)

◆ Unknown801835C8()

void Unknown801835C8 ( struct ObjParticle *  ptc)

◆ Unknown80183870()

void Unknown80183870 ( UNUSED s32  a)

◆ Unknown80183884()

void Unknown80183884 ( UNUSED s32  a)

◆ Unknown80183898()

void Unknown80183898 ( UNUSED s32  a,
UNUSED s32  b,
UNUSED s32  c 
)

◆ Unknown801838B4()

void Unknown801838B4 ( UNUSED s32  a,
UNUSED s32  b,
UNUSED s32  c 
)

Variable Documentation

◆ D_801A81D4

s32 D_801A81D4[25]
static
Initial value:
= {
9, 3, 12, -14, 25, 5, 16, -25, 42, 4, 15, -39, 55,
-6, 20, -23, 70, -2, 20, -23, 135, 0, 16, 0, 0
}

◆ D_801A8238

s32 D_801A8238[5]
static
Initial value:
= {
15, 0, 22, 0, 0
}

◆ D_801B9EF0

struct ObjFace* D_801B9EF0
static

◆ sUnused801A81D0

void* sUnused801A81D0 = NULL
static