From f7715d082fff6f14fdf401ff87cdf5487294c231 Mon Sep 17 00:00:00 2001 From: rexim Date: Sun, 26 Jan 2020 03:17:01 +0700 Subject: [PATCH] Try to fix cmake build --- CMakeLists.txt | 2 ++ src/game/level/phantom_platforms.h | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 38ff578a..44b06126 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -73,6 +73,8 @@ add_executable(nothing src/game/level/lava/wavy_rect.c src/game/level/platforms.h src/game/level/platforms.c + src/game/level/phantom_platforms.h + src/game/level/phantom_platforms.c src/game/level/player.h src/game/level/player.c src/game/level/explosion.h diff --git a/src/game/level/phantom_platforms.h b/src/game/level/phantom_platforms.h index 4b46d920..3a5557ea 100644 --- a/src/game/level/phantom_platforms.h +++ b/src/game/level/phantom_platforms.h @@ -1,6 +1,11 @@ #ifndef PHANTOM_PLATFORMS_H_ #define PHANTOM_PLATFORMS_H_ +#include +#include "math/rect.h" +#include "color.h" +#include "game/level/level_editor/rect_layer.h" + typedef struct { size_t size; Rect *rects;