summaryrefslogtreecommitdiff
path: root/src/background.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/background.c')
-rw-r--r--src/background.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/background.c b/src/background.c
new file mode 100644
index 0000000..fa0b482
--- /dev/null
+++ b/src/background.c
@@ -0,0 +1,16 @@
+#include "conf.h"
+#include "level.h"
+#include "lzy.h"
+
+void background_init(void) {}
+
+void background_update(void) {}
+
+void background_draw(void)
+{
+ const int id = TSET_LINE + level_id() * TSET_LINE * 7;
+ LZY_DrawTileEx(id, 0, 0, 13, 7);
+ LZY_DrawTileEx(id, 0, DISPLAY_HEIGHT / 2, 13, 7);
+ LZY_DrawTileEx(id, DISPLAY_WIDTH / 2, 0, 13, 7);
+ LZY_DrawTileEx(id, DISPLAY_WIDTH / 2, DISPLAY_HEIGHT / 2, 13, 7);
+}