From 22da2dfafc892e8d07af95e715cb1ae889bccd5c Mon Sep 17 00:00:00 2001 From: ProjectRevoTPP Date: Fri, 30 Jun 2017 15:39:17 -0400 Subject: finish decompiling sound_check_menu.c except for sub_80BAE78 --- include/global.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'include/global.h') 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 { -- cgit v1.2.3