summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2017-06-30 15:39:17 -0400
committerProjectRevoTPP <projectrevotpp@hotmail.com>2017-06-30 15:39:17 -0400
commit22da2dfafc892e8d07af95e715cb1ae889bccd5c (patch)
treee414e0f40a1c91290793c8ba6e528bb1f272438c /include/global.h
parentd5e220ebbe7ca570306ee176926b9d81373414df (diff)
finish decompiling sound_check_menu.c except for sub_80BAE78
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/global.h b/include/global.h
index ce58c02f4..0f5bcde6d 100644
--- a/include/global.h
+++ b/include/global.h
@@ -44,7 +44,15 @@ fndec\
#define max(a, b) (a <= b ? a : b)
// why does GF hate 2d arrays
-#define ARR_2D(x, y) ((x) * 2 + (y))
+#define MULTI_DIM_ARR(x, dim, y) ((x) * dim + (y))
+
+// dim access enums
+enum
+{
+ B_8 = 1,
+ B_16 = 2,
+ B_32 = 4
+};
enum
{