d_eye_hl OK, d_spline_path and JASSeqReader work (#307)

This commit is contained in:
Pheenoh
2023-03-09 01:26:11 -07:00
committed by GitHub
parent f31ab5ae0b
commit 500d079c40
29 changed files with 256 additions and 441 deletions
+23
View File
@@ -3,4 +3,27 @@
#include "dolphin/types.h"
class JASSeqReader {
public:
/* 80296108 */ void init();
/* 80296148 */ void init(void*);
/* 8029618C */ bool call(u32);
/* 802961CC */ bool loopStart(u32);
/* 80296210 */ bool loopEnd();
/* 8029627C */ bool ret();
/* 802962B0 */ int readMidiValue();
u8 readByte() {
u8* tmp = field_0x04;
field_0x04 += 1;
return *tmp;
}
/* 0x00 */ u32* field_0x00;
/* 0x04 */ u8* field_0x04;
/* 0x08 */ u32 field_0x08;
/* 0x0C */ u16* field_0x0c[8];
/* 0x2C */ s16 field_0x2c[8];
};
#endif /* JASSEQREADER_H */
+3
View File
@@ -260,6 +260,8 @@ public:
void playCalcEmitter() { clearStatus(JPAEmtrStts_StopCalc); }
void stopDrawParticle() { setStatus(JPAEmtrStts_StopDraw); }
void* getUserWork() { return mpUserWork; }
public:
/* 0x00 */ Vec mLocalScl;
/* 0x0C */ Vec mLocalTrs;
@@ -329,6 +331,7 @@ public:
/* 802804C8 */ void canCreateChild(JPAEmitterWorkData*);
/* 80280548 */ f32 getWidth(JPABaseEmitter const*) const;
/* 80280568 */ f32 getHeight(JPABaseEmitter const*) const;
int getAge() { return mAge; }
public:
/* 0x00 */ Vec mPosition;
+8
View File
@@ -2,6 +2,14 @@
#define C_C_DAMAGEREACTION_H
#include "dolphin/types.h"
#include "JSystem/JParticle/JPAParticle.h"
class JPTraceParticleCallBack4 {
public:
/* 8001817C */ void execute(JPABaseEmitter*, JPABaseParticle*);
/* 800182A4 */ void draw(JPABaseEmitter*, JPABaseParticle*);
/* 80018328 */ ~JPTraceParticleCallBack4();
};
BOOL cDmrNowMidnaTalk();
-1
View File
@@ -2,7 +2,6 @@
#define D_A_D_A_SHOP_ITEM_STATIC_H
#include "d/a/d_a_itembase.h"
#include "dolphin/types.h"
struct ResourceData {
char* get_arcName() const { return mArcName; }
-1
View File
@@ -4,7 +4,6 @@
#include "JSystem/J3DGraphAnimator/J3DModelData.h"
#include "JSystem/J3DGraphBase/J3DDrawBuffer.h"
#include "JSystem/JUtility/JUTTexture.h"
#include "dolphin/types.h"
class dEyeHL_c;
-1
View File
@@ -1,7 +1,6 @@
#ifndef D_D_PATH_H
#define D_D_PATH_H
#include "dolphin/types.h"
#include "d/d_stage.h"
class dStage_dPnt_c;
-1
View File
@@ -3,7 +3,6 @@
#include "JSystem/J2DGraph/J2DScreen.h"
#include "d/pane/d_pane_class.h"
#include "dolphin/types.h"
class dSi_HIO_c {
public:
+33
View File
@@ -2,5 +2,38 @@
#define D_D_SPLINE_PATH_H
#include "dolphin/types.h"
#include "d/d_path.h"
struct dPathCurve {
/* 80097C5C */ void Init(dPath*);
/* 80097C74 */ void bSpline2(f32);
/* 0x00 */ int field_0x00;
/* 0x00 */ int field_0x04;
/* 0x08 */ dPath* mpPath;
};
class d2DBSplinePath {
public:
/* 80097878 */ void Init(s32, s32);
/* 80097904 */ void Step();
/* 80097B20 */ f32 Calc(f32*);
/* 80097A6C */ void Calc(cXyz*);
/* 80097B68 */ void Spot(f32*, f32);
/* 0x00 */ s32 field_0x00;
/* 0x04 */ s32 field_0x04;
/* 0x08 */ s32 field_0x08;
/* 0x0C */ s32 field_0x0c;
/* 0x10 */ f32 field_0x10;
/* 0x14 */ f32 field_0x14;
/* 0x18 */ f32 field_0x18;
/* 0x1C */ f32 field_0x1c;
/* 0x20 */ u32 field_0x20;
/* 0x24 */ int field_0x24;
/* 0x28 */ int field_0x28;
/* 0x2C */ int field_0x2c;
/* 0x30 */ void* field_0x30;
};
#endif /* D_D_SPLINE_PATH_H */
+2
View File
@@ -78,4 +78,6 @@ public:
/* 0x1D4 */ u8 field_0x1d4;
};
extern u8 g_envHIO[68];
#endif /* D_S_D_S_PLAY_H */
-1
View File
@@ -2,7 +2,6 @@
#define M_DO_M_DO_DVDERROR_H
#include "JSystem/JKernel/JKRThread.h"
#include "dolphin/types.h"
void mDoDvdErr_ThdCleanup();
static void mDoDvdErr_Watch(void*);