From a1752196cee800773094f7a87f06f8587f094331 Mon Sep 17 00:00:00 2001 From: veclavtalica Date: Tue, 30 Jul 2024 01:36:57 +0300 Subject: [PATCH] remove vestigial game.h's --- apps/template/CMakeLists.txt | 2 +- apps/template/game.c | 1 - apps/template/game.h | 13 ------------- apps/testgame/CMakeLists.txt | 2 +- apps/testgame/game.c | 1 - apps/testgame/game.h | 14 -------------- 6 files changed, 2 insertions(+), 31 deletions(-) delete mode 100644 apps/template/game.h delete mode 100644 apps/testgame/game.h 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