diff --git a/.gitmodules b/.gitmodules index 5faa891..8419030 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "lib/vectorwrapper"] path = lib/vectorwrapper url = ../vectorwrapper/.git +[submodule "lib/DeathHandler"] + path = lib/DeathHandler + url = https://github.com/vmarkovtsev/DeathHandler.git diff --git a/CMakeLists.txt b/CMakeLists.txt index f009c33..85d7882 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -65,6 +65,7 @@ target_include_directories(${PROJECT_NAME} SYSTEM target_include_directories(${PROJECT_NAME} PRIVATE src PRIVATE lib/vectorwrapper/include + PRIVATE lib/DeathHandler ) target_link_libraries(${PROJECT_NAME} diff --git a/lib/DeathHandler b/lib/DeathHandler new file mode 160000 index 0000000..6b8599b --- /dev/null +++ b/lib/DeathHandler @@ -0,0 +1 @@ +Subproject commit 6b8599b81d54734e42f09c146cbde1049f1e8b69 diff --git a/src/main.cpp b/src/main.cpp index 15b6b99..6c3d4d7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,6 +1,7 @@ #include "sdlmain.hpp" #include "gamescenebase.hpp" #include "ingamescene.hpp" +#include "death_handler.h" #include #include #include