summaryrefslogtreecommitdiff
path: root/include/JSystem
diff options
context:
space:
mode:
authorhatal175 <hatal175@users.noreply.github.com>2024-01-11 01:16:40 +0200
committerGitHub <noreply@github.com>2024-01-11 01:16:40 +0200
commitf342bd71716619832c47eea7e90f57d106cd6b63 (patch)
tree01deaad96b0460180739743609186efd1c6f5589 /include/JSystem
parent99f0efe97501b8dc17343fdf9ff1e46f835a766d (diff)
Import JASCmdStack, std-vector work, Z2StatusMgr OK (#2029)
* Import JASCmdStack * Work on std-vector * Z2StatusMgr OK
Diffstat (limited to 'include/JSystem')
-rw-r--r--include/JSystem/JAudio2/JASCmdStack.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/include/JSystem/JAudio2/JASCmdStack.h b/include/JSystem/JAudio2/JASCmdStack.h
index a7473cbc1b..5bf14b286d 100644
--- a/include/JSystem/JAudio2/JASCmdStack.h
+++ b/include/JSystem/JAudio2/JASCmdStack.h
@@ -2,5 +2,46 @@
#define JASCMDSTACK_H
#include "dolphin/types.h"
+#include "JSystem/JSupport/JSUList.h"
+
+class JASTrack;
+
+struct JASPortArgs {
+ JASTrack* _00;
+ u32 _04;
+ u32 _08;
+ f32 _0C;
+ f32 _10;
+ f32 _14;
+ f32 _18;
+ f32 _1C;
+ f32 _20;
+ u32 _24;
+ f32 _28;
+};
+
+struct JASPortCmd : JSULink<JASPortCmd> {
+ typedef void (*Command)(JASPortArgs*);
+
+ struct TPortHead : JSUList<JASPortCmd> {
+ inline TPortHead()
+ : JSUList<JASPortCmd>()
+ {
+ }
+
+ ~TPortHead() {}
+
+ void execCommandOnce();
+ void execCommandStay();
+ };
+
+ /* 80291060 */ static void execAllCommand();
+
+ Command _10;
+ JASPortArgs* _14;
+
+ static TPortHead sCommandListOnce;
+ static TPortHead sCommandListStay;
+};
#endif /* JASCMDSTACK_H */