diff --git a/CMakeLists.txt b/CMakeLists.txt index b46aeec..47b2cfa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,6 +28,7 @@ set(LEVELS lvl/0.kble lvl/1.kble lvl/2.kble + lvl/3.kble ) set(ASSETS diff --git a/lvl/3.kble b/lvl/3.kble new file mode 100644 index 0000000..fbfc39b Binary files /dev/null and b/lvl/3.kble differ diff --git a/src/level.c b/src/level.c index ed74cc2..4d37df9 100644 --- a/src/level.c +++ b/src/level.c @@ -12,7 +12,8 @@ static struct Level self; extern struct LevelBin lvl_0; extern struct LevelBin lvl_1; extern struct LevelBin lvl_2; -static const struct LevelBin *levels[] = {&lvl_0, &lvl_1, &lvl_2, NULL}; +extern struct LevelBin lvl_3; +static const struct LevelBin *levels[] = {&lvl_0, &lvl_1, &lvl_2, &lvl_3, NULL}; void level_load(int id)