diff options
| author | Jcw87 <Jcw87@users.noreply.github.com> | 2026-02-13 15:08:10 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-13 15:08:10 -0800 |
| commit | 0b1cb89d695b07ceef78fd17f10c8e026dfbf0c9 (patch) | |
| tree | 728b636074ad03de371d92832d1a29b55ef4520d /include/JSystem | |
| parent | 68f3531c2d3ee6cc90efe90a358cff1656ba275e (diff) | |
d_demo debug (#3098)
Diffstat (limited to 'include/JSystem')
| -rw-r--r-- | include/JSystem/JGadget/binary.h | 2 | ||||
| -rw-r--r-- | include/JSystem/JGadget/linklist.h | 7 | ||||
| -rw-r--r-- | include/JSystem/JStudio/JStudio/jstudio-control.h | 3 | ||||
| -rw-r--r-- | include/JSystem/JStudio/JStudio_JAudio2/control.h | 1 | ||||
| -rw-r--r-- | include/JSystem/JStudio/JStudio_JStage/control.h | 2 |
5 files changed, 12 insertions, 3 deletions
diff --git a/include/JSystem/JGadget/binary.h b/include/JSystem/JGadget/binary.h index 34aa9c0a5d..f395076c07 100644 --- a/include/JSystem/JGadget/binary.h +++ b/include/JSystem/JGadget/binary.h @@ -100,6 +100,8 @@ struct TValueIterator TValueIterator(const void* begin) { mBegin = reinterpret_cast<const char*>(begin); + bool unused = false; + (void)&unused; } const void* get() const { return mBegin; } diff --git a/include/JSystem/JGadget/linklist.h b/include/JSystem/JGadget/linklist.h index f886a2880e..ca8dbc637e 100644 --- a/include/JSystem/JGadget/linklist.h +++ b/include/JSystem/JGadget/linklist.h @@ -14,7 +14,12 @@ struct TLinkListNode { pPrev_ = NULL; } - ~TLinkListNode() {} + ~TLinkListNode() { +#if DEBUG + JGADGET_ASSERTWARN(77, pNext_==NULL); + JGADGET_ASSERTWARN(78, pPrev_==NULL); +#endif + } TLinkListNode* getNext() const { return pNext_; } TLinkListNode* getPrev() const { return pPrev_; } diff --git a/include/JSystem/JStudio/JStudio/jstudio-control.h b/include/JSystem/JStudio/JStudio/jstudio-control.h index a41df62dd3..3dd1bdb285 100644 --- a/include/JSystem/JStudio/JStudio/jstudio-control.h +++ b/include/JSystem/JStudio/JStudio/jstudio-control.h @@ -79,9 +79,10 @@ public: transformOnGet_enable(param_0); } - void transform_setOrigin_TxyzRy(const Vec& xyz, f32 rotY) { + bool transform_setOrigin_TxyzRy(const Vec& xyz, f32 rotY) { transformOnSet_setOrigin_TxyzRy(xyz, rotY); transformOnGet_setOrigin_TxyzRy(xyz, rotY); + return true; } void transform_setOrigin(const Vec& xyz, f32 rotY) { diff --git a/include/JSystem/JStudio/JStudio_JAudio2/control.h b/include/JSystem/JStudio/JStudio_JAudio2/control.h index 371aaf437f..effefaef18 100644 --- a/include/JSystem/JStudio/JStudio_JAudio2/control.h +++ b/include/JSystem/JStudio/JStudio_JAudio2/control.h @@ -27,6 +27,7 @@ struct TCreateObject : public JStudio::TCreateObject { JAISoundStarter* get_pJAISoundStarter_() { return pJAISoundStarter_; } const JStage::TSystem* get_pJSGSystem_() { return pJSGSystem_; } bool isPermit_onExit_notEnd() { return mPermit_onExit_notEnd; } + void setPermit_onExit_notEnd(bool value) { mPermit_onExit_notEnd = value; } /* 0x0C */ JAISoundStarter* pJAISoundStarter_; /* 0x10 */ const JStage::TSystem* pJSGSystem_; diff --git a/include/JSystem/JStudio/JStudio_JStage/control.h b/include/JSystem/JStudio/JStudio_JStage/control.h index 1b41039866..40cbaaeefe 100644 --- a/include/JSystem/JStudio/JStudio_JStage/control.h +++ b/include/JSystem/JStudio/JStudio_JStage/control.h @@ -2,11 +2,11 @@ #define JSTUDIO_JSTAGE_CONTROL_H #include "JSystem/JGadget/pointer.h" +#include "JSystem/JStage/JSGLight.h" #include "JSystem/JStage/JSGActor.h" #include "JSystem/JStage/JSGAmbientLight.h" #include "JSystem/JStage/JSGCamera.h" #include "JSystem/JStage/JSGFog.h" -#include "JSystem/JStage/JSGLight.h" #include "JSystem/JStage/JSGSystem.h" #include "JSystem/JStudio/JStudio/jstudio-object.h" #include "JSystem/JStudio/JStudio/jstudio-math.h" |
