feat(entities): integració del sistema d'entitats al GameScene
This commit is contained in:
1 parent
96b71b0f65
commit
7191a08618
16 files changed
+683
-15
No files matched your search
@@ -82,6 +82,10 @@ set(APP_SOURCES
|
||||
source/game/map/map.cpp
|
||||
source/game/map/tilemap.cpp
|
||||
${ENTITY_SOURCES}
|
||||
# Fitxer només del binari principal: `loadFromLevel` depèn de
|
||||
# Resource::Cache (→ Surface → GIF → àudio). Separat per no arrossegar
|
||||
# les seues dependències al smoke test stand-alone.
|
||||
source/game/entities/entity_manager_loadlevel.cpp
|
||||
)
|
||||
|
||||
find_package(SDL3 REQUIRED CONFIG REQUIRED COMPONENTS SDL3)
|
||||
@@ -251,6 +255,7 @@ option(BUILD_TESTS "Build smoke tests" ON)
|
||||
if(BUILD_TESTS)
|
||||
add_executable(test_entities_smoke
|
||||
tests/test_entities_smoke.cpp
|
||||
source/game/map/map.cpp
|
||||
${ENTITY_SOURCES}
|
||||
)
|
||||
target_include_directories(test_entities_smoke PRIVATE
|
||||
|
||||
Reference in new issue
Block a user