- Removed dual_noise_demo example as it was deemed unnecessary. - Added perlin_demo example for visualizing Perlin noise. - Updated biome_demo to generate SVG visualizations of tilemaps. - Changed biome properties from thresholds to ratios for better control. - Modified terrain generation logic to accommodate new biome properties. - Improved documentation with detailed API and usage examples. Signed-off-by: szdytom <szdytom@qq.com>
15 lines
496 B
CMake
15 lines
496 B
CMake
cmake_minimum_required(VERSION 3.27)
|
|
|
|
# Examples for the tilemap library
|
|
# Each example is built as a separate executable
|
|
|
|
# Biome system demonstration
|
|
add_executable(biome_demo biome_demo.cpp)
|
|
target_link_libraries(biome_demo PRIVATE istd_tilemap)
|
|
target_include_directories(biome_demo PRIVATE ../include)
|
|
|
|
# Perlin noise visualization
|
|
add_executable(perlin_demo perlin_demo.cpp)
|
|
target_link_libraries(perlin_demo PRIVATE istd_tilemap)
|
|
target_include_directories(perlin_demo PRIVATE ../include)
|