Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Functions | Variables
shape_helper.h File Reference
#include <ultra64.h>
#include "gd_types.h"

Go to the source code of this file.

Functions

void calc_face_normal (struct ObjFace *)
 
struct ObjVertexgd_make_vertex (f32, f32, f32)
 
void add_3_vtx_to_face (struct ObjFace *, struct ObjVertex *, struct ObjVertex *, struct ObjVertex *)
 
struct ObjShapemake_shape (s32, const char *)
 
void scale_verts_in_shape (struct ObjShape *, f32, f32, f32)
 
struct ObjNetmake_netfromshape (struct ObjShape *)
 
void animate_mario_head_gameover (struct ObjAnimator *)
 
void animate_mario_head_normal (struct ObjAnimator *)
 
s32 load_mario_head (void(*aniFn)(struct ObjAnimator *))
 
void load_shapes2 (void)
 
struct ObjFacemake_face_with_colour (f32, f32, f32)
 

Variables

struct ObjGroupgMarioFaceGrp
 
struct ObjShapeD_801A82E4
 
struct ObjShapegShapeSilSpark
 
struct ObjShapegShapeRedSpark
 
struct ObjShapegShapeRedStar
 
struct ObjShapegShapeSilverStar
 

Function Documentation

◆ add_3_vtx_to_face()

void add_3_vtx_to_face ( struct ObjFace ,
struct ObjVertex ,
struct ObjVertex ,
struct ObjVertex  
)

◆ animate_mario_head_gameover()

void animate_mario_head_gameover ( struct ObjAnimator )

◆ animate_mario_head_normal()

void animate_mario_head_normal ( struct ObjAnimator )

◆ calc_face_normal()

void calc_face_normal ( struct ObjFace )

◆ gd_make_vertex()

struct ObjVertex* gd_make_vertex ( f32  ,
f32  ,
f32   
)

◆ load_mario_head()

s32 load_mario_head ( void(*)(struct ObjAnimator *)  aniFn)

◆ load_shapes2()

void load_shapes2 ( void  )

◆ make_face_with_colour()

struct ObjFace* make_face_with_colour ( f32  ,
f32  ,
f32   
)

◆ make_netfromshape()

struct ObjNet* make_netfromshape ( struct ObjShape )

◆ make_shape()

struct ObjShape* make_shape ( s32  ,
const char  
)

◆ scale_verts_in_shape()

void scale_verts_in_shape ( struct ObjShape ,
f32  ,
f32  ,
f32   
)

Variable Documentation

◆ D_801A82E4

struct ObjShape* D_801A82E4

◆ gMarioFaceGrp

struct ObjGroup* gMarioFaceGrp

◆ gShapeRedSpark

struct ObjShape* gShapeRedSpark

◆ gShapeRedStar

struct ObjShape* gShapeRedStar

◆ gShapeSilSpark

struct ObjShape* gShapeSilSpark

◆ gShapeSilverStar

struct ObjShape* gShapeSilverStar