summaryrefslogtreecommitdiff
path: root/Global_Inc.h
diff options
context:
space:
mode:
authorXaviDCR92 <xavi.dcr@gmail.com>2017-09-08 18:39:22 +0200
committerXaviDCR92 <xavi.dcr@gmail.com>2017-09-08 18:39:22 +0200
commit786dccd2bc0946d48b8a2758ef2c607678bc8dd9 (patch)
tree47952d77e5646a993671134b50c16f32ebe35b1c /Global_Inc.h
parent72d350a37aa67936361ac8a374472b7e0227da61 (diff)
Removed Building and GameStructures modules. Restructured SW for Unit and Player, still a lot TODO
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
* *************************************/