From 786dccd2bc0946d48b8a2758ef2c607678bc8dd9 Mon Sep 17 00:00:00 2001 From: XaviDCR92 Date: Fri, 8 Sep 2017 18:39:22 +0200 Subject: Removed Building and GameStructures modules. Restructured SW for Unit and Player, still a lot TODO --- main.cpp | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index a746a57..c302408 100644 --- a/main.cpp +++ b/main.cpp @@ -4,6 +4,7 @@ #include "Global_Inc.h" #include "Gameplay.h" +#include "Menu.h" /* ************************************** * Global variables * @@ -12,22 +13,22 @@ Gamebuino gb; int main(){ - + init(); - + SystemInit(); - + gb.begin(); - + // Main loop - while(1) + while (1) { gb.titleScreen(F("Pocket Empires")); - + MainMenu(); } - - + + return 0; - + } -- cgit v1.2.3