diff --git a/CMakeLists.txt b/CMakeLists.txt index bc40e61..d4aa351 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,6 @@ find_package(SDL2 REQUIRED COMPONENTS SDL2::SDL2-static SDL2::SDL2main CONFIG) find_package(OpenAL REQUIRED CONFIG) find_library(physfs REQUIRED NAMES physfs-static PATHS "${CMAKE_PREFIX_PATH}/lib") - # Determine dependencies set(STATIC_LIBS dr_wav diff --git a/src/game/cartography/cart.hpp b/src/cart/cart.hpp similarity index 100% rename from src/game/cartography/cart.hpp rename to src/cart/cart.hpp diff --git a/src/game/cartography/relief-map.cpp b/src/cart/relief-map.cpp similarity index 100% rename from src/game/cartography/relief-map.cpp rename to src/cart/relief-map.cpp diff --git a/src/game/cartography/relief-map.hpp b/src/cart/relief-map.hpp similarity index 100% rename from src/game/cartography/relief-map.hpp rename to src/cart/relief-map.hpp diff --git a/src/ecs/systems/terrain-system.cpp b/src/ecs/systems/terrain-system.cpp index ceb610c..7261fa8 100644 --- a/src/ecs/systems/terrain-system.cpp +++ b/src/ecs/systems/terrain-system.cpp @@ -21,7 +21,7 @@ #include "ecs/components/model-component.hpp" #include "ecs/components/collision-component.hpp" #include "ecs/components/transform-component.hpp" -#include "game/cartography/relief-map.hpp" +#include "cart/relief-map.hpp" #include "renderer/model.hpp" #include "geom/mesh.hpp" #include "geom/mesh-functions.hpp" diff --git a/src/input/listener.cpp b/src/input/listener.cpp index 1538aab..5707e21 100644 --- a/src/input/listener.cpp +++ b/src/input/listener.cpp @@ -33,7 +33,7 @@ listener::~listener() set_event_dispatcher(nullptr); } -void listener::set_event_dispatcher(event_dispatcher* event_dispatcher) +void listener::set_event_dispatcher(::event_dispatcher* event_dispatcher) { if (this->event_dispatcher) {