Engine: Switch to ruc's singleton

This commit is contained in:
Riyyi
2022-09-26 13:00:00 +02:00
parent 2f1c6b5e75
commit 4af037a7fb
15 changed files with 54 additions and 76 deletions
+2 -1
View File
@@ -14,7 +14,8 @@ file(GLOB_RECURSE GAME_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")
add_executable(${GAME} ${GAME_SOURCES})
target_include_directories(${GAME} PRIVATE
"src"
"${CMAKE_SOURCE_DIR}/src")
"${CMAKE_SOURCE_DIR}/src"
"${CMAKE_SOURCE_DIR}/vendor/ruc/src")
target_link_libraries(${GAME} ${ENGINE})
target_precompile_headers(${GAME} REUSE_FROM ${ENGINE})
-1
View File
@@ -10,6 +10,5 @@ public:
Inferno::Application& Inferno::createApplication()
{
Game::initialize();
return Game::the();
}