aboutsummaryrefslogtreecommitdiff
path: root/src/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/init.c')
-rw-r--r--src/init.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/init.c b/src/init.c
new file mode 100644
index 0000000..84fdaef
--- /dev/null
+++ b/src/init.c
@@ -0,0 +1,6 @@
+void
+game_init(Game *this)
+{
+ this->x = DWIDTH / 2;
+ this->y = DHEIGHT / 2;
+}