This commit is contained in:
KikooDX 2021-11-12 14:34:47 +01:00
parent ee8b80e127
commit bf1820bee2
4 changed files with 5 additions and 5 deletions

View File

@ -29,6 +29,8 @@ set(LEVELS
lvl/1.kble
lvl/2.kble
lvl/3.kble
lvl/4.kble
lvl/5.kble
)
set(ASSETS

BIN
lvl/4.kble Normal file

Binary file not shown.

BIN
lvl/5.kble Normal file

Binary file not shown.

View File

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