From 01f46ce8431eacc5e9db3da7923f42e6e9b13fe1 Mon Sep 17 00:00:00 2001 From: KikooDX Date: Sat, 18 Dec 2021 18:24:17 +0100 Subject: [PATCH] tilty tilting --- CMakeLists.txt | 1 + res/tilt.kble | Bin 0 -> 356 bytes src/level.c | 13 +++++++++---- 3 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 res/tilt.kble diff --git a/CMakeLists.txt b/CMakeLists.txt index d4caf97..02646a0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,6 +26,7 @@ set(ASSETS res/bounce.kble res/worm.kble res/shake.kble + res/tilt.kble res/fonts/dina.png ) diff --git a/res/tilt.kble b/res/tilt.kble new file mode 100644 index 0000000000000000000000000000000000000000..f3a526be85c918a2b3c29473b9576f10b6b4d3c7 GIT binary patch literal 356 zcmZ{f;R=8-2!zjB4hs6;`@d-CEf%$Ph!a2bCJZMI`xU4Liyk*)PzgfS2qGF0?umN{ zQbpMV40hpFjX6jo6kr3Kp^3$-+5^~c@LsjjV`9z~x`XEZlTVQbe+P0d^|`z?$9w@H CxdQ6| literal 0 HcmV?d00001 diff --git a/src/level.c b/src/level.c index 6774211..2bc538c 100644 --- a/src/level.c +++ b/src/level.c @@ -11,11 +11,16 @@ static struct Level level; extern bopti_image_t bimg_tileset; -extern struct LevelBin kble_test, kble_burn, kble_bounce, kble_worm, kble_shake; +extern struct LevelBin kble_test, kble_burn, kble_bounce, kble_worm, kble_shake, + kble_tilt; static const struct LevelBinNamed levels[] = { - {&kble_test, "gentle introduction"}, {&kble_burn, "these are rare"}, - {&kble_bounce, "deceptive road"}, {&kble_worm, "under your skin"}, - {&kble_shake, "breaking into reality"}, {NULL, NULL}}; + {&kble_test, "gentle introduction"}, + {&kble_burn, "these are rare"}, + {&kble_bounce, "deceptive road"}, + {&kble_worm, "under your skin"}, + {&kble_shake, "breaking into reality"}, + {&kble_tilt, "tilted"}, + {NULL, NULL}}; static void level_free(void);