aboutsummaryrefslogtreecommitdiff
path: root/field.c
diff options
context:
space:
mode:
Diffstat (limited to 'field.c')
-rw-r--r--field.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/field.c b/field.c
index b53dcdf..41c68e2 100644
--- a/field.c
+++ b/field.c
@@ -20,13 +20,28 @@
#include <stdio.h>
+#ifdef __GNUC__
+
+#include <gem.h>
+
+#else
+
#include <portab.h>
#include <aes.h>
#include <vdi.h>
+#endif
+
#include "field.h"
#include "player.h"
+#ifdef __GEMLIB__
+#define RED G_RED
+#define GREEN G_GREEN
+#define WHITE G_WHITE
+#define BLACK G_BLACK
+#endif
+
/* Defines the play field */
char field[CELLW][CELLH];