This commit is contained in:
KikooDX 2021-11-12 23:24:25 +01:00
parent 5a83818ff6
commit 4664a7c096
9 changed files with 12 additions and 9 deletions

View File

@ -33,6 +33,7 @@ set(LEVELS
lvl/4.kble
lvl/5.kble
lvl/6.kble
lvl/7.kble
lvl/end.kble
)
@ -61,6 +62,6 @@ target_link_options(target PRIVATE -Wl,-Map=map)
generate_g3a(TARGET target
OUTPUT "${PROJECT_NAME}.g3a"
NAME "${PROJECT_NAME}"
NAME ""
ICONS res/icon-uns.png res/icon-sel.png
)

View File

@ -22,7 +22,7 @@
#define STARS_MIN_X 0
#define STARS_MAX_X (DWIDTH - STARS_SIZE)
#define STARS_COLOR C_RGB(31, 31, 31)
#define STARS_BASE_SPEED 1.0
#define STARS_MAX_SPEED 3.0
#define STARS_BASE_SPEED 2.0f
#define STARS_MAX_SPEED 6.0f
#define STARS_SPEED_VARIATION (STARS_MAX_SPEED - STARS_BASE_SPEED)
#define STARS_STRETCH 2.0
#define STARS_STRETCH 2.0f

Binary file not shown.

BIN
lvl/7.kble Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -9,9 +9,11 @@
#include <stdlib.h>
static struct Level self;
extern struct LevelBin lvl_0, lvl_1, lvl_2, lvl_3, lvl_4, lvl_5, lvl_6, lvl_end;
static const struct LevelBin *levels[] = {
&lvl_0, &lvl_1, &lvl_2, &lvl_3, &lvl_4, &lvl_5, &lvl_6, &lvl_end, NULL};
extern struct LevelBin lvl_0, lvl_1, lvl_2, lvl_3, lvl_4, lvl_5, lvl_6, lvl_7,
lvl_end;
static const struct LevelBin *levels[] = {&lvl_0, &lvl_1, &lvl_2, &lvl_3,
&lvl_4, &lvl_5, &lvl_6, &lvl_7,
&lvl_end, NULL};
void
level_load(int id)

View File

@ -20,7 +20,7 @@ results_draw(void)
}
drect(DWIDTH / 4, 24, DWIDTH * 3 / 4, 120, C_BLACK);
dprint_opt(DWIDTH / 2, 56, C_WHITE, C_BLACK, DTEXT_CENTER, DTEXT_MIDDLE,
"time %02d:%02d", disp_time / 3600, disp_time / 60);
"time %02d:%02d", disp_time / 3600, disp_time / 60 % 60);
dprint_opt(DWIDTH / 2, 88, C_WHITE, C_BLACK, DTEXT_CENTER, DTEXT_MIDDLE,
"%d deaths", disp_deaths);
"%d death%s", disp_deaths, (disp_deaths > 1) ? "s" : "");
}