summaryrefslogtreecommitdiff
path: root/Global_Inc.h
diff options
context:
space:
mode:
Diffstat (limited to 'Global_Inc.h')
-rw-r--r--Global_Inc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Global_Inc.h b/Global_Inc.h
index fcac2eb..415fc00 100644
--- a/Global_Inc.h
+++ b/Global_Inc.h
@@ -12,9 +12,7 @@
#include <stdlib.h>
#include <string.h>
#include <avr/pgmspace.h>
-#include "System.h"
#include "settings.c"
-#include "GameStructures.h"
#ifdef __cplusplus
#include <Gamebuino.h>
@@ -25,6 +23,10 @@
* Defines
* *************************************/
+#define DEBUG_VAR(x) char buffer[8]; \
+ snprintf(buffer, sizeof(buffer), "%d", x); \
+ GfxPrintText(buffer, X_SCREEN_RESOLUTION - (strlen(buffer)<<3), Y_SCREEN_RESOLUTION - 10)
+
/* *************************************
* Structs and enums
* *************************************/