diff options
| author | Max Roncace <me@caseif.net> | 2026-01-29 17:18:08 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-29 14:18:08 -0800 |
| commit | 050ebb447137e7077903e208b41deccbf0ee23f6 (patch) | |
| tree | c54e4676aca9283aa11628e714ce9cc18d6b304c /include/JSystem | |
| parent | c161523338fedf22e206a1c85d2777b4e6f667d0 (diff) | |
Add missing TUs for Wii/Shield retail (+ filename cleanup) (#3072)
* Fix GCN_mem_alloc.c filename capitalization
* Fix up TRK file names in Wii/Shield splits
* Add string_TRK
* Add cc_gdev
* Add Shield-only wstring TUs
* Implement NdevExi2A
* Add missing JSystem TUs (more are still missing from ShieldD)
* Clean up includes
Diffstat (limited to 'include/JSystem')
| -rw-r--r-- | include/JSystem/J3DGraphAnimator/J3DJoint.h | 13 | ||||
| -rw-r--r-- | include/JSystem/J3DU/J3DUFur.h | 6 | ||||
| -rw-r--r-- | include/JSystem/J3DU/J3DUMotion.h | 6 | ||||
| -rw-r--r-- | include/JSystem/J3DU/J3DUShadow.h | 6 | ||||
| -rw-r--r-- | include/JSystem/JAudio2/JAUAudience.h | 6 | ||||
| -rw-r--r-- | include/JSystem/JAudio2/JAUSoundObject.h | 6 |
6 files changed, 42 insertions, 1 deletions
diff --git a/include/JSystem/J3DGraphAnimator/J3DJoint.h b/include/JSystem/J3DGraphAnimator/J3DJoint.h index 4482e5d618..0a10f035be 100644 --- a/include/JSystem/J3DGraphAnimator/J3DJoint.h +++ b/include/JSystem/J3DGraphAnimator/J3DJoint.h @@ -43,7 +43,10 @@ public: virtual void init(const Vec& param_0, const Mtx&) = 0; virtual void calc() = 0; - static J3DMtxBuffer* getMtxBuffer() { return mMtxBuffer; } + static J3DMtxBuffer* getMtxBuffer() { + J3D_ASSERT_NULLPTR(174, mMtxBuffer != NULL) + return mMtxBuffer; + } static J3DJoint* getJoint() { J3D_ASSERT_NULLPTR(185, mJoint != NULL) return mJoint; @@ -234,4 +237,12 @@ struct J3DMtxCalcCalcTransformBasic { static void calcTransform(J3DTransformInfo const&); }; +inline s32 checkScaleOne(const Vec& param_0) { + if (param_0.x == 1.0f && param_0.y == 1.0f && param_0.z == 1.0f) { + return true; + } else { + return false; + } +} + #endif /* J3DJOINT_H */ diff --git a/include/JSystem/J3DU/J3DUFur.h b/include/JSystem/J3DU/J3DUFur.h new file mode 100644 index 0000000000..1d54b1cce9 --- /dev/null +++ b/include/JSystem/J3DU/J3DUFur.h @@ -0,0 +1,6 @@ +#ifndef J3DUFUR_H +#define J3DUFUR_H + +// NONMATCHING + +#endif /* J3DUFUR_H */ diff --git a/include/JSystem/J3DU/J3DUMotion.h b/include/JSystem/J3DU/J3DUMotion.h new file mode 100644 index 0000000000..f2bd2d5dd1 --- /dev/null +++ b/include/JSystem/J3DU/J3DUMotion.h @@ -0,0 +1,6 @@ +#ifndef J3DUMOTION_H +#define J3DUMOTION_H + +// NONMATCHING + +#endif /* J3DUMOTION_H */ diff --git a/include/JSystem/J3DU/J3DUShadow.h b/include/JSystem/J3DU/J3DUShadow.h new file mode 100644 index 0000000000..fa6876829b --- /dev/null +++ b/include/JSystem/J3DU/J3DUShadow.h @@ -0,0 +1,6 @@ +#ifndef J3DUSHADOW_H +#define J3DUSHADOW_H + +// NONMATCHING + +#endif /* J3DUSHADOW_H */ diff --git a/include/JSystem/JAudio2/JAUAudience.h b/include/JSystem/JAudio2/JAUAudience.h new file mode 100644 index 0000000000..3ce3a105df --- /dev/null +++ b/include/JSystem/JAudio2/JAUAudience.h @@ -0,0 +1,6 @@ +#ifndef JAUAUDIENCE_H +#define JAUAUDIENCE_H + +// NONMATCHING + +#endif /* JAUAUDIENCE_H */ diff --git a/include/JSystem/JAudio2/JAUSoundObject.h b/include/JSystem/JAudio2/JAUSoundObject.h new file mode 100644 index 0000000000..76684eb251 --- /dev/null +++ b/include/JSystem/JAudio2/JAUSoundObject.h @@ -0,0 +1,6 @@ +#ifndef JAUSOUNDOBJECT_H +#define JAUSOUNDOBJECT_H + +// NONMATCHING + +#endif /* JAUSOUNDOBJECT_H */ |
