summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjdflyer <jdflyer10@gmail.com>2021-07-09 16:34:40 -0700
committerjdflyer <jdflyer10@gmail.com>2021-07-09 16:34:40 -0700
commit2ed1ff35280225e76964327d28588484991a64a8 (patch)
tree4968757190b4b02c18d1f00b59b00b715109d290
parent729e31eff4daa933ed10542dad3f8765a4cdc989 (diff)
Add Z2SceneMgr.h and Z2SeqMgr.h
-rw-r--r--include/tp/Z2SceneMgr.h32
-rw-r--r--include/tp/Z2SeqMgr.h21
2 files changed, 53 insertions, 0 deletions
diff --git a/include/tp/Z2SceneMgr.h b/include/tp/Z2SceneMgr.h
new file mode 100644
index 0000000..0d8a775
--- /dev/null
+++ b/include/tp/Z2SceneMgr.h
@@ -0,0 +1,32 @@
+/**
+ * @file Z2SceneMgr.h
+ * @author jdflyer
+ * @brief Provides a funciton definition for the sceneChange function
+ *
+ * @bug No known bugs
+ */
+
+#ifndef TP_Z2SCENEMGR_H
+#define TP_Z2SCENEMGR_H
+
+#include <cstdint>
+
+namespace libtp::tp::z2audiolib::z2scenemgr {
+ struct Z2SceneMgr;
+
+ /**
+ *@todo Move JAISoundID to its own file
+ */
+ struct JAISoundID {
+ uint32_t id;
+ };
+
+ extern "C" {
+ /**
+ * @brief sceneChange is called when the game changes the BGM playing
+ */
+ void sceneChange(Z2SceneMgr* sceneMgr, JAISoundID id,uint8_t SeWave1,uint8_t SeWave2,uint8_t BgmWave1,uint8_t BgmWave2,uint8_t DemoWave,bool param_7);
+ };
+} //namespace libtp::tp::z2audiolib::z2scenemgr
+
+#endif \ No newline at end of file
diff --git a/include/tp/Z2SeqMgr.h b/include/tp/Z2SeqMgr.h
new file mode 100644
index 0000000..b76871a
--- /dev/null
+++ b/include/tp/Z2SeqMgr.h
@@ -0,0 +1,21 @@
+/**
+ * @file Z2SeqMgr.h
+ * @author jdflyer
+ * @brief Provides the definition for the funciton that starts the enemy BGM
+ *
+ * @bug No known bugs
+ */
+#ifndef TP_Z2SEQMGR_H
+#define TP_Z2SEQMGR_H
+
+#include <cstdint>
+
+namespace libtp::tp::z2audiolib::z2seqmgr {
+ struct Z2SeqMgr;
+
+ extern "C" {
+ void startBattleBgm(Z2SeqMgr* seqMgr, bool param_1);
+ }
+} // namespace libtp::tp::z2audiolib::z2seqmgr
+
+#endif \ No newline at end of file