diff --git a/apps/template/CMakeLists.txt b/apps/template/CMakeLists.txt index 7ed15ed..68d6f74 100644 --- a/apps/template/CMakeLists.txt +++ b/apps/template/CMakeLists.txt @@ -12,7 +12,7 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}) endif() set(SOURCE_FILES - game.c game.h + game.c ) add_executable(${PROJECT_NAME} ${SOURCE_FILES}) diff --git a/apps/template/game.c b/apps/template/game.c index 56024ba..ab41ac1 100644 --- a/apps/template/game.c +++ b/apps/template/game.c @@ -1,5 +1,4 @@ #include "townengine/game_api.h" -#include "game.h" #include "state.h" #include diff --git a/apps/template/game.h b/apps/template/game.h deleted file mode 100644 index fde6738..0000000 --- a/apps/template/game.h +++ /dev/null @@ -1,13 +0,0 @@ -#ifndef GAME_H -#define GAME_H - -#include "townengine/game_api.h" - -#include - - -void game_tick(void); -void game_end(void); - - -#endif diff --git a/apps/testgame/CMakeLists.txt b/apps/testgame/CMakeLists.txt index 545dba9..61bdb8c 100644 --- a/apps/testgame/CMakeLists.txt +++ b/apps/testgame/CMakeLists.txt @@ -12,7 +12,7 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}) endif() set(SOURCE_FILES - game.c game.h + game.c state.h player.c player.h diff --git a/apps/testgame/game.c b/apps/testgame/game.c index d884f0f..dd9b757 100644 --- a/apps/testgame/game.c +++ b/apps/testgame/game.c @@ -1,4 +1,3 @@ -#include "game.h" #include "townengine/game_api.h" #include "state.h" #include "scenes/scene.h" diff --git a/apps/testgame/game.h b/apps/testgame/game.h deleted file mode 100644 index c3e0e8a..0000000 --- a/apps/testgame/game.h +++ /dev/null @@ -1,14 +0,0 @@ -#ifndef GAME_H -#define GAME_H - - -#include "townengine/game_api.h" - -#include - - -void game_tick(void); -void game_end(void); - - -#endif