From d3420ffe8d38185b66cb67a6605fb3d89cb72b36 Mon Sep 17 00:00:00 2001 From: hatal175 Date: Thu, 22 Aug 2024 23:17:24 +0300 Subject: 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 --- libs/JSystem/JStage/JSGObject.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libs/JSystem/JStage/JSGObject.cpp') 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; } -- cgit v1.2.3