summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-07-05 18:11:34 -0400
committerGitHub <noreply@github.com>2017-07-05 18:11:34 -0400
commit3b3eb45b91c11b47504a80fcd853ec45abbbf445 (patch)
tree99daa00ca855631af74c92cd9c22dd8ae9c12429 /include/global.h
parent5a934970934661298d933a3e55c7cd672f0cda13 (diff)
parent2bedaf3824d27b6f8b3e3df9ec13604c0c6af749 (diff)
Merge pull request #346 from ProjectRevoTPP/sound_check_menu
Sound check menu
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h
index e90fcdd0f..0f5bcde6d 100644
--- a/include/global.h
+++ b/include/global.h
@@ -43,6 +43,17 @@ fndec\
#define min(a, b) (a >= b ? a : b)
#define max(a, b) (a <= b ? a : b)
+// why does GF hate 2d arrays
+#define MULTI_DIM_ARR(x, dim, y) ((x) * dim + (y))
+
+// dim access enums
+enum
+{
+ B_8 = 1,
+ B_16 = 2,
+ B_32 = 4
+};
+
enum
{
VERSION_SAPPHIRE = 1,