Start atlas

This commit is contained in:
2025-06-01 22:13:02 +02:00
parent 96a9a45c20
commit 84805b92cb
64 changed files with 954 additions and 243 deletions

View File

@@ -9,6 +9,8 @@ pkg_check_modules(SDL2 REQUIRED sdl2)
add_executable(factorygame
tiles/tile.c
tiles/tile.h
util/font.c
util/font.h
util/audio.c
@@ -17,13 +19,20 @@ add_executable(factorygame
util/util.h
items/item.c
items/item.h
tiles/tile.c
tiles/tile.h
tiles/belt.c
tiles/belt.h
tiles/furnace.c
tiles/furnace.h
player/player.c
player/player.h # Ensure the target is defined before linking
main.c)
tiles/tilecallbacks.c
tiles/tilecallbacks.h
main.c
util/perlin.c
util/perlin.h
util/atlas.c
util/atlas.h
)
# Define the path to the assets folder
set(ASSETS_SOURCE_DIR "${CMAKE_SOURCE_DIR}/assets")