remove vestigial game.h's
This commit is contained in:
		| @@ -12,7 +12,7 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}) | |||||||
| endif() | endif() | ||||||
|  |  | ||||||
| set(SOURCE_FILES | set(SOURCE_FILES | ||||||
|         game.c game.h |         game.c | ||||||
| ) | ) | ||||||
|  |  | ||||||
| add_executable(${PROJECT_NAME} ${SOURCE_FILES}) | add_executable(${PROJECT_NAME} ${SOURCE_FILES}) | ||||||
|   | |||||||
| @@ -1,5 +1,4 @@ | |||||||
| #include "townengine/game_api.h" | #include "townengine/game_api.h" | ||||||
| #include "game.h" |  | ||||||
| #include "state.h" | #include "state.h" | ||||||
|  |  | ||||||
| #include <malloc.h> | #include <malloc.h> | ||||||
|   | |||||||
| @@ -1,13 +0,0 @@ | |||||||
| #ifndef GAME_H |  | ||||||
| #define GAME_H |  | ||||||
|  |  | ||||||
| #include "townengine/game_api.h" |  | ||||||
|  |  | ||||||
| #include <stdint.h> |  | ||||||
|  |  | ||||||
|  |  | ||||||
| void game_tick(void); |  | ||||||
| void game_end(void); |  | ||||||
|  |  | ||||||
|  |  | ||||||
| #endif |  | ||||||
| @@ -12,7 +12,7 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}) | |||||||
| endif() | endif() | ||||||
|  |  | ||||||
| set(SOURCE_FILES | set(SOURCE_FILES | ||||||
|         game.c game.h |         game.c | ||||||
|         state.h |         state.h | ||||||
|  |  | ||||||
|         player.c player.h |         player.c player.h | ||||||
|   | |||||||
| @@ -1,4 +1,3 @@ | |||||||
| #include "game.h" |  | ||||||
| #include "townengine/game_api.h" | #include "townengine/game_api.h" | ||||||
| #include "state.h" | #include "state.h" | ||||||
| #include "scenes/scene.h" | #include "scenes/scene.h" | ||||||
|   | |||||||
| @@ -1,14 +0,0 @@ | |||||||
| #ifndef GAME_H |  | ||||||
| #define GAME_H |  | ||||||
|  |  | ||||||
|  |  | ||||||
| #include "townengine/game_api.h" |  | ||||||
|  |  | ||||||
| #include <stdint.h> |  | ||||||
|  |  | ||||||
|  |  | ||||||
| void game_tick(void); |  | ||||||
| void game_end(void); |  | ||||||
|  |  | ||||||
|  |  | ||||||
| #endif |  | ||||||
		Reference in New Issue
	
	Block a user