Matched hsfmotion

This commit is contained in:
mrshigure 2024-01-15 16:39:32 -08:00
parent a3536d462a
commit dab8e2e54b
12 changed files with 1592 additions and 91 deletions

View file

@ -1,5 +1,6 @@
#include "game/hsfanim.h"
#include "game/hsfdraw.h"
#include "game/init.h"
#include "game/memory.h"
#include "game/process.h"

View file

@ -16,27 +16,6 @@ typedef struct {
/* 0x3C */ Vec unk3C;
} HsfdrawStruct00; // Size 0x48
typedef struct {
/* 0x00 */ u16 unk00;
/* 0x02 */ s16 unk02;
/* 0x04 */ s16 unk04;
/* 0x06 */ char unk06[2];
/* 0x08 */ float unk08;
/* 0x0C */ float unk0C;
/* 0x10 */ float unk10;
/* 0x14 */ float unk14;
/* 0x18 */ float unk18;
/* 0x1C */ float unk1C;
/* 0x20 */ float unk20;
/* 0x24 */ float unk24;
/* 0x28 */ float unk28;
/* 0x2C */ float unk2C;
/* 0x30 */ float unk30;
/* 0x34 */ float unk34;
/* 0x38 */ float unk38;
/* 0x3C */ HsfBitmap *unk3C;
} HsfdrawStruct01; // Size unknown
typedef struct {
s32 unk00;
s32 unk04;

View file

@ -1,5 +1,6 @@
#include "game/hsfex.h"
#include "game/hsfman.h"
#include "game/hsfmotion.h"
#include "math.h"
@ -13,8 +14,6 @@ typedef struct {
static void SetObjCamMotion(s16 arg0, HsfTrack *arg1, float arg2, HsfexStruct02 *arg3);
float GetCurve(void*, float);
void CamMotionEx2(s16 arg0, s16 arg1, float arg2, s16 arg3) {
CameraData *temp_r30;
s16 i;

View file

@ -1,5 +1,15 @@
#include "game/hsfman.h"
#include "game/data.h"
#include "game/hsfdraw.h"
#include "game/hsfload.h"
#include "game/hsfmotion.h"
#include "game/init.h"
#include "game/memory.h"
#include "game/perf.h"
#include "game/sprite.h"
#include "dolphin/gx/GXVert.h"
#include "math.h"
ModelData Hu3DData[0x200];
CameraData Hu3DCamera[0x10];

1432
src/game/hsfmotion.c Normal file

File diff suppressed because it is too large Load diff

View file

@ -1,4 +1,5 @@
#include "game/audio.h"
#include "game/hsfdraw.h"
#include "game/hsfman.h"
#include "game/printfunc.h"
#include "game/object.h"