mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-24 15:00:55 -04:00
Merge remote-tracking branch 'decomp/main' into compile
This commit is contained in:
@@ -63,6 +63,6 @@ lbl_238_data_104 = .data:0x00000104; // type:object size:0xD data:string
|
||||
@93851 = .data:0x00000114; // type:object size:0xC scope:local
|
||||
__RTTI__12daE_TK_HIO_c = .data:0x00000120; // type:object size:0x8 scope:global
|
||||
__global_destructor_chain = .bss:0x00000000; // type:object size:0x4 scope:global
|
||||
lbl_238_bss_8 = .bss:0x00000008; // type:object size:0x1 data:byte
|
||||
hio_set = .bss:0x00000008; // type:object size:0x1 data:byte
|
||||
@93233 = .bss:0x0000000C; // type:object size:0xC scope:local
|
||||
l_HIO = .bss:0x00000018; // type:object size:0x1C scope:global data:byte
|
||||
|
||||
@@ -58,6 +58,6 @@ lbl_239_data_D8 = .data:0x000000D8; // type:object size:0xE data:string
|
||||
@93703 = .data:0x000000E8; // type:object size:0xC scope:local
|
||||
__RTTI__13daE_TK2_HIO_c = .data:0x000000F4; // type:object size:0x8 scope:global
|
||||
__global_destructor_chain = .bss:0x00000000; // type:object size:0x4 scope:global
|
||||
lbl_239_bss_8 = .bss:0x00000008; // type:object size:0x1 data:byte
|
||||
hio_set = .bss:0x00000008; // type:object size:0x1 data:byte
|
||||
@93233 = .bss:0x0000000C; // type:object size:0xC scope:local
|
||||
l_HIO = .bss:0x00000018; // type:object size:0x1C scope:global data:byte
|
||||
|
||||
@@ -28251,9 +28251,9 @@ lbl_8053AA90 = .sbss:0x8053AA90; // type:object size:0x1 data:byte
|
||||
lbl_8053AA91 = .sbss:0x8053AA91; // type:object size:0x1 data:byte
|
||||
it$98928 = .sbss:0x8053AA94; // type:object size:0x4 scope:local align:4 data:4byte
|
||||
lbl_8053AA98 = .sbss:0x8053AA98; // type:object size:0x8 data:byte
|
||||
lbl_8053AAA0 = .sbss:0x8053AAA0; // type:object size:0x1 data:byte
|
||||
mNowStayFloorNo__10dMapInfo_c = .sbss:0x8053AAA0; // type:object size:0x1 data:byte
|
||||
mNowStayRoomNo__10dMapInfo_c = .sbss:0x8053AAA4; // type:object size:0x4 scope:global align:4 data:4byte
|
||||
lbl_8053AAA8 = .sbss:0x8053AAA8; // type:object size:0x1 data:byte
|
||||
mNowStayFloorNoDecisionFlg__10dMapInfo_c = .sbss:0x8053AAA8; // type:object size:0x1 data:byte
|
||||
mLayerList__8dMpath_c = .sbss:0x8053AAAC; // type:object size:0x4 scope:global align:4 data:4byte
|
||||
mAllCenterX__8dMpath_c = .sbss:0x8053AAB0; // type:object size:0x4 scope:global align:4 data:float
|
||||
mAllCenterZ__8dMpath_c = .sbss:0x8053AAB4; // type:object size:0x4 scope:global align:4 data:float
|
||||
|
||||
@@ -63,6 +63,6 @@ lbl_238_data_104 = .data:0x00000104; // type:object size:0xD data:string
|
||||
@93851 = .data:0x00000114; // type:object size:0xC scope:local align:4
|
||||
__RTTI__12daE_TK_HIO_c = .data:0x00000120; // type:object size:0x8 scope:global align:4
|
||||
__global_destructor_chain = .bss:0x00000000; // type:object size:0x4 scope:global align:4
|
||||
lbl_238_bss_8 = .bss:0x00000008; // type:object size:0x1 data:byte
|
||||
hio_set = .bss:0x00000008; // type:object size:0x1 data:byte
|
||||
@93233 = .bss:0x0000000C; // type:object size:0xC scope:local align:4
|
||||
l_HIO = .bss:0x00000018; // type:object size:0x1C scope:global align:4 data:byte
|
||||
|
||||
@@ -58,6 +58,6 @@ lbl_239_data_D8 = .data:0x000000D8; // type:object size:0xE data:string
|
||||
@93703 = .data:0x000000E8; // type:object size:0xC scope:local align:4
|
||||
__RTTI__13daE_TK2_HIO_c = .data:0x000000F4; // type:object size:0x8 scope:global align:4
|
||||
__global_destructor_chain = .bss:0x00000000; // type:object size:0x4 scope:global align:4
|
||||
lbl_239_bss_8 = .bss:0x00000008; // type:object size:0x1 data:byte
|
||||
hio_set = .bss:0x00000008; // type:object size:0x1 data:byte
|
||||
@93233 = .bss:0x0000000C; // type:object size:0xC scope:local align:4
|
||||
l_HIO = .bss:0x00000018; // type:object size:0x1C scope:global align:4 data:byte
|
||||
|
||||
@@ -27776,9 +27776,9 @@ lbl_80520A98 = .sbss:0x80520A98; // type:object size:0x1 data:byte
|
||||
lbl_80520A99 = .sbss:0x80520A99; // type:object size:0x1 data:byte
|
||||
it$98965 = .sbss:0x80520A9C; // type:object size:0x4 scope:global align:4 data:4byte
|
||||
lbl_80520AA0 = .sbss:0x80520AA0; // type:object size:0x8 data:byte
|
||||
lbl_80520AA8 = .sbss:0x80520AA8; // type:object size:0x1 data:byte
|
||||
mNowStayFloorNo__10dMapInfo_c = .sbss:0x80520AA8; // type:object size:0x1 data:byte
|
||||
mNowStayRoomNo__10dMapInfo_c = .sbss:0x80520AAC; // type:object size:0x4 scope:global align:4 data:4byte
|
||||
lbl_80520AB0 = .sbss:0x80520AB0; // type:object size:0x1 data:byte
|
||||
mNowStayFloorNoDecisionFlg__10dMapInfo_c = .sbss:0x80520AB0; // type:object size:0x1 data:byte
|
||||
mLayerList__8dMpath_c = .sbss:0x80520AB4; // type:object size:0x4 scope:global align:4 data:4byte
|
||||
mAllCenterX__8dMpath_c = .sbss:0x80520AB8; // type:object size:0x4 scope:global align:4 data:float
|
||||
mAllCenterZ__8dMpath_c = .sbss:0x80520ABC; // type:object size:0x4 scope:global align:4 data:float
|
||||
|
||||
@@ -63,6 +63,6 @@ lbl_238_data_104 = .data:0x00000104; // type:object size:0xD data:string
|
||||
@93851 = .data:0x00000114; // type:object size:0xC scope:local align:4
|
||||
__RTTI__12daE_TK_HIO_c = .data:0x00000120; // type:object size:0x8 scope:global align:4
|
||||
__global_destructor_chain = .bss:0x00000000; // type:object size:0x4 scope:global align:4
|
||||
lbl_238_bss_8 = .bss:0x00000008; // type:object size:0x1 data:byte
|
||||
hio_set = .bss:0x00000008; // type:object size:0x1 data:byte
|
||||
@93233 = .bss:0x0000000C; // type:object size:0xC scope:local align:4
|
||||
l_HIO = .bss:0x00000018; // type:object size:0x1C scope:global align:4 data:byte
|
||||
|
||||
@@ -58,6 +58,6 @@ lbl_239_data_D8 = .data:0x000000D8; // type:object size:0xE data:string
|
||||
@93703 = .data:0x000000E8; // type:object size:0xC scope:local align:4
|
||||
__RTTI__13daE_TK2_HIO_c = .data:0x000000F4; // type:object size:0x8 scope:global align:4
|
||||
__global_destructor_chain = .bss:0x00000000; // type:object size:0x4 scope:global align:4
|
||||
lbl_239_bss_8 = .bss:0x00000008; // type:object size:0x1 data:byte
|
||||
hio_set = .bss:0x00000008; // type:object size:0x1 data:byte
|
||||
@93233 = .bss:0x0000000C; // type:object size:0xC scope:local align:4
|
||||
l_HIO = .bss:0x00000018; // type:object size:0x1C scope:global align:4 data:byte
|
||||
|
||||
@@ -27782,9 +27782,9 @@ lbl_8051E918 = .sbss:0x8051E918; // type:object size:0x1 data:byte
|
||||
lbl_8051E919 = .sbss:0x8051E919; // type:object size:0x1 data:byte
|
||||
it$98965 = .sbss:0x8051E91C; // type:object size:0x4 scope:local align:4 data:4byte
|
||||
lbl_8051E920 = .sbss:0x8051E920; // type:object size:0x8 data:byte
|
||||
lbl_8051E928 = .sbss:0x8051E928; // type:object size:0x1 data:byte
|
||||
mNowStayFloorNo__10dMapInfo_c = .sbss:0x8051E928; // type:object size:0x1 data:byte
|
||||
mNowStayRoomNo__10dMapInfo_c = .sbss:0x8051E92C; // type:object size:0x4 scope:global align:4 data:4byte
|
||||
lbl_8051E930 = .sbss:0x8051E930; // type:object size:0x1 data:byte
|
||||
mNowStayFloorNoDecisionFlg__10dMapInfo_c = .sbss:0x8051E930; // type:object size:0x1 data:byte
|
||||
mLayerList__8dMpath_c = .sbss:0x8051E934; // type:object size:0x4 scope:global align:4 data:4byte
|
||||
mAllCenterX__8dMpath_c = .sbss:0x8051E938; // type:object size:0x4 scope:global align:4 data:float
|
||||
mAllCenterZ__8dMpath_c = .sbss:0x8051E93C; // type:object size:0x4 scope:global align:4 data:float
|
||||
|
||||
@@ -63,6 +63,6 @@ lbl_238_data_104 = .data:0x00000104; // type:object size:0xD data:string
|
||||
@93851 = .data:0x00000114; // type:object size:0xC scope:local align:4
|
||||
__RTTI__12daE_TK_HIO_c = .data:0x00000120; // type:object size:0x8 scope:global align:4
|
||||
__global_destructor_chain = .bss:0x00000000; // type:object size:0x4 scope:global align:4
|
||||
lbl_238_bss_8 = .bss:0x00000008; // type:object size:0x1 data:byte
|
||||
hio_set = .bss:0x00000008; // type:object size:0x1 data:byte
|
||||
@93233 = .bss:0x0000000C; // type:object size:0xC scope:local align:4
|
||||
l_HIO = .bss:0x00000018; // type:object size:0x1C scope:global align:4 data:byte
|
||||
|
||||
@@ -58,6 +58,6 @@ lbl_239_data_D8 = .data:0x000000D8; // type:object size:0xE data:string
|
||||
@93703 = .data:0x000000E8; // type:object size:0xC scope:local align:4
|
||||
__RTTI__13daE_TK2_HIO_c = .data:0x000000F4; // type:object size:0x8 scope:global align:4
|
||||
__global_destructor_chain = .bss:0x00000000; // type:object size:0x4 scope:global align:4
|
||||
lbl_239_bss_8 = .bss:0x00000008; // type:object size:0x1 data:byte
|
||||
hio_set = .bss:0x00000008; // type:object size:0x1 data:byte
|
||||
@93233 = .bss:0x0000000C; // type:object size:0xC scope:local align:4
|
||||
l_HIO = .bss:0x00000018; // type:object size:0x1C scope:global align:4 data:byte
|
||||
|
||||
@@ -27667,9 +27667,9 @@ lbl_80521258 = .sbss:0x80521258; // type:object size:0x1 data:byte
|
||||
lbl_80521259 = .sbss:0x80521259; // type:object size:0x1 data:byte
|
||||
it$98965 = .sbss:0x8052125C; // type:object size:0x4 scope:local align:4 data:4byte
|
||||
lbl_80521260 = .sbss:0x80521260; // type:object size:0x8 data:byte
|
||||
lbl_80521268 = .sbss:0x80521268; // type:object size:0x1 data:byte
|
||||
mNowStayFloorNo__10dMapInfo_c = .sbss:0x80521268; // type:object size:0x1 data:byte
|
||||
mNowStayRoomNo__10dMapInfo_c = .sbss:0x8052126C; // type:object size:0x4 scope:global align:4 data:4byte
|
||||
lbl_80521270 = .sbss:0x80521270; // type:object size:0x1 data:byte
|
||||
mNowStayFloorNoDecisionFlg__10dMapInfo_c = .sbss:0x80521270; // type:object size:0x1 data:byte
|
||||
mLayerList__8dMpath_c = .sbss:0x80521274; // type:object size:0x4 scope:global align:4 data:4byte
|
||||
mAllCenterX__8dMpath_c = .sbss:0x80521278; // type:object size:0x4 scope:global align:4 data:float
|
||||
mAllCenterZ__8dMpath_c = .sbss:0x8052127C; // type:object size:0x4 scope:global align:4 data:float
|
||||
|
||||
@@ -62,5 +62,5 @@ __vt__12daE_TK_HIO_c = .data:0x000000D0; // type:object size:0xC scope:global
|
||||
@110122 = .data:0x000000DC; // type:object size:0xD scope:local data:string
|
||||
@110123 = .data:0x000000EC; // type:object size:0xC scope:local
|
||||
__RTTI__12daE_TK_HIO_c = .data:0x000000F8; // type:object size:0x8 scope:global
|
||||
lbl_235_bss_0 = .bss:0x00000000; // type:object size:0x1 data:byte
|
||||
hio_set = .bss:0x00000000; // type:object size:0x1 data:byte
|
||||
l_HIO = .bss:0x00000004; // type:object size:0x1C scope:global align:4 data:float
|
||||
|
||||
@@ -56,5 +56,5 @@ __vt__13daE_TK2_HIO_c = .data:0x000000D0; // type:object size:0xC scope:global
|
||||
@110028 = .data:0x000000DC; // type:object size:0xE scope:local data:string
|
||||
@110029 = .data:0x000000EC; // type:object size:0xC scope:local
|
||||
__RTTI__13daE_TK2_HIO_c = .data:0x000000F8; // type:object size:0x8 scope:global
|
||||
lbl_237_bss_0 = .bss:0x00000000; // type:object size:0x1 data:byte
|
||||
hio_set = .bss:0x00000000; // type:object size:0x1 data:byte
|
||||
l_HIO = .bss:0x00000004; // type:object size:0x1C scope:global align:4 data:float
|
||||
|
||||
@@ -25340,9 +25340,9 @@ lbl_80508C71 = .sbss:0x80508C71; // type:object size:0x1 data:byte hash:0x7EAE93
|
||||
@LOCAL@getDemoIDData__13dDemo_actor_cFPiPiPiPUsPUc@it@0 = .sbss:0x80508C74; // type:object size:0x4 scope:local data:4byte hash:0x7437A06F dhash:0xD35046F1
|
||||
lbl_80508C78 = .sbss:0x80508C78; // type:object size:0x1 data:byte hash:0xCB27AC4D dhash:0x3A9725EA
|
||||
sDrawStage = .sbss:0x80508C80; // type:object size:0x4 scope:global data:4byte hash:0x32D6CDF2
|
||||
lbl_80508C88 = .sbss:0x80508C88; // type:object size:0x1 data:byte hash:0xBAF1AF73 dhash:0x8E0D0072
|
||||
mNowStayFloorNo__10dMapInfo_c = .sbss:0x80508C88; // type:object size:0x1 data:byte hash:0xBAF1AF73 dhash:0x8E0D0072
|
||||
mNowStayRoomNo__10dMapInfo_c = .sbss:0x80508C8C; // type:object size:0x4 scope:global data:4byte hash:0xAB465BF4 dhash:0xA4A954B5
|
||||
lbl_80508C90 = .sbss:0x80508C90; // type:object size:0x1 data:byte hash:0x991A382E dhash:0x1A2339EF
|
||||
mNowStayFloorNoDecisionFlg__10dMapInfo_c = .sbss:0x80508C90; // type:object size:0x1 data:byte hash:0x991A382E dhash:0x1A2339EF
|
||||
mLayerList__8dMpath_c = .sbss:0x80508C94; // type:object size:0x4 scope:global data:4byte hash:0x10631C09 dhash:0x89F28E31
|
||||
mAllCenterX__8dMpath_c = .sbss:0x80508C98; // type:object size:0x4 scope:global align:4 data:float hash:0x4FEB5F9A dhash:0x67799F02
|
||||
mAllCenterZ__8dMpath_c = .sbss:0x80508C9C; // type:object size:0x4 scope:global align:4 data:float hash:0x1B7B1558 dhash:0x67799F00
|
||||
|
||||
@@ -104,5 +104,5 @@ lbl_231_data_238 = .data:0x00000238; // type:object size:0x24
|
||||
@118843 = .data:0x00000410; // type:object size:0xE scope:local data:string
|
||||
@118844 = .data:0x00000420; // type:object size:0xC scope:local
|
||||
@118845 = .data:0x00000444; // type:object size:0x11 scope:local data:string
|
||||
lbl_231_bss_0 = .bss:0x00000000; // type:object size:0x1 data:byte
|
||||
hio_set = .bss:0x00000000; // type:object size:0x1 data:byte
|
||||
l_HIO = .bss:0x00000004; // type:object size:0x1C scope:global data:byte
|
||||
|
||||
@@ -112,5 +112,5 @@ lbl_229_data_280 = .data:0x00000280; // type:object size:0x24
|
||||
@118960 = .data:0x00000458; // type:object size:0xE scope:local data:string
|
||||
@118961 = .data:0x00000468; // type:object size:0xC scope:local
|
||||
@118962 = .data:0x0000048C; // type:object size:0x11 scope:local data:string
|
||||
lbl_229_bss_0 = .bss:0x00000000; // type:object size:0x1 data:byte
|
||||
hio_set = .bss:0x00000000; // type:object size:0x1 data:byte
|
||||
l_HIO = .bss:0x00000004; // type:object size:0x1C scope:global data:byte
|
||||
|
||||
@@ -64390,9 +64390,9 @@ lbl_8074C6B3 = .sbss:0x8074C6B3; // type:object size:0x1 data:byte hash:0x7EAE93
|
||||
lbl_8074C6B8 = .sbss:0x8074C6B8; // type:object size:0x8 data:byte hash:0xCB27AC4D dhash:0x3A9725EA
|
||||
lbl_8074C6C0 = .sbss:0x8074C6C0; // type:object size:0x1 data:byte hash:0x04D34995
|
||||
mMySelfPointer__14dMapInfo_HIO_c = .sbss:0x8074C6C8; // type:object size:0x4 scope:global data:4byte hash:0x42174B45 dhash:0x5B0F4B00
|
||||
lbl_8074C6CC = .sbss:0x8074C6CC; // type:object size:0x1 data:byte hash:0xBAF1AF73 dhash:0x8E0D0072
|
||||
mNowStayFloorNo__10dMapInfo_c = .sbss:0x8074C6CC; // type:object size:0x1 data:byte hash:0xBAF1AF73 dhash:0x8E0D0072
|
||||
mNowStayRoomNo__10dMapInfo_c = .sbss:0x8074C6D0; // type:object size:0x4 scope:global data:4byte hash:0xAB465BF4 dhash:0xA4A954B5
|
||||
lbl_8074C6D4 = .sbss:0x8074C6D4; // type:object size:0x1 data:byte hash:0x991A382E dhash:0x1A2339EF
|
||||
mNowStayFloorNoDecisionFlg__10dMapInfo_c = .sbss:0x8074C6D4; // type:object size:0x1 data:byte hash:0x991A382E dhash:0x1A2339EF
|
||||
mLayerList__8dMpath_c = .sbss:0x8074C6D8; // type:object size:0x4 scope:global data:4byte hash:0x10631C09 dhash:0x89F28E31
|
||||
mAllCenterX__8dMpath_c = .sbss:0x8074C6DC; // type:object size:0x4 scope:global align:4 data:float hash:0x4FEB5F9A dhash:0x67799F02
|
||||
mAllCenterZ__8dMpath_c = .sbss:0x8074C6E0; // type:object size:0x4 scope:global align:4 data:float hash:0x1B7B1558 dhash:0x67799F00
|
||||
|
||||
+1
-1
@@ -621,7 +621,7 @@ config.libs = [
|
||||
Object(MatchingFor(ALL), "f_op/f_op_overlap.cpp"),
|
||||
Object(MatchingFor(ALL_GCN, ALL_WII, "Shield"), "f_op/f_op_overlap_mng.cpp"),
|
||||
Object(MatchingFor(ALL_GCN, ALL_WII, "ShieldD"), "f_op/f_op_overlap_req.cpp"),
|
||||
Object(MatchingFor(ALL_GCN, ALL_WII, "Shield"), "f_op/f_op_scene.cpp"),
|
||||
Object(MatchingFor(ALL), "f_op/f_op_scene.cpp"),
|
||||
Object(MatchingFor(ALL_GCN, "ShieldD"), "f_op/f_op_scene_iter.cpp"),
|
||||
Object(MatchingFor(ALL), "f_op/f_op_scene_mng.cpp"),
|
||||
Object(MatchingFor(ALL), "f_op/f_op_scene_req.cpp"),
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "JSystem/JGeometry.h"
|
||||
#include "JSystem/JUtility/TColor.h"
|
||||
#include "dolphin/mtx.h"
|
||||
#include <dolphin/mtx.h>
|
||||
|
||||
/**
|
||||
* @ingroup jsystem-j2d
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef J2DMANAGE_H
|
||||
#define J2DMANAGE_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
class JSUInputStream;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "JSystem/JGeometry.h"
|
||||
#include "JSystem/JSupport/JSUList.h"
|
||||
#include <dolphin/gx.h>
|
||||
#include "dolphin/mtx.h"
|
||||
#include <dolphin/mtx.h>
|
||||
|
||||
class J2DAnmBase;
|
||||
class J2DAnmColor;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define J2DTEVS_H
|
||||
|
||||
#include <dolphin/gx.h>
|
||||
#include "dolphin/mtx.h"
|
||||
#include <dolphin/mtx.h>
|
||||
#include "global.h"
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#ifndef J3DJOINT_H
|
||||
#define J3DJOINT_H
|
||||
|
||||
#include "JSystem/J3DGraphAnimator/J3DAnimation.h"
|
||||
#include "JSystem/J3DGraphBase/J3DTransform.h"
|
||||
#include "JSystem/J3DGraphBase/J3DMaterial.h"
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "JSystem/J3DGraphAnimator/J3DSkinDeform.h"
|
||||
#include "JSystem/J3DGraphBase/J3DPacket.h"
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
enum J3DMdlFlag {
|
||||
J3DMdlFlag_None = 0x0,
|
||||
|
||||
@@ -99,6 +99,10 @@ public:
|
||||
mShapeTable.hide();
|
||||
}
|
||||
|
||||
const void* getBinary() {
|
||||
return mpRawData;
|
||||
}
|
||||
|
||||
private:
|
||||
friend class J3DModelLoader;
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "JSystem/J3DGraphAnimator/J3DCluster.h"
|
||||
#include "JSystem/J3DGraphAnimator/J3DMtxBuffer.h"
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
class J3DModel;
|
||||
class J3DAnmCluster;
|
||||
|
||||
@@ -69,6 +69,7 @@ public:
|
||||
BOOL isDrawModeOpaTexEdge() { return (mMaterialMode & 3) ? 1 : 0; }
|
||||
J3DPEBlock* getPEBlock() { return mPEBlock; }
|
||||
void onInvalid() { mInvalid = 1; }
|
||||
u32 getInvalid() { return mInvalid; }
|
||||
u32 getTexGenNum() const { return mTexGenBlock->getTexGenNum(); }
|
||||
u8 getTevStageNum() const { return mTevBlock->getTevStageNum(); }
|
||||
J3DTexCoord* getTexCoord(u32 idx) { return mTexGenBlock->getTexCoord(idx); }
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#include "JSystem/J3DAssert.h"
|
||||
#include "JSystem/J3DGraphBase/J3DSys.h"
|
||||
#include "JSystem/J3DGraphBase/J3DEnum.h"
|
||||
#include "dolphin/gd/GDBase.h"
|
||||
#include "dolphin/mtx.h"
|
||||
#include <dolphin/gd/GDBase.h>
|
||||
#include <dolphin/mtx.h>
|
||||
#include <stdint.h>
|
||||
|
||||
class J3DMatPacket;
|
||||
|
||||
@@ -189,7 +189,7 @@ public:
|
||||
J3DMaterial* getMaterial() const { return mMaterial; }
|
||||
u16 getIndex() const { return mIndex; }
|
||||
u32 getTexMtxLoadType() const { return mFlags & 0xF000; }
|
||||
u32 getMtxGroupNum() const { return mMtxGroupNum; }
|
||||
u16 getMtxGroupNum() const { return mMtxGroupNum; }
|
||||
J3DShapeDraw* getShapeDraw(u16 idx) { return mShapeDraw[idx]; }
|
||||
J3DShapeMtx* getShapeMtx(u16 idx) { return mShapeMtx[idx]; }
|
||||
Vec* getMin() { return &mMin; }
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef J3DSHAPEDRAW_H
|
||||
#define J3DSHAPEDRAW_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
/**
|
||||
* @ingroup jsystem-j3d
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "JSystem/J3DGraphBase/J3DShape.h"
|
||||
#include "JSystem/J3DAssert.h"
|
||||
#include "dolphin/mtx.h"
|
||||
#include <dolphin/mtx.h>
|
||||
|
||||
class J3DTexMtx;
|
||||
class J3DTexGenBlock;
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
#define J3DSTRUCT_H
|
||||
|
||||
#include <dolphin/gx.h>
|
||||
#include "dolphin/mtx.h"
|
||||
#include "dolphin/mtx.h"
|
||||
#include <dolphin/mtx.h>
|
||||
#include <dolphin/mtx.h>
|
||||
#include "global.h"
|
||||
|
||||
/**
|
||||
|
||||
@@ -88,15 +88,6 @@ struct J3DSys {
|
||||
void setDrawModeOpaTexEdge() { mDrawMode = J3DSysDrawMode_OpaTexEdge; }
|
||||
void setDrawModeXlu() { mDrawMode = J3DSysDrawMode_Xlu; }
|
||||
|
||||
void* getVtxPos() { return mVtxPos; }
|
||||
void setVtxPos(void* pVtxPos) { mVtxPos = pVtxPos; }
|
||||
|
||||
void* getVtxNrm() { return mVtxNrm; }
|
||||
void setVtxNrm(void* pVtxNrm) { mVtxNrm = pVtxNrm; }
|
||||
|
||||
void* getVtxCol() { return mVtxCol; }
|
||||
void setVtxCol(GXColor* pVtxCol) { mVtxCol = pVtxCol; }
|
||||
|
||||
void setDrawBuffer(J3DDrawBuffer* buffer, int type) {
|
||||
J3D_ASSERT_RANGE(114, type >= 0 && type < J3DSysDrawBuf_MAX);
|
||||
J3D_ASSERT_NULLPTR(115, buffer);
|
||||
@@ -160,6 +151,19 @@ struct J3DSys {
|
||||
GXSetArray(GX_NRM_MTX_ARRAY, mModelNrmMtx, sizeof(*mModelNrmMtx));
|
||||
}
|
||||
|
||||
void* getVtxPos() { return mVtxPos; }
|
||||
|
||||
void setVtxPos(void* pVtxPos) {
|
||||
J3D_ASSERT_NULLPTR(252, pVtxPos != NULL);
|
||||
mVtxPos = pVtxPos;
|
||||
}
|
||||
|
||||
void* getVtxNrm() { return mVtxNrm; }
|
||||
void setVtxNrm(void* pVtxNrm) { mVtxNrm = pVtxNrm; }
|
||||
|
||||
void* getVtxCol() { return mVtxCol; }
|
||||
void setVtxCol(GXColor* pVtxCol) { mVtxCol = pVtxCol; }
|
||||
|
||||
Mtx& getModelDrawMtx(u16 no) { return mModelDrawMtx[no]; }
|
||||
J3DShapePacket* getShapePacket() { return mShapePacket; }
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef J3DTEVS_H
|
||||
#define J3DTEVS_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
#include <dolphin/gx.h>
|
||||
#include "JSystem/J3DGraphBase/J3DGD.h"
|
||||
#include "JSystem/J3DGraphBase/J3DStruct.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define J3DVERTEX_H
|
||||
|
||||
#include <dolphin/gx.h>
|
||||
#include "dolphin/mtx.h"
|
||||
#include <dolphin/mtx.h>
|
||||
|
||||
typedef struct _GXColor GXColor;
|
||||
class J3DModel;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define J3DMODELLOADER_H
|
||||
|
||||
#include "JSystem/J3DGraphBase/J3DSys.h"
|
||||
#include "dolphin/mtx.h"
|
||||
#include <dolphin/mtx.h>
|
||||
|
||||
class J3DModelData;
|
||||
class J3DMaterialTable;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#ifndef J3DMODELLOADERCALCSIZE_H
|
||||
#define J3DMODELLOADERCALCSIZE_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
#endif /* J3DMODELLOADERCALCSIZE_H */
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef J3DUCLIPPER_H
|
||||
#define J3DUCLIPPER_H
|
||||
|
||||
#include "dolphin/mtx.h"
|
||||
#include <dolphin/mtx.h>
|
||||
|
||||
/**
|
||||
* @ingroup jsystem-j3d
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef J3DUD_H
|
||||
#define J3DUD_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
namespace J3DUD {
|
||||
inline f32 JMAAbs(f32 x) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JAHFRAMENODE_H
|
||||
#define JAHFRAMENODE_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
#include "JSystem/JAHostIO/JAHioNode.h"
|
||||
|
||||
class JAHVirtualNode;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JAHIOMESSAGE_H
|
||||
#define JAHIOMESSAGE_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
class JAHioNode;
|
||||
class JORMContext;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JASAICTRL_H
|
||||
#define JASAICTRL_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
enum JASOutputRate {
|
||||
OUTPUT_RATE_0,
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "JSystem/JAudio2/JASTaskThread.h"
|
||||
#include "JSystem/JUtility/JUTAssert.h"
|
||||
#include "dolphin/dvd.h"
|
||||
#include <dolphin/dvd.h>
|
||||
|
||||
class JASChannel;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JASAUDIORESETER_H
|
||||
#define JASAUDIORESETER_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
/**
|
||||
* @ingroup jsystem-jaudio
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JASBANK_H
|
||||
#define JASBANK_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
class JASChannel;
|
||||
class JASInstParam;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JASBANKLIST_H
|
||||
#define JASBANKLIST_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
class JASBank;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JASCALC_H
|
||||
#define JASCALC_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
/**
|
||||
* @ingroup jsystem-jaudio
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JASCALLBACK_H
|
||||
#define JASCALLBACK_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
typedef s32 JASCallback(void*);
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JASDSPINTERFACE_H
|
||||
#define JASDSPINTERFACE_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
struct JASWaveInfo;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JASDVDTHREAD_H
|
||||
#define JASDVDTHREAD_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
class JASTaskThread;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JASLFO_H
|
||||
#define JASLFO_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
/**
|
||||
* @ingroup jsystem-jaudio
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JASOSCILLATOR_H
|
||||
#define JASOSCILLATOR_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
/**
|
||||
* @ingroup jsystem-jaudio
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JASPROBE_H
|
||||
#define JASPROBE_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
/**
|
||||
* @ingroup jsystem-jaudio
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JASREGISTERPARAM_H
|
||||
#define JASREGISTERPARAM_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
/**
|
||||
* @ingroup jsystem-jaudio
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JASSEQPARSER_H
|
||||
#define JASSEQPARSER_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
class JASTrack;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JASSEQREADER_H
|
||||
#define JASSEQREADER_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
/**
|
||||
* @ingroup jsystem-jaudio
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JASSOUNDPARAMS_H
|
||||
#define JASSOUNDPARAMS_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
/**
|
||||
* @ingroup jsystem-jaudio
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JASTRACKPORT_H
|
||||
#define JASTRACKPORT_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
/**
|
||||
* @ingroup jsystem-jaudio
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JASWAVEINFO_H
|
||||
#define JASWAVEINFO_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
class JASWaveArc;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JAUAUDIOARCINTERPRETER_H
|
||||
#define JAUAUDIOARCINTERPRETER_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
/**
|
||||
* @ingroup jsystem-jaudio
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JAUINITIALIZER_H
|
||||
#define JAUINITIALIZER_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
class JKRSolidHeap;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef DSPPROC_H
|
||||
#define DSPPROC_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
void DSPReleaseHalt2(u32 msg);
|
||||
void DsetupTable(u32 param_0, u32 param_1, u32 param_2, u32 param_3, u32 param_4);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef DSPTASK_H
|
||||
#define DSPTASK_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
void DspBoot(void (*)(void*));
|
||||
void DspFinishWork(u16 param_0);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JFWSYSTEM_H
|
||||
#define JFWSYSTEM_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
#include "JSystem/JUtility/JUTAssert.h"
|
||||
|
||||
typedef struct _GXRenderModeObj GXRenderModeObj;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JGEOMETRY_H
|
||||
#define JGEOMETRY_H
|
||||
|
||||
#include "dolphin/mtx.h"
|
||||
#include <dolphin/mtx.h>
|
||||
#include <cmath>
|
||||
#include "JSystem/JMath/JMath.h"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define JORENTRY_H
|
||||
|
||||
#include "JSystem/JHostIO/JHIComm.h"
|
||||
#include "dolphin/os.h"
|
||||
#include <dolphin/os.h>
|
||||
|
||||
template<typename T, int I>
|
||||
class JHIpvector {
|
||||
|
||||
@@ -187,4 +187,8 @@ inline void JORReleaseMContext(JORMContext* mctx) {
|
||||
JORServer::getInstance()->releaseMCTX(mctx);
|
||||
}
|
||||
|
||||
inline void JOR_ENABLEEVENTCALLBACKLIST(bool enable) {
|
||||
JORServer::getInstance()->enableEventCallbackList(enable);
|
||||
}
|
||||
|
||||
#endif /* JORSERVER_H */
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define JKRDVDFILE_H
|
||||
|
||||
#include "JSystem/JKernel/JKRFile.h"
|
||||
#include "dolphin/dvd.h"
|
||||
#include <dolphin/dvd.h>
|
||||
#include <dolphin/os.h>
|
||||
#include <dolphin/os.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JKRFILEFINDER_H
|
||||
#define JKRFILEFINDER_H
|
||||
|
||||
#include "dolphin/dvd.h"
|
||||
#include <dolphin/dvd.h>
|
||||
|
||||
/**
|
||||
* @ingroup jsystem-jkernel
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JMATRIGONOMETRIC_H
|
||||
#define JMATRIGONOMETRIC_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
#include <cmath>
|
||||
#include <utility>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JMATH_H
|
||||
#define JMATH_H
|
||||
|
||||
#include "dolphin/mtx.h"
|
||||
#include <dolphin/mtx.h>
|
||||
#include <cmath>
|
||||
|
||||
void JMAMTXApplyScale(const Mtx, Mtx, f32, f32, f32);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef RANDOM_H
|
||||
#define RANDOM_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
namespace JMath {
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JPADRAWINFO_H
|
||||
#define JPADRAWINFO_H
|
||||
|
||||
#include "dolphin/mtx.h"
|
||||
#include <dolphin/mtx.h>
|
||||
|
||||
/**
|
||||
* @ingroup jsystem-jparticle
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "JSystem/JGeometry.h"
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
class JPAEmitterWorkData;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JPAEMITTERMANAGER_H
|
||||
#define JPAEMITTERMANAGER_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
#include "JSystem/JParticle/JPAList.h"
|
||||
#include "JSystem/JParticle/JPADrawInfo.h"
|
||||
#include "JSystem/JSupport/JSUList.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JPAEXTEXSHAPE_H
|
||||
#define JPAEXTEXSHAPE_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
class JPAEmitterWorkData;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JPAEXTRASHAPE_H
|
||||
#define JPAEXTRASHAPE_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
class JPAEmitterWorkData;
|
||||
class JPABaseParticle;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define JPAFIELDBLOCK_H
|
||||
|
||||
#include "JSystem/JGeometry.h"
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
class JKRHeap;
|
||||
class JPAEmitterWorkData;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JPAKEYBLOCK_H
|
||||
#define JPAKEYBLOCK_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
/**
|
||||
* @ingroup jsystem-jparticle
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JPALIST_H
|
||||
#define JPALIST_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
/**
|
||||
* @ingroup jsystem-jparticle
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JPAMATH_H
|
||||
#define JPAMATH_H
|
||||
|
||||
#include "dolphin/mtx.h"
|
||||
#include <dolphin/mtx.h>
|
||||
#include "JSystem/JGeometry.h"
|
||||
|
||||
void JPAGetDirMtx(JGeometry::TVec3<f32> const& param_0, f32 (*param_1)[4]);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JPARANDOM_H
|
||||
#define JPARANDOM_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
/**
|
||||
* @ingroup jsystem-jparticle
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JPARESOURCE_H
|
||||
#define JPARESOURCE_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
class JKRHeap;
|
||||
class JPAEmitterWorkData;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JPARESOURCELOADER_H
|
||||
#define JPARESOURCELOADER_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
class JPAResourceManager;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JSGOBJECT_H
|
||||
#define JSGOBJECT_H
|
||||
|
||||
#include "dolphin/mtx.h"
|
||||
#include <dolphin/mtx.h>
|
||||
|
||||
namespace JStage {
|
||||
/**
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JSTUDIO_MATH_H
|
||||
#define JSTUDIO_MATH_H
|
||||
|
||||
#include "dolphin/mtx.h"
|
||||
#include <dolphin/mtx.h>
|
||||
#include <cmath>
|
||||
|
||||
#define m_PI_D 3.141592653589793
|
||||
|
||||
@@ -120,6 +120,12 @@ public:
|
||||
virtual void do_data(void const*, u32, void const*, u32);
|
||||
|
||||
TAdaptor* getAdaptor() const { return mpAdaptor; }
|
||||
|
||||
void setAdaptor(TAdaptor* pAdaptor) {
|
||||
mpAdaptor = pAdaptor;
|
||||
prepareAdaptor();
|
||||
}
|
||||
|
||||
TControl* getControl() { return (TControl*)stb::TObject::getControl(); }
|
||||
const TControl* getControl() const { return (const TControl*)stb::TObject::getControl(); }
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef OBJECT_ID_H
|
||||
#define OBJECT_ID_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
namespace JStudio {
|
||||
namespace object {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef STB_DATA_H
|
||||
#define STB_DATA_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include <dolphin/types.h>
|
||||
|
||||
namespace JStudio {
|
||||
namespace stb {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "JSystem/JGadget/linklist.h"
|
||||
#include "JSystem/JStudio/JStudio/object-id.h"
|
||||
#include "JSystem/JStudio/JStudio/stb-data-parse.h"
|
||||
#include "dolphin/os.h"
|
||||
#include <dolphin/os.h>
|
||||
|
||||
namespace JStudio {
|
||||
class TObject;
|
||||
|
||||
@@ -0,0 +1,217 @@
|
||||
#ifndef JSTUDIOCAMERAEDITOR_CONTROL_H
|
||||
#define JSTUDIOCAMERAEDITOR_CONTROL_H
|
||||
|
||||
#include "JSystem/JStudio/JStudio/jstudio-control.h"
|
||||
#include "JSystem/JStudio/JStudio/jstudio-object.h"
|
||||
#include "JSystem/JStudio/JStudioCameraEditor/csb.h"
|
||||
#include "JSystem/JStudio/JStudioCameraEditor/sequence.h"
|
||||
#include "JSystem/JStudio/JStudioCameraEditor/controlset-csb-valueset.h"
|
||||
#include "JSystem/JStudio/JStudioToolLibrary/controlset-preview.h"
|
||||
#include "JSystem/JStudio/JStudioToolLibrary/controlset-transform.h"
|
||||
#include "JSystem/JStudio/JStudioToolLibrary/console.h"
|
||||
#include "JSystem/JStudio/JStudioToolLibrary/interface.h"
|
||||
#include "JSystem/JStudio/JStudioToolLibrary/visual.h"
|
||||
#include "JSystem/JStudio/JStudioToolLibrary/scroll.h"
|
||||
#include "JSystem/JGadget/std-vector.h"
|
||||
#include "JSystem/JHostIO/JORServer.h"
|
||||
|
||||
namespace JStudioCameraEditor {
|
||||
struct TControl : public JORReflexible, public JOREventCallbackListNode {
|
||||
struct TSWValueWidth_ {
|
||||
TSWValueWidth_(uint, uint);
|
||||
|
||||
/* 0x0 */ uint field_0x0;
|
||||
/* 0x4 */ uint field_0x4;
|
||||
};
|
||||
|
||||
struct TOptionSet_ : public csb::TValueSet {
|
||||
TOptionSet_();
|
||||
|
||||
int getPadding_vertical_() const;
|
||||
int getPadding_horizontal_() const;
|
||||
int getMargin_horizontal_() const;
|
||||
|
||||
/* 0x02C */ int field_0x2c;
|
||||
/* 0x030 */ int field_0x30;
|
||||
/* 0x034 */ u8 field_0x34;
|
||||
/* 0x035 */ u8 field_0x35;
|
||||
/* 0x038 */ int field_0x38;
|
||||
/* 0x03C */ int field_0x3c;
|
||||
/* 0x040 */ int field_0x40;
|
||||
/* 0x044 */ u8 field_0x44;
|
||||
/* 0x045 */ u8 field_0x45;
|
||||
/* 0x048 */ f32 field_0x48;
|
||||
/* 0x04C */ f32 field_0x4c;
|
||||
/* 0x050 */ f32 field_0x50;
|
||||
/* 0x054 */ f32 field_0x54;
|
||||
/* 0x058 */ f32 field_0x58;
|
||||
/* 0x05C */ f32 field_0x5c;
|
||||
/* 0x060 */ f32 field_0x60;
|
||||
/* 0x064 */ f32 field_0x64;
|
||||
/* 0x068 */ f32 field_0x68;
|
||||
/* 0x06C */ f32 field_0x6c;
|
||||
/* 0x070 */ int field_0x70;
|
||||
/* 0x074 */ int field_0x74;
|
||||
/* 0x078 */ int field_0x78;
|
||||
/* 0x07C */ u8 field_0x7c;
|
||||
/* 0x07D */ u8 field_0x7d;
|
||||
/* 0x07E */ u8 field_0x7e;
|
||||
/* 0x07F */ u8 field_0x7f;
|
||||
/* 0x080 */ u8 field_0x80;
|
||||
/* 0x081 */ u8 field_0x81;
|
||||
/* 0x082 */ u8 field_0x82;
|
||||
/* 0x083 */ u8 field_0x83;
|
||||
/* 0x084 */ u8 field_0x84;
|
||||
/* 0x088 */ int field_0x88;
|
||||
/* 0x08C */ int field_0x8c;
|
||||
/* 0x090 */ int field_0x90;
|
||||
/* 0x094 */ int field_0x94;
|
||||
/* 0x098 */ f32 field_0x98;
|
||||
/* 0x09C */ f32 field_0x9c;
|
||||
/* 0x0A0 */ JUtility::TColor field_0xa0;
|
||||
/* 0x0A4 */ int field_0xa4;
|
||||
/* 0x0A8 */ int field_0xa8;
|
||||
/* 0x0AC */ int field_0xac;
|
||||
/* 0x0B0 */ f32 field_0xb0;
|
||||
/* 0x0B4 */ int field_0xb4;
|
||||
/* 0x0B8 */ int field_0xb8;
|
||||
/* 0x0BC */ int field_0xbc;
|
||||
/* 0x0C0 */ int field_0xc0;
|
||||
/* 0x0C4 */ int field_0xc4;
|
||||
/* 0x0C8 */ int field_0xc8;
|
||||
/* 0x0CC */ int field_0xcc;
|
||||
/* 0x0D0 */ int field_0xd0;
|
||||
/* 0x0D4 */ int field_0xd4;
|
||||
/* 0x0D8 */ int field_0xd8;
|
||||
/* 0x0DC */ int field_0xdc;
|
||||
/* 0x0E0 */ int field_0xe0;
|
||||
/* 0x0E4 */ int field_0xe4;
|
||||
/* 0x0E8 */ int field_0xe8;
|
||||
/* 0x0EC */ TSWValueWidth_ field_0xec;
|
||||
/* 0x0F4 */ TSWValueWidth_ field_0xf4;
|
||||
/* 0x0FC */ TSWValueWidth_ field_0xfc;
|
||||
/* 0x104 */ TSWValueWidth_ field_0x104;
|
||||
/* 0x10C */ JUtility::TColor field_0x10c;
|
||||
/* 0x110 */ JUtility::TColor field_0x110;
|
||||
/* 0x114 */ JUtility::TColor field_0x114;
|
||||
/* 0x118 */ JUtility::TColor field_0x118;
|
||||
/* 0x11C */ JUtility::TColor field_0x11c;
|
||||
/* 0x120 */ JUtility::TColor field_0x120;
|
||||
/* 0x124 */ JUtility::TColor field_0x124;
|
||||
/* 0x128 */ JUtility::TColor field_0x128;
|
||||
/* 0x12C */ JUtility::TColor field_0x12c;
|
||||
/* 0x130 */ JUtility::TColor field_0x130;
|
||||
/* 0x134 */ JUtility::TColor field_0x134;
|
||||
/* 0x138 */ JUtility::TColor field_0x138;
|
||||
/* 0x13C */ JUtility::TColor field_0x13c;
|
||||
/* 0x140 */ JUtility::TColor field_0x140;
|
||||
/* 0x144 */ JUtility::TColor field_0x144;
|
||||
/* 0x148 */ JStudioToolLibrary::TColor_variable::TVelocity field_0x148;
|
||||
/* 0x158 */ JStudioToolLibrary::TColor_variable::TVelocity field_0x158;
|
||||
/* 0x168 */ JStudioToolLibrary::TColor_variable::TVelocity field_0x168;
|
||||
/* 0x178 */ JStudioToolLibrary::TColor_variable::TVelocity field_0x178;
|
||||
/* 0x188 */ JStudioToolLibrary::TColor_variable::TVelocity field_0x188;
|
||||
/* 0x198 */ JStudioToolLibrary::TColor_variable::TVelocity field_0x198;
|
||||
/* 0x1A8 */ int field_0x1a8;
|
||||
/* 0x1AC */ int field_0x1ac;
|
||||
};
|
||||
|
||||
struct TAdaptor_preview_ : public JStudioToolLibrary::TControlSet_preview::TAdaptor {
|
||||
TAdaptor_preview_(TControl*);
|
||||
|
||||
virtual bool do_isReady();
|
||||
virtual void do_begin();
|
||||
virtual void do_end();
|
||||
virtual void do_current(u32, s32);
|
||||
virtual ~TAdaptor_preview_();
|
||||
|
||||
/* 0x4 */ TControl* pControl_;
|
||||
};
|
||||
|
||||
enum TECommand {};
|
||||
|
||||
TControl();
|
||||
|
||||
void jstudio_setSecondPerFrame(double param_0) {
|
||||
oJSTControl_.setSecondPerFrame(param_0);
|
||||
}
|
||||
|
||||
void show_setRender(J2DOrthoGraph* pOrthoGraph, JUTFont* pFont) {
|
||||
field_0x3cc.setRender(pOrthoGraph);
|
||||
oPrint_.setFont(pFont);
|
||||
}
|
||||
|
||||
void interface_setPad(const JUTGamePad* pPad) {
|
||||
oPad_.setPad(pPad);
|
||||
}
|
||||
|
||||
void jstudio_setAdaptor(JStudio::TAdaptor_camera* pAdaptor) {
|
||||
field_0x608.setAdaptor(pAdaptor);
|
||||
}
|
||||
|
||||
bool isEnabled() const { return bEnabled_; }
|
||||
|
||||
virtual void listenPropertyEvent(const JORPropertyEvent*);
|
||||
virtual void genMessage(JORMContext*);
|
||||
|
||||
virtual int JORAct(u32, const char*);
|
||||
virtual ~TControl();
|
||||
virtual void update();
|
||||
virtual void show2D();
|
||||
virtual void show3D(const Mtx);
|
||||
virtual int command(TECommand, const char*);
|
||||
|
||||
/* 0x018 */ JStudioToolLibrary::TConsole field_0x18;
|
||||
/* 0x020 */ TOptionSet_ oOptionSet_;
|
||||
/* 0x1D0 */ TAdaptor_preview_ field_0x1d0;
|
||||
/* 0x1D8 */ bool bEnabled_;
|
||||
/* 0x1DC */ int field_0x1dc;
|
||||
/* 0x1E0 */ JStudioToolLibrary::TControlSet_preview oPreviewControl_;
|
||||
/* 0x218 */ TControlSet_csb_valueSet field_0x218;
|
||||
/* 0x260 */ TControlSet_csb_valueSet field_0x260;
|
||||
/* 0x2A8 */ JStudioToolLibrary_JStudio::TControlSet_transform oTransformControl_;
|
||||
/* 0x2D4 */ TSequenceContainer oSequenceContainer_;
|
||||
/* 0x2E8 */ csb::TValueSet field_0x2e8;
|
||||
/* 0x314 */ JGadget::TVector<csb::TValueSet, JGadget::TAllocator<csb::TValueSet> > field_0x314;
|
||||
/* 0x328 */ TSequenceContainer field_0x328;
|
||||
/* 0x33C */ u8 field_0x33C[0x36C - 0x33C];
|
||||
/* 0x36C */ int field_0x36c;
|
||||
/* 0x370 */ u8 field_0x370;
|
||||
/* 0x371 */ u8 field_0x371;
|
||||
/* 0x372 */ u8 field_0x372;
|
||||
/* 0x373 */ u8 field_0x373;
|
||||
/* 0x374 */ u8 field_0x374;
|
||||
/* 0x378 */ int field_0x378;
|
||||
/* 0x37C */ u8 field_0x37c;
|
||||
/* 0x380 */ int field_0x380;
|
||||
/* 0x384 */ int field_0x384[2];
|
||||
/* 0x38C */ JGadget::TLinkList<csb::TSequence, 0>::iterator itIFSequence_;
|
||||
/* 0x390 */ u32 uitIFSequence_;
|
||||
/* 0x394 */ csb::TValueSet* itIFValueSet_;
|
||||
/* 0x398 */ csb::TValueSet* uitIFValueSet_;
|
||||
/* 0x39C */ JStudioToolLibrary::TPad oPad_;
|
||||
/* 0x3A0 */ JStudioToolLibrary::TPad::TData oPadData_;
|
||||
/* 0x3C8 */ bool bIsPad_applied_;
|
||||
/* 0x3CC */ JStudioToolLibrary::TDrawPrimitive2D field_0x3cc;
|
||||
/* 0x3D0 */ JStudioToolLibrary::TDrawPrimitive3D field_0x3d0;
|
||||
/* 0x3D8 */ JStudioToolLibrary::TPrint oPrint_;
|
||||
/* 0x3EC */ bool bVisible2D_;
|
||||
/* 0x3ED */ bool bVisible3D_;
|
||||
/* 0x3F0 */ JStudioToolLibrary::TScroll_drawBar_horizontal field_0x3f0;
|
||||
/* 0x428 */ JStudioToolLibrary::TScroll_drawBar_horizontal field_0x428;
|
||||
/* 0x460 */ int field_0x460;
|
||||
/* 0x464 */ int field_0x464;
|
||||
/* 0x468 */ JStudioToolLibrary::TColor_variable field_0x468;
|
||||
/* 0x47C */ JStudioToolLibrary::TColor_variable field_0x47c;
|
||||
/* 0x490 */ JStudioToolLibrary::TColor_variable field_0x490;
|
||||
/* 0x4A4 */ JStudioToolLibrary::TColor_variable field_0x4a4;
|
||||
/* 0x4B8 */ JStudioToolLibrary::TColor_variable field_0x4b8;
|
||||
/* 0x4CC */ JStudioToolLibrary::TColor_variable field_0x4cc;
|
||||
/* 0x4E0 */ u8 field_0x4E0[0x4F8 - 0x4E0];
|
||||
/* 0x4F8 */ JStudio::TControl oJSTControl_;
|
||||
/* 0x608 */ JStudio::TObject_camera field_0x608;
|
||||
/* 0x640 */ u8 field_0x640;
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,16 @@
|
||||
#ifndef JSTUDIOCAMERAEDITOR_CONTROLSET_CSB_VALUESET_H
|
||||
#define JSTUDIOCAMERAEDITOR_CONTROLSET_CSB_VALUESET_H
|
||||
|
||||
#include "JSystem/JStudio/JStudioToolLibrary/controlset.h"
|
||||
#include "JSystem/JStudio/JStudioCameraEditor/csb.h"
|
||||
|
||||
namespace JStudioCameraEditor {
|
||||
struct TControlSet_csb_valueSet : public JStudioToolLibrary::TControlSet {
|
||||
/* 0x14 */ bool bChanged_;
|
||||
/* 0x15 */ u8 field_0x15;
|
||||
/* 0x18 */ csb::TValueSet* pValueSet_;
|
||||
/* 0x1C */ csb::TValueSet field_0x1c;
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,77 @@
|
||||
#ifndef JSTUDIOCAMERAEDITOR_CSB_H
|
||||
#define JSTUDIOCAMERAEDITOR_CSB_H
|
||||
|
||||
#include <dolphin/mtx.h>
|
||||
#include "JSystem/JGadget/linklist.h"
|
||||
#include "JSystem/JGadget/std-vector.h"
|
||||
#include "JSystem/JStudio/JStudio/functionvalue.h"
|
||||
|
||||
namespace JStudioCameraEditor {
|
||||
namespace csb {
|
||||
namespace data {
|
||||
enum TEValue {};
|
||||
}
|
||||
|
||||
struct TValueSet {
|
||||
TValueSet();
|
||||
TValueSet(const TValueSet&);
|
||||
|
||||
void set(data::TEValue, f32);
|
||||
void setVector_targetPosition(const Vec&);
|
||||
void setVector_position(const Vec&);
|
||||
void setApplied(data::TEValue, bool);
|
||||
void getVector_targetPosition_relativePosition(Vec*) const;
|
||||
void getVector_targetPosition(Vec*) const;
|
||||
void getVector_position(Vec*) const;
|
||||
void getVector_up(Vec*) const;
|
||||
f32 getValue(data::TEValue) const;
|
||||
void setTime(u32);
|
||||
u32 getTime() const;
|
||||
void setVector_position_relativeTargetPosition(const Vec&);
|
||||
void getVector_position_relativeTargetPosition(Vec*) const;
|
||||
void setVector_targetPosition_relativePosition(const Vec&);
|
||||
void addValue(data::TEValue, f32);
|
||||
void set(const TValueSet&, uint);
|
||||
bool isApplied(data::TEValue) const;
|
||||
|
||||
/* 0x00 */ f32 fValue_[8];
|
||||
/* 0x20 */ bool bApplied_[8];
|
||||
/* 0x28 */ u32 uTime_;
|
||||
};
|
||||
|
||||
struct TSequence : public JGadget::TLinkListNode {
|
||||
TSequence(u32);
|
||||
~TSequence();
|
||||
|
||||
JGadget::TVector<TValueSet, JGadget::TAllocator<TValueSet> >& referValueSetContainer();
|
||||
void getValueSetContainer() const;
|
||||
void setInterpolate(JStudio::TFunctionValue::TEInterpolate);
|
||||
JStudio::TFunctionValue::TEInterpolate getInterpolate() const;
|
||||
void setTime(u32);
|
||||
u32 getTime() const;
|
||||
void setTime_begin(u32);
|
||||
u32 getTime_begin() const;
|
||||
void assign(const TSequence&);
|
||||
u32 getTime_valueSet_all() const;
|
||||
u32 getTime_actual(u32*) const;
|
||||
u32 getTime_begin_actual_(u32) const;
|
||||
bool getFunctionValue(JStudio::TFunctionValue_list_parameter*, JGadget::TVector<f32, JGadget::TAllocator<f32> >*, data::TEValue, double) const;
|
||||
u32 getFunctionValueDataNumberNeeded() const;
|
||||
|
||||
/* 0x08 */ JGadget::TVector<TValueSet, JGadget::TAllocator<TValueSet> > oContainer_;
|
||||
/* 0x1C */ u32 uTime_;
|
||||
/* 0x20 */ u32 uTimeBegin_;
|
||||
/* 0x24 */ JStudio::TFunctionValue::TEInterpolate eInterpolate_;
|
||||
};
|
||||
|
||||
struct TSequenceContainer : public JGadget::TLinkList_factory<TSequence, 0> {
|
||||
TSequenceContainer();
|
||||
|
||||
virtual ~TSequenceContainer();
|
||||
virtual TSequence* Do_create();
|
||||
virtual void Do_destroy(TSequence*);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,20 @@
|
||||
#ifndef JSTUDIOCAMERAEDITOR_SEQUENCE_H
|
||||
#define JSTUDIOCAMERAEDITOR_SEQUENCE_H
|
||||
|
||||
#include "JSystem/JStudio/JStudioCameraEditor/csb.h"
|
||||
|
||||
namespace JStudioCameraEditor {
|
||||
struct TSequenceContainer : public csb::TSequenceContainer {
|
||||
TSequenceContainer();
|
||||
|
||||
int GetSequenceValueSetDefaultNumber();
|
||||
|
||||
virtual ~TSequenceContainer();
|
||||
virtual csb::TSequence* Do_create();
|
||||
virtual void Do_destroy(csb::TSequence*);
|
||||
|
||||
/* 0x10 */ int field_0x10;
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,39 @@
|
||||
#ifndef JSTUDIOTOOLLIBRARY_ANCHOR_H
|
||||
#define JSTUDIOTOOLLIBRARY_ANCHOR_H
|
||||
|
||||
#include "JSystem/JStudio/JStudioToolLibrary/scroll.h"
|
||||
|
||||
namespace JStudioToolLibrary {
|
||||
enum TEAnchor {
|
||||
|
||||
};
|
||||
|
||||
struct TPoint {
|
||||
TPoint(const TPoint&);
|
||||
TPoint(int, int);
|
||||
|
||||
void setX(int);
|
||||
void setY(int);
|
||||
|
||||
int getX() const;
|
||||
int getY() const;
|
||||
|
||||
/* 0x0 */ int iX_;
|
||||
/* 0x4 */ int iY_;
|
||||
};
|
||||
|
||||
struct TAnchor_corner {
|
||||
TAnchor_corner(TEAnchor, int, int);
|
||||
|
||||
void setAnchor(TEAnchor);
|
||||
void setAnchorPosition(const TPoint&);
|
||||
void getPosition(TPoint*, const TRectangle&, int, int) const;
|
||||
TEAnchor getAnchor() const;
|
||||
TPoint* getAnchorPosition() const;
|
||||
|
||||
/* 0x0 */ TEAnchor eAnchor_;
|
||||
/* 0x4 */ TPoint oAnchorPosition_;
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,87 @@
|
||||
#ifndef JSTUDIOTOOLLIBRARY_CONSOLE_H
|
||||
#define JSTUDIOTOOLLIBRARY_CONSOLE_H
|
||||
|
||||
#include "JSystem/JKernel/JKRHeap.h"
|
||||
#include "JSystem/JHostIO/JORReflexible.h"
|
||||
#include "JSystem/JUtility/TColor.h"
|
||||
|
||||
namespace JStudioToolLibrary {
|
||||
struct JORValPrpEvent {};
|
||||
struct JORStrValPrpEvent {};
|
||||
|
||||
struct TConsole {
|
||||
TConsole(const char*, JORReflexible*);
|
||||
|
||||
u32 memory_allocate_available(JKRHeap*, double, u32*);
|
||||
bool memory_isAllocatable(JKRHeap*);
|
||||
bool memory_isAllocatable(JKRHeap*, u32);
|
||||
bool memory_isAllocatable_available(JKRHeap*, double, u32*);
|
||||
bool memory_allocate(JKRHeap*, u32);
|
||||
|
||||
void control_enable(const u32*, bool);
|
||||
void control_enable(u32, bool);
|
||||
void control_setStyle(u32, u32);
|
||||
void control_generateRadioButton(JORMContext*, u32, const char*, const char*, int);
|
||||
void control_generateSelectList(JORMContext*, u32, const char*, uint, const char*, int);
|
||||
void control_generateLabel(JORMContext*, u32, const char*);
|
||||
void control_getRadioButton(const JORValPrpEvent*);
|
||||
void control_isCheckBox(const JORValPrpEvent*);
|
||||
void control_getSelectList(const JORValPrpEvent*);
|
||||
void control_generateEditBox_float(JORMContext*, u32, const char*, const f32&);
|
||||
void control_generateEditBox_uint(JORMContext*, u32, const char*, const uint&);
|
||||
void control_generateTitle(JORMContext*, const char*) const;
|
||||
void control_generateSeparator(JORMContext*, const char*);
|
||||
void control_setCheckBox(u32, bool);
|
||||
void control_generateRadioButton_style(JORMContext*, u32, u32, const char*, const char**, int);
|
||||
void control_setRadioButton(u32, int);
|
||||
void control_generateSelectList_style(JORMContext*, u32, u32, const char*, uint, const char**, int);
|
||||
void control_setSelectList(u32, int);
|
||||
void control_generateLabel_style(JORMContext*, u32, u32, const char*);
|
||||
void control_generateEditBox_style(JORMContext*, u32, u32, const char*, const char*);
|
||||
void control_generateEditBox_style_int(JORMContext*, u32, u32, const char*, const int&);
|
||||
void control_generateEditBox_style_uint(JORMContext*, u32, u32, const char*, const uint&);
|
||||
void control_generateEditBox_style_float(JORMContext*, u32, u32, const char*, const f32&);
|
||||
void control_generateEditBox_style_RGBA(JORMContext*, u32, u32, const char*, JUtility::TColor);
|
||||
void control_generateEditBox_int(JORMContext*, u32, const char*, const int&);
|
||||
void control_setEditBox(u32, const char*);
|
||||
void control_setEditBox_f(u32, const char*, ...);
|
||||
void control_setEditBox_f_va(u32, const char*, va_list);
|
||||
void control_setEditBox_int(u32, const int&);
|
||||
void control_setEditBox_uint(u32, const uint&);
|
||||
void control_setEditBox_float(u32, const f32&);
|
||||
void control_setEditBox_RGBA(u32, const JUtility::TColor&);
|
||||
void control_replyEditBox_int(const JORStrValPrpEvent*, int*);
|
||||
void control_replyEditBox_uint(const JORStrValPrpEvent*, uint*);
|
||||
void control_replyEditBox_float(const JORStrValPrpEvent*, f32*);
|
||||
void control_replyEditBox_float_not(const JORStrValPrpEvent*, f32*, const f32&);
|
||||
void control_replyEditBox_float_greaterEqual(const JORStrValPrpEvent*, f32*, const f32&);
|
||||
void control_replyEditBox_RGBA(const JORStrValPrpEvent*, JUtility::TColor*);
|
||||
void control_forceEditBox(u32, const char*, const char*);
|
||||
|
||||
void control_replyEditBox_float_range(const JORStrValPrpEvent*, f32*, const f32&, const f32&);
|
||||
void control_replyEditBox_uint_range(const JORStrValPrpEvent*, uint*, const uint&, const uint&);
|
||||
|
||||
bool parseValue_int(const char*, int*);
|
||||
bool parseValue_uint(const char*, uint*);
|
||||
bool parseValue_float(const char*, f32*);
|
||||
bool parseValue_double(const char*, double*);
|
||||
bool parseValue_RGBA(const char*, JUtility::TColor*);
|
||||
bool parseValueList_float(const char*, char, f32*, f32*);
|
||||
|
||||
int openMessageBox(uint, const char*);
|
||||
int openMessageBox_f(uint, const char*, ...);
|
||||
int openMessageBox_f_va(uint, const char*, va_list);
|
||||
bool openBrowser(const char*);
|
||||
|
||||
void toValue_style_(u32);
|
||||
void getValueString_int(char*, u32, int);
|
||||
void getValueString_uint(char*, u32, uint);
|
||||
void getValueString_float(char*, u32, f32);
|
||||
void getValueString_RGBA(char*, u32, const JUtility::TColor&);
|
||||
|
||||
/* 0x0 */ char* szTitle_;
|
||||
/* 0x4 */ JORReflexible* pReflexible_;
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,81 @@
|
||||
#ifndef JSTUDIOTOOLLIBRARY_CONTROLSET_PREVIEW_H
|
||||
#define JSTUDIOTOOLLIBRARY_CONTROLSET_PREVIEW_H
|
||||
|
||||
#include "JSystem/JStudio/JStudioToolLibrary/controlset.h"
|
||||
|
||||
namespace JStudioToolLibrary {
|
||||
struct TControlSet_preview : public TControlSet {
|
||||
struct TAdaptor {
|
||||
virtual bool do_isReady();
|
||||
virtual void do_begin();
|
||||
virtual void do_end();
|
||||
virtual void do_current(u32, s32);
|
||||
};
|
||||
|
||||
enum TEPreview {};
|
||||
|
||||
TControlSet_preview(TConsole*, u32, uint, TAdaptor*);
|
||||
|
||||
void preview_start();
|
||||
void preview_stop();
|
||||
void preview_rewind();
|
||||
void preview_step();
|
||||
void preview_pause();
|
||||
void preview_play();
|
||||
bool isPreview_stop() const;
|
||||
u32 getTime() const;
|
||||
u8 isTime_end() const;
|
||||
void update();
|
||||
void forwardTime_next_();
|
||||
int getTime_step() const;
|
||||
void adaptor_current_(u32, s32);
|
||||
void flushTime_();
|
||||
void setTime_(u32);
|
||||
void value_setTime_(u32);
|
||||
void preview(TEPreview);
|
||||
void adaptor_begin_();
|
||||
void resetTime_();
|
||||
bool adaptor_isReady_();
|
||||
u32 getControlStyle_time_end_() const;
|
||||
u32 getControlStyle_time_() const;
|
||||
void adaptor_end_();
|
||||
void control_updateTime_();
|
||||
void control_generate_preview(JORMContext*, TControlSet*, const TControl&);
|
||||
void control_reply_preview(const JORPropertyEvent*, TControlSet*, const TControl&);
|
||||
void control_update_preview(TControlSet*, const TControl&);
|
||||
void control_generate_preview_rewind(JORMContext*, TControlSet*, const TControl&);
|
||||
void control_reply_preview_rewind(const JORPropertyEvent*, TControlSet*, const TControl&);
|
||||
void control_update_preview_rewind(TControlSet*, const TControl&);
|
||||
void control_generate_preview_play(JORMContext*, TControlSet*, const TControl&);
|
||||
void control_reply_preview_play(const JORPropertyEvent*, TControlSet*, const TControl&);
|
||||
void control_update_preview_play(TControlSet*, const TControl&);
|
||||
void control_generate_preview_step(JORMContext*, TControlSet*, const TControl&);
|
||||
void control_reply_preview_step(const JORPropertyEvent*, TControlSet*, const TControl&);
|
||||
void control_update_preview_step(TControlSet*, const TControl&);
|
||||
void control_generate_time(JORMContext*, TControlSet*, const TControl&);
|
||||
void control_reply_time(const JORPropertyEvent*, TControlSet*, const TControl&);
|
||||
void control_update_time(TControlSet*, const TControl&);
|
||||
void control_generate_time_end(JORMContext*, TControlSet*, const TControl&);
|
||||
u32 getTime_end() const;
|
||||
void control_reply_time_end(const JORPropertyEvent*, TControlSet*, const TControl&);
|
||||
void control_update_time_end(TControlSet*, const TControl&);
|
||||
void control_generate_time_step(JORMContext*, TControlSet*, const TControl&);
|
||||
void control_reply_time_step(const JORPropertyEvent*, TControlSet*, const TControl&);
|
||||
void setTime_step(u32);
|
||||
void control_updateTime_step();
|
||||
void value_setTime_step(u32);
|
||||
void control_update_time_step(TControlSet*, const TControl&);
|
||||
|
||||
/* 0x14 */ u8 field_0x14;
|
||||
/* 0x18 */ int field_0x18;
|
||||
/* 0x1C */ u32 uTime_;
|
||||
/* 0x20 */ u32 field_0x20;
|
||||
/* 0x24 */ int field_0x24;
|
||||
/* 0x28 */ u32 field_0x28;
|
||||
/* 0x2C */ int iTimeStep_;
|
||||
/* 0x30 */ u8 bTimeEnd_;
|
||||
/* 0x34 */ TAdaptor* pAdaptor_;
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,54 @@
|
||||
#ifndef JSTUDIOTOOLLIBRARY_CONTROLSET_TRANSFORM_H
|
||||
#define JSTUDIOTOOLLIBRARY_CONTROLSET_TRANSFORM_H
|
||||
|
||||
#include "JSystem/JStudio/JStudioToolLibrary/controlset.h"
|
||||
#include "JSystem/JStudio/JStudio/jstudio-control.h"
|
||||
|
||||
namespace JStudioToolLibrary_JStudio {
|
||||
struct TControlSet_transform : public JStudioToolLibrary::TControlSet {
|
||||
TControlSet_transform(JStudioToolLibrary::TConsole*, u32, JStudio::TControl);
|
||||
|
||||
void resetOrigin();
|
||||
void setOrigin(const Vec&, f32);
|
||||
void setEnabled(bool);
|
||||
|
||||
JStudio::TControl* jstudio_getControl() const;
|
||||
void jstudio_setControl(JStudio::TControl*);
|
||||
|
||||
void control_updateEnabled();
|
||||
void value_setEnabled(bool);
|
||||
void control_updateOrigin();
|
||||
void value_setOrigin(const Vec&, f32);
|
||||
bool setOrigin(const char*);
|
||||
bool setOrigin_TxyzRy_(TControlSet_transform*, const char*);
|
||||
void control_generate_float_(JORMContext*, TControlSet_transform*, const JStudioToolLibrary::TControlSet::TControl&, f32);
|
||||
void control_reply_float_(const JORPropertyEvent*, TControlSet_transform*, f32*);
|
||||
void control_update_float_(TControlSet_transform*, const JStudioToolLibrary::TControlSet::TControl&, f32);
|
||||
void control_generate_enable(JORMContext*, TControlSet_transform*, const JStudioToolLibrary::TControlSet::TControl&);
|
||||
bool isEnabled() const;
|
||||
void control_reply_enable(const JORPropertyEvent*, TControlSet_transform*, const JStudioToolLibrary::TControlSet::TControl&);
|
||||
void control_update_enable(TControlSet_transform*, const JStudioToolLibrary::TControlSet::TControl&);
|
||||
void control_generate_origin_translationX(JORMContext*, TControlSet_transform*, const JStudioToolLibrary::TControlSet::TControl&);
|
||||
void control_reply_origin_translationX(const JORPropertyEvent*, TControlSet_transform*, const JStudioToolLibrary::TControlSet::TControl&);
|
||||
void control_update_origin_translationX(TControlSet_transform*, const JStudioToolLibrary::TControlSet::TControl&);
|
||||
void control_generate_origin_translationY(JORMContext*, TControlSet_transform*, const JStudioToolLibrary::TControlSet::TControl&);
|
||||
void control_reply_origin_translationY(const JORPropertyEvent*, TControlSet_transform*, const JStudioToolLibrary::TControlSet::TControl&);
|
||||
void control_update_origin_translationY(TControlSet_transform*, const JStudioToolLibrary::TControlSet::TControl&);
|
||||
void control_generate_origin_translationZ(JORMContext*, TControlSet_transform*, const JStudioToolLibrary::TControlSet::TControl&);
|
||||
void control_reply_origin_translationZ(const JORPropertyEvent*, TControlSet_transform*, const JStudioToolLibrary::TControlSet::TControl&);
|
||||
void control_update_origin_translationZ(TControlSet_transform*, const JStudioToolLibrary::TControlSet::TControl&);
|
||||
void control_generate_origin_rotationY(JORMContext*, TControlSet_transform*, const JStudioToolLibrary::TControlSet::TControl&);
|
||||
void control_reply_origin_rotationY(const JORPropertyEvent*, TControlSet_transform*, const JStudioToolLibrary::TControlSet::TControl&);
|
||||
void control_update_origin_rotationY(TControlSet_transform*, const JStudioToolLibrary::TControlSet::TControl&);
|
||||
void control_generate_origin_reset(JORMContext*, TControlSet_transform*, const JStudioToolLibrary::TControlSet::TControl&);
|
||||
void control_reply_origin_reset(const JORPropertyEvent*, TControlSet_transform*, const JStudioToolLibrary::TControlSet::TControl&);
|
||||
void control_update_origin_reset(TControlSet_transform*, const JStudioToolLibrary::TControlSet::TControl&);
|
||||
|
||||
/* 0x14 */ bool bEnabled_;
|
||||
/* 0x18 */ TControl* pControl_;
|
||||
/* 0x1C */ Vec field_0x1c;
|
||||
/* 0x28 */ f32 field_0x28;
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,63 @@
|
||||
#ifndef JSTUDIOTOOLLIBRARY_CONTROLSET_H
|
||||
#define JSTUDIOTOOLLIBRARY_CONTROLSET_H
|
||||
|
||||
#include "JSystem/JStudio/JStudioToolLibrary/console.h"
|
||||
|
||||
namespace JStudioToolLibrary {
|
||||
struct TControlSet {
|
||||
struct TControl {
|
||||
typedef void* (*generateFn)(JORMContext*, TControlSet*, const TControl&);
|
||||
typedef void* (*replyFn)(const JORPropertyEvent*, TControlSet*, const TControl&);
|
||||
typedef void* (*updateFn)(TControlSet*, const TControl&);
|
||||
|
||||
TControl();
|
||||
TControl(const char*, generateFn, replyFn, updateFn);
|
||||
|
||||
void update(TControlSet*) const;
|
||||
void reply(const JORPropertyEvent*, TControlSet*) const;
|
||||
void generate(JORMContext*, TControlSet*) const;
|
||||
bool isEnd() const;
|
||||
const char* getLabel() const;
|
||||
int getID(const TControlSet&) const;
|
||||
void setStyle(TControlSet*, u32) const;
|
||||
|
||||
/* 0x00 */ char* szLabel_;
|
||||
/* 0x04 */ void* pfnGenerate_;
|
||||
/* 0x08 */ void* pfnReply_;
|
||||
/* 0x0C */ void* pfnUpdate_;
|
||||
};
|
||||
|
||||
TControlSet(TConsole*, const TControl*, u32, u32, const u32*);
|
||||
|
||||
TConsole* getConsole();
|
||||
|
||||
TControl* control_getControl_IDOffset(u32) const;
|
||||
u32 control_getNumber() const;
|
||||
void control_generate(JORMContext*);
|
||||
void control_generate_all(JORMContext*);
|
||||
void control_generate(JORMContext*, const TControl&);
|
||||
void control_generate_IDOffset(JORMContext*, const u32*);
|
||||
void control_generate_IDOffset(JORMContext*, u32);
|
||||
void control_generate_separator(JORMContext*, TControlSet*, const TControl&);
|
||||
void control_generate_label(JORMContext*, TControlSet*, const TControl&);
|
||||
void control_reply(const JORPropertyEvent*);
|
||||
void control_getControl(u32) const;
|
||||
u32 control_getIDBegin() const;
|
||||
void control_toID(const TControl*) const;
|
||||
u32 control_toID_IDOffset(u32) const;
|
||||
u32 control_toIDOffset(const TControl&) const;
|
||||
void control_update_IDOffset(u32);
|
||||
void control_update(const TControl&);
|
||||
void control_update_IDOffset(const u32*);
|
||||
void control_setStyle(const TControl&, u32);
|
||||
void control_setStyle_IDOffset(u32, u32);
|
||||
|
||||
/* 0x00 */ TConsole* pConsole_;
|
||||
/* 0x04 */ TControl* paoControl_;
|
||||
/* 0x08 */ u32 uNumber_;
|
||||
/* 0x0C */ u32 field_0xc;
|
||||
/* 0x10 */ u32 field_0x10;
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user