summaryrefslogtreecommitdiff
path: root/Game.h
diff options
context:
space:
mode:
authorXaviDCR92 <xavi.dcr@gmail.com>2018-07-09 19:26:13 +0200
committerXaviDCR92 <xavi.dcr@gmail.com>2018-07-09 19:26:13 +0200
commitf0b654b9bf3bc2a93c1f89d4cc3edcf77b948555 (patch)
tree91b7404dca0b6eb136cb7f9b144435419144b777 /Game.h
parentd85464781580796bbcc744ae732e56d1920e3b0f (diff)
downloadpocketempires-f0b654b9bf3bc2a93c1f89d4cc3edcf77b948555.tar.gz
Game has been restructured in favor of OOP
Diffstat (limited to 'Game.h')
-rw-r--r--Game.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/Game.h b/Game.h
new file mode 100644
index 0000000..5021c87
--- /dev/null
+++ b/Game.h
@@ -0,0 +1,35 @@
+#ifndef GAMEPLAY_H__
+#define GAMEPLAY_H__
+
+/* **************************************
+ * Includes *
+ * **************************************/
+
+#include "HumanPlayer.h"
+#include <stdint.h>
+
+/* **************************************
+ * Defines *
+ * **************************************/
+
+/* **************************************
+ * Structs and enums *
+ * **************************************/
+
+struct tGameConfig
+{
+ HumanPlayer* pHumanPlayerData;
+ uint8_t u8NHumanPlayers;
+};
+
+/* **************************************
+ * Global prototypes *
+ * **************************************/
+
+void Game(const struct tGameConfig& psGameConfig);
+
+/* **************************************
+ * Global variables *
+ * **************************************/
+
+#endif /* GAMEPLAY_H__ */