summaryrefslogtreecommitdiff
path: root/main.cpp
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 /main.cpp
parent72d350a37aa67936361ac8a374472b7e0227da61 (diff)
downloadpocketempires-786dccd2bc0946d48b8a2758ef2c607678bc8dd9.tar.gz
Removed Building and GameStructures modules. Restructured SW for Unit and Player, still a lot TODO
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp19
1 files changed, 10 insertions, 9 deletions
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;
-
+
}