summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorXaviDCR92 <xavi.dcr@gmail.com>2017-03-07 20:57:09 +0100
committerXaviDCR92 <xavi.dcr@gmail.com>2017-03-07 20:57:09 +0100
commit8ec41b4410aba535008daf991ea59a8740951d44 (patch)
tree01ee0846f579d9d139ee46a6a43f67ba522c7196 /main.cpp
+ Initial commit. Added source, sprites and final executable.
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp33
1 files changed, 33 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
new file mode 100644
index 0000000..fbeede5
--- /dev/null
+++ b/main.cpp
@@ -0,0 +1,33 @@
+/* **************************************
+ * Includes *
+ * **************************************/
+
+#include "Global_Inc.h"
+#include "Gameplay.h"
+
+/* **************************************
+ * Global variables *
+ * **************************************/
+
+Gamebuino gb;
+
+int main(){
+
+ init();
+
+ SystemInit();
+
+ gb.begin();
+
+ /* MAIN LOOP */
+ while(1)
+ {
+ gb.titleScreen(F("Pocket Empires"));
+
+ MainMenu();
+ }
+
+
+ return 0;
+
+}