aboutsummaryrefslogtreecommitdiff
path: root/src/draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/draw.c')
-rw-r--r--src/draw.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/draw.c b/src/draw.c
new file mode 100644
index 0000000..8c59bf7
--- /dev/null
+++ b/src/draw.c
@@ -0,0 +1,9 @@
+void
+game_draw(Game *this)
+{
+ TZR_DrawSetColor(1, 1, 1);
+ TZR_DrawClear();
+
+ TZR_DrawSetColor(1, 0, 1);
+ TZR_DrawImage(TZR_RES("res/000.png"), this->x, this->y, .center=true);
+}