From 13215f1b6fa87cb5f182e1f43c6431295654e009 Mon Sep 17 00:00:00 2001 From: Wintermute Date: Sat, 19 Oct 2013 21:52:57 +0200 Subject: [PATCH] =?utf8?q?Sch=C3=BCsse=20nach=20Tod=20despawnen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Makefile | 1 + badge/jumpnrun/jumpnrun.c | 1 + badge/jumpnrun/lubilove.lv | 44 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 badge/jumpnrun/lubilove.lv diff --git a/Makefile b/Makefile index 9d1938d..ac9a3d5 100644 --- a/Makefile +++ b/Makefile @@ -39,6 +39,7 @@ SRCS = \ badge/jumpnrun/jumpnrun.c \ badge/jumpnrun/level_load.c \ badge/jumpnrun/tiles.c \ + badge/jumpnrun/stats.c \ badge/ui/display.c \ badge/ui/event.c \ badge/ui/font.c \ diff --git a/badge/jumpnrun/jumpnrun.c b/badge/jumpnrun/jumpnrun.c index dc1dc6c..79fa6b3 100644 --- a/badge/jumpnrun/jumpnrun.c +++ b/badge/jumpnrun/jumpnrun.c @@ -362,6 +362,7 @@ uint8_t jumpnrun_play(char const *lvname) { gs.status = JUMPNRUN_PLAYING; gs.left = 0; memset(&gs.player, 0, sizeof(gs.player)); + memset(&gs.shots , 0, sizeof(gs.shots )); gs.player.current_box = rectangle_new(lv.start_pos, hacker_extents()); diff --git a/badge/jumpnrun/lubilove.lv b/badge/jumpnrun/lubilove.lv new file mode 100644 index 0000000..0f5653e --- /dev/null +++ b/badge/jumpnrun/lubilove.lv @@ -0,0 +1,44 @@ +vvvvvvvvvvvvvvvvvvv################################################################## ################### + + + + + ????? #### k + vvvvv vvvv ^???? + ######### vvvvv + ### # ### ????^ + ### ### vvvv + ##### ##### @ @ + P ####### ####### M M e H H +################### ######### ######^^^??##############^^##^^###^^####################################################### + +[tiles] +0 tube_top_left +1 tube_top_right +2 tube_left +3 tube_right +# brick +? square +^ spike_up +v spike_down +> spike_right +< spike_left + +[items] +d doc +c checkpoint +k key +e doc_encrypted + +[enemies] +C cat +M mushroom +B bunny +S snake +@ spiral +R rotor +H dog +G giraffe +V bird +W bird_straight +X bird_dip -- 2.20.1