summaryrefslogtreecommitdiff
path: root/libs/JSystem/JStage/JSGObject.cpp
diff options
context:
space:
mode:
authorhatal175 <hatal175@users.noreply.github.com>2024-08-22 23:17:24 +0300
committerGitHub <noreply@github.com>2024-08-22 13:17:24 -0700
commitd3420ffe8d38185b66cb67a6605fb3d89cb72b36 (patch)
treed205cdabe6f717090805af9ba5d6414b91d97f75 /libs/JSystem/JStage/JSGObject.cpp
parent18f4489dd6e7996152bc385ec89a340dccaafe8a (diff)
jstudio particle and sound OK (#2194)
* Work on object-sound * object-particle OK * object-sound OK * JStudio_JAudio2 control OK * JStudio_JParticle control OK * JStage object OK * JStage ambient light OK
Diffstat (limited to 'libs/JSystem/JStage/JSGObject.cpp')
-rw-r--r--libs/JSystem/JStage/JSGObject.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/JSystem/JStage/JSGObject.cpp b/libs/JSystem/JStage/JSGObject.cpp
index f2be132acb..dd48e6a9fa 100644
--- a/libs/JSystem/JStage/JSGObject.cpp
+++ b/libs/JSystem/JStage/JSGObject.cpp
@@ -15,8 +15,8 @@ void JStage::TObject::JSGUpdate() {}
/* 80280E28-80280E30 27B768 0008+00 1/0 12/0 0/0 .text JSGGetFlag__Q26JStage7TObjectCFv
*/
-bool JStage::TObject::JSGGetFlag() const {
- return false;
+u32 JStage::TObject::JSGGetFlag() const {
+ return 0;
}
/* 80280E30-80280E34 27B770 0004+00 1/0 12/0 0/0 .text JSGSetFlag__Q26JStage7TObjectFUl
@@ -50,7 +50,7 @@ s32 JStage::TObject::JSGFindNodeID(char const*) const {
/* 80280E54-80280E90 27B794 003C+00 1/0 11/0 0/0 .text
* JSGGetNodeTransformation__Q26JStage7TObjectCFUlPA4_f */
-int JStage::TObject::JSGGetNodeTransformation(u32, MtxP mtx) const {
+bool JStage::TObject::JSGGetNodeTransformation(u32, MtxP mtx) const {
mtx[0][0] = 0.0f;
mtx[0][1] = 0.0f;
mtx[0][2] = 0.0f;
@@ -63,5 +63,5 @@ int JStage::TObject::JSGGetNodeTransformation(u32, MtxP mtx) const {
mtx[2][1] = 0.0f;
mtx[2][2] = 0.0f;
mtx[2][3] = 0.0f;
- return 0;
+ return false;
}