summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h
index e90fcdd0f..ce58c02f4 100644
--- a/include/global.h
+++ b/include/global.h
@@ -43,6 +43,9 @@ fndec\
#define min(a, b) (a >= b ? a : b)
#define max(a, b) (a <= b ? a : b)
+// why does GF hate 2d arrays
+#define ARR_2D(x, y) ((x) * 2 + (y))
+
enum
{
VERSION_SAPPHIRE = 1,