Refator pass 1

This commit is contained in:
2025-10-06 19:14:52 -05:00
parent 85434b4edb
commit fc52afdb00
113 changed files with 96 additions and 726 deletions

View File

@@ -3,10 +3,11 @@
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
if(DUSK_TARGET_GAME STREQUAL "rpg")
add_subdirectory(rpg)
elseif(DUSK_TARGET_GAME STREQUAL "minesweeper")
add_subdirectory(minesweeper)
else()
message(FATAL_ERROR "Unknown game specified: ${DUSK_TARGET_GAME}")
endif()
set(DUSK_GAME_ASSETS_DIR "${CMAKE_CURRENT_SOURCE_DIR}" CACHE INTERNAL ${DUSK_CACHE_TARGET})
add_subdirectory(palette)# Palette asset needs to be added before any images.
add_subdirectory(config)
add_subdirectory(entity)
add_subdirectory(map)
add_subdirectory(ui)