mirror of
https://github.com/zeldaret/tp
synced 2026-07-11 07:25:22 -04:00
wip
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#include "dolphin/types.h"
|
||||
|
||||
struct J2DAnmLoaderDataBase {
|
||||
/* 80308A6C */ static void load(void const*);
|
||||
/* 80308A6C */ static void* load(void const*);
|
||||
};
|
||||
|
||||
class J2DAnmLoader {
|
||||
|
||||
@@ -128,6 +128,9 @@ public:
|
||||
void* getPointer(JSURandomInputStream* stream, u32 size, JKRArchive* archive);
|
||||
void animationTransform();
|
||||
void updateTransform(const J2DAnmTransform* transform);
|
||||
void setUserInfo(u64 info) {
|
||||
mUserInfoTag = info;
|
||||
}
|
||||
|
||||
static f32 static_mBounds[4];
|
||||
|
||||
|
||||
@@ -29,6 +29,14 @@ public:
|
||||
static J3DJoint* mJoint;
|
||||
}; // Size: 0x4
|
||||
|
||||
class J3DMtxCalcNoAnmBase : public J3DMtxCalc {
|
||||
public:
|
||||
/* 8000FA8C */ virtual ~J3DMtxCalcNoAnmBase();
|
||||
};
|
||||
|
||||
template <typename A, typename B>
|
||||
class J3DMtxCalcNoAnm : public J3DMtxCalcNoAnmBase, public A, public B {};
|
||||
|
||||
class J3DJoint;
|
||||
typedef int (*J3DJointCallBack)(J3DJoint*, int);
|
||||
|
||||
|
||||
@@ -49,6 +49,7 @@ public:
|
||||
void offFlag(u32 flag) { mFlags &= ~flag; }
|
||||
bool checkFlag(u32 flag) const { return (mFlags & flag) ? true : false; }
|
||||
Mtx& getBaseTRMtx() { return mBaseTransformMtx; }
|
||||
void i_setBaseTRMtx(Mtx m) { PSMTXCopy(m, mBaseTransformMtx); }
|
||||
|
||||
// is there a better way to handle inlines with same name as non-inlines?
|
||||
MtxP i_getAnmMtx(int p1) { return mMtxBuffer->getAnmMtx(p1); }
|
||||
|
||||
Reference in New Issue
Block a user