summaryrefslogtreecommitdiff
path: root/include/m_random_field.h
diff options
context:
space:
mode:
authorPrakxo <87568477+Prakxo@users.noreply.github.com>2023-09-15 18:36:15 +0200
committerGitHub <noreply@github.com>2023-09-15 09:36:15 -0700
commitef0a26fd481675a955b301d1b2261ded362c4190 (patch)
tree0c2a9de1eda9cd4d465aa4845f18f1ba16584b93 /include/m_random_field.h
parent898b6fb3a4157f2e681a42c6f420f4b9d7152cc9 (diff)
NPC PR 1/3 ok (#96)
* m_npc walk ok Co-authored-by: Maide <you@example.com> * fix protos * fixes * forgor some fixes * struct names --------- Co-authored-by: Maide <you@example.com>
Diffstat (limited to 'include/m_random_field.h')
-rw-r--r--include/m_random_field.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/include/m_random_field.h b/include/m_random_field.h
new file mode 100644
index 0000000..ba52e3e
--- /dev/null
+++ b/include/m_random_field.h
@@ -0,0 +1,42 @@
+#ifndef M_RANDOM_FIELD_H
+#define M_RANDOM_FIELD_H
+
+#include "ultra64.h"
+
+
+#define RANDOM_FIELD_BLOCKKIND_SHRINE (1 << 2)
+
+#define RANDOM_FIELD_BLOCK_TYPE_MAX 108
+#define RANDOM_FIELD_DIRECT_ERROR 100
+
+typedef enum RandomFieldDirection {
+ /* 0 */ RANDOM_FIELD_DIRECT_NORTH,
+ /* 1 */ RANDOM_FIELD_DIRECT_WEST,
+ /* 2 */ RANDOM_FIELD_DIRECT_SOUTH,
+ /* 3 */ RANDOM_FIELD_DIRECT_EAST,
+
+ /* 4 */ RANDOM_FIELD_DIRECT_NUM
+}RandomFieldDirection;
+
+typedef struct RandomFieldGate {
+ /* 0x00 */ s32 ut0;
+ /* 0x04 */ s32 ut1;
+} RandomFieldGate;
+
+// void func_800BCBA0_jp();
+// void func_800BCBDC_jp();
+// void func_800BCC20_jp();
+// void func_800BCC30_jp();
+// void func_800BCC40_jp();
+// void func_800BCCFC_jp();
+// void func_800BCDCC_jp();
+// void func_800BCDFC_jp();
+// void func_800BCE80_jp();
+// void func_800BCEA4_jp();
+// void func_800BCF64_jp();
+// void func_800BCFA4_jp();
+RandomFieldGate* mRF_BlockTypeDirect2GateData(s32*, u8, s32);
+// void func_800BD02C_jp();
+// void func_800BD1E4_jp();
+
+#endif