summaryrefslogtreecommitdiff
path: root/include/nitro/SND_alarm_shared.h
diff options
context:
space:
mode:
authorGliMusings <gcreative7@gmail.com>2021-06-25 17:45:21 -0500
committerGliMusings <gcreative7@gmail.com>2021-06-25 17:45:21 -0500
commitc075e06f736a01cb80b1e6ff3c9ff226e4dcedb0 (patch)
tree650d28d6639c376e1eb1831b1bf326b21c1196fe /include/nitro/SND_alarm_shared.h
parent9d717596e138c8e24aca0be9b963c6dd22a3716e (diff)
parent64e03f3450ba4a58ed2ddb8aacb72557135b2eb1 (diff)
Merge branch 'master' of https://github.com/pret/pokediamond into unk_0201C6B4
Diffstat (limited to 'include/nitro/SND_alarm_shared.h')
-rw-r--r--include/nitro/SND_alarm_shared.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/include/nitro/SND_alarm_shared.h b/include/nitro/SND_alarm_shared.h
new file mode 100644
index 00000000..a1e8ed9d
--- /dev/null
+++ b/include/nitro/SND_alarm_shared.h
@@ -0,0 +1,30 @@
+/*
+ * NOTE:
+ * This file is shared between ARM9 and ARM7
+ * DO NOT PUT PROC SPECIFIC CODE IN HERE
+ * Thank You!
+ */
+
+/*
+ * DO NOT INCLUDE THIS FILE DIRECTLY
+ * Include SND_alarm.h from the specific proc's lib
+ */
+
+#ifndef POKEDIAMOND_SND_ALARM_SHARED_H
+#define POKEDIAMOND_SND_ALARM_SHARED_H
+
+#include "nitro/OS_tick_shared.h"
+#include "nitro/OS_alarm_shared.h"
+
+struct SNDAlarm {
+ u8 enable; // 0x00
+ u8 id; // 0x01
+ u16 unk_2; // 0x02
+ OSTick tick; // 0x04
+ OSTick period; // 0x0C
+ OSAlarm alarm; // 0x14
+}; // size = 0x40
+
+#define SND_ALARM_COUNT 8
+
+#endif //POKEDIAMOND_SND_ALARM_SHARED_H