sm64pc/src/goddard/joints.h

32 lines
1.0 KiB
C

#ifndef GD_JOINTS_H
#define GD_JOINTS_H
#include <PR/ultratypes.h>
#include "gd_types.h"
// bss
extern s32 sTargetWeightID;
// functions
void func_8018EBE8(struct ObjJoint *self);
struct ObjJoint *make_joint(s32 flags, f32 x, f32 y, f32 z);
struct ObjJoint *make_joint_withshape(struct ObjShape *shape, s32 flags, f32 x, f32 y, f32 z);
void func_8018F328(struct ObjBone *b);
void func_8018FA68(struct ObjBone *b);
s32 set_skin_weight(struct ObjJoint *j, s32 id, struct ObjVertex *vtx, f32 weight);
void func_8018FB58(struct ObjBone *b);
void add_joint2bone(struct ObjBone *b, struct ObjJoint *j);
struct ObjBone *make_bone(s32 a0, struct ObjJoint *j1, struct ObjJoint *j2, s32 a3);
void func_801911A8(struct ObjJoint *j);
void func_80191220(struct ObjJoint *j);
void func_801913C0(struct ObjJoint *j);
void func_801913F0(struct ObjJoint *j);
void func_801914F8(struct ObjJoint *j);
void func_80191604(struct ObjJoint *j);
void func_80191824(struct ObjJoint *j);
void func_80191E88(struct ObjGroup *grp);
void reset_joint_counts(void);
#endif // GD_JOINTS_H