Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
MorsGames
GitHub Repository: MorsGames/sm64plus
Path: blob/master/src/goddard/joints.h
7858 views
1
#ifndef GD_JOINTS_H
2
#define GD_JOINTS_H
3
4
#include <PR/ultratypes.h>
5
6
#include "gd_types.h"
7
8
// bss
9
extern s32 sResetWeightVtxNum;
10
11
// functions
12
void eye_joint_update_func(struct ObjJoint *self);
13
struct ObjJoint *make_joint(s32 flags, f32 x, f32 y, f32 z);
14
struct ObjJoint *make_grabber_joint(struct ObjShape *shape, s32 flags, f32 x, f32 y, f32 z);
15
void func_8018F328(struct ObjBone *b);
16
void func_8018FA68(struct ObjBone *b);
17
s32 set_skin_weight(struct ObjJoint *j, s32 id, struct ObjVertex *vtx, f32 weight);
18
void func_8018FB58(struct ObjBone *b);
19
void add_joint2bone(struct ObjBone *b, struct ObjJoint *j);
20
struct ObjBone *make_bone(s32 a0, struct ObjJoint *j1, struct ObjJoint *j2, s32 a3);
21
void func_801911A8(struct ObjJoint *j);
22
void func_80191220(struct ObjJoint *j);
23
void func_801913C0(struct ObjJoint *j);
24
void func_801913F0(struct ObjJoint *j);
25
void stub_joints_2(struct ObjJoint *j);
26
void reset_joint(struct ObjJoint *j);
27
void func_80191824(struct ObjJoint *j);
28
void func_80191E88(struct ObjGroup *grp);
29
void reset_joint_counts(void);
30
31
#endif // GD_JOINTS_H
32
33