aboutsummaryrefslogtreecommitdiff
path: root/eng/inc/gameng.h
diff options
context:
space:
mode:
Diffstat (limited to 'eng/inc/gameng.h')
-rw-r--r--eng/inc/gameng.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/eng/inc/gameng.h b/eng/inc/gameng.h
new file mode 100644
index 0000000..9fc48a3
--- /dev/null
+++ b/eng/inc/gameng.h
@@ -0,0 +1,13 @@
+#pragma once
+#include "game.h"
+
+/* calls fatal on failure, consider it never returns NULL */
+Game *game_create(void);
+
+void game_destroy(Game *this);
+
+void game_init(Game *this);
+
+void game_update(Game *this);
+
+void game_draw(Game *this);