remove vestigial game.h's

This commit is contained in:
veclav talica 2024-07-30 01:36:57 +03:00
parent c702bd5002
commit a1752196ce
6 changed files with 2 additions and 31 deletions

View File

@ -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})

View File

@ -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>

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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