Commit Graph
12 Commits
Author SHA1 Message Date
sunxfancy e144528889 feat(procgen): expose dungeon entrances and wall dressing 2026-08-28 20:32:11 +08:00
sunxfancy 331dc70719 feat(procgen): form compact dungeon hubs 2026-08-28 20:20:26 +08:00
sunxfancy 1aa670ea25 feat(procgen): connect dungeon growth branches directly 2026-08-28 20:08:55 +08:00
sunxfancy e85d1e5b68 feat(procgen): densify themed dungeon scenes 2026-08-28 19:52:44 +08:00
sunxfancy 929f9279fd feat(procgen): add perimeter dungeon entrances 2026-08-28 19:41:38 +08:00
sunxfancy a379a185c8 feat(procgen): grow clustered dressed dungeons 2026-08-28 19:31:54 +08:00
sunxfancy cb749c958a feat(graphics): add orthographic dungeon presentation 2026-08-28 19:12:48 +08:00
sunxfancy b11f1843b8 feat(procgen): add compact themed dungeon layouts 2026-08-28 18:48:44 +08:00
sunxfancy 9261044232 feat(procgen): add configurable dungeon dressing 2026-08-28 12:52:13 +08:00
西风逍遥游 63246b8c68 fix: complete architecture consolidation contracts 2026-08-28 00:01:55 +08:00
西风逍遥游 a8b8e83128 refactor: consolidate engine architecture contracts 2026-08-27 12:54:48 +08:00
西风逍遥游 a1f977ffc8 feat(procgen): add level.roguelike generator + detail layer
Add a seed-driven room-and-corridor dungeon generator inspired by
RoguelikeGenerator Pro, and extend Grid2D with a per-cell detail layer so
generators can carry wall-autotile direction masks, floor-pattern variants
and scattered decor tiles alongside the semantic grid.

- new algorithm "level.roguelike": rooms/corridors, configurable rules
  (roomCount/min/max, corridorStyle, floorPattern, decorDensity/Set,
  autotile, padding/spacing/corridorWidth), deterministic from a seed
- Grid2D.setDetail/getDetail + detail() accessor (palette/GID compatible)
- procgen.autotileGrid(grid): write 8-bit wall-direction masks into any grid
- procgen.randomSeed(): fresh non-zero seed helper
- examples/roguelike-generator: interactive 2D/2.5D render test with CC0
  dungeon tileset (Buch, OpenGameArt)
- test/roguelike_generator.cpp: reproducibility, structure, rules, manual
  fill, autotile, randomSeed (8 cases, all pass)
- docs: procgen module page + user guide shortcut table
2026-08-15 17:56:42 +08:00