Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
shape_helper.h
Go to the documentation of this file.
1 #ifndef SHAPE_HELPER_H
2 #define SHAPE_HELPER_H
3 
4 #include <ultra64.h>
5 #include "gd_types.h"
6 
7 // data
8 extern struct ObjGroup *gMarioFaceGrp;
9 extern struct ObjShape *D_801A82E4;
10 extern struct ObjShape *gShapeSilSpark;
11 extern struct ObjShape *gShapeRedSpark;
12 extern struct ObjShape *gShapeRedStar;
13 extern struct ObjShape *gShapeSilverStar;
14 
15 // functions
16 extern void calc_face_normal(struct ObjFace *);
17 extern struct ObjVertex *gd_make_vertex(f32, f32, f32);
18 extern void add_3_vtx_to_face(struct ObjFace *, struct ObjVertex *, struct ObjVertex *, struct ObjVertex *);
19 extern struct ObjShape *make_shape(s32, const char *);
20 extern void scale_verts_in_shape(struct ObjShape *, f32, f32, f32);
21 extern struct ObjNet *make_netfromshape(struct ObjShape *);
22 extern void animate_mario_head_gameover(struct ObjAnimator *);
23 extern void animate_mario_head_normal(struct ObjAnimator *);
24 extern s32 load_mario_head(void (*aniFn)(struct ObjAnimator *));
25 extern void load_shapes2(void);
26 
27 // see bad_declarations.h
28 #if !GD_USE_BAD_DECLARATIONS
29 extern struct ObjFace* make_face_with_colour(f32, f32, f32);
30 #endif
31 
32 #endif /* SHAPE_HELPER_H */
void calc_face_normal(struct ObjFace *)
Definition: shape_helper.c:145
struct ObjShape * make_shape(s32, const char *)
Definition: shape_helper.c:274
void add_3_vtx_to_face(struct ObjFace *, struct ObjVertex *, struct ObjVertex *, struct ObjVertex *)
Definition: shape_helper.c:264
struct ObjGroup * gMarioFaceGrp
Definition: shape_helper.c:29
Definition: gd_types.h:348
struct ObjShape * gShapeRedSpark
Definition: shape_helper.c:33
Definition: gd_types.h:251
struct ObjShape * gShapeSilSpark
Definition: shape_helper.c:32
Definition: gd_types.h:288
struct ObjFace * make_face_with_colour(f32, f32, f32)
Definition: shape_helper.c:221
struct ObjNet * make_netfromshape(struct ObjShape *)
Definition: shape_helper.c:1161
void load_shapes2(void)
Definition: shape_helper.c:1405
float f32
Definition: ultratypes.h:29
void animate_mario_head_gameover(struct ObjAnimator *)
Definition: shape_helper.c:1177
struct ObjShape * gShapeSilverStar
Definition: shape_helper.c:35
struct ObjVertex * gd_make_vertex(f32, f32, f32)
Definition: shape_helper.c:195
Definition: gd_types.h:366
s32 load_mario_head(void(*aniFn)(struct ObjAnimator *))
Definition: shape_helper.c:1272
Definition: gd_types.h:528
This is test documentation comment for ObjGroup.
Definition: gd_types.h:124
struct ObjShape * D_801A82E4
Definition: shape_helper.c:30
signed int s32
Definition: ultratypes.h:15
struct ObjShape * gShapeRedStar
Definition: shape_helper.c:34
void scale_verts_in_shape(struct ObjShape *, f32, f32, f32)
Definition: shape_helper.c:544
void animate_mario_head_normal(struct ObjAnimator *)
Definition: shape_helper.c:1197