西风逍遥游
811eff1c3a
ci(quality): warnings-as-errors gate, sanitizers, smoke, Python lint/tests
...
- EVENGINE_ENABLE_STRICT_WARNINGS option: MSVC /W4 /WX, GCC/Clang
-Wall -Wextra -Werror, with documented noise suppressions and
-isystem/-external:I for third-party headers; enabled on the
Windows/Linux debug CI jobs.
- Fix warnings across engine, modules and tests exposed by the gate,
including real bugs (incomplete-type deletes, Timespan microsecond
overflow, overload hiding, enum switch gaps, dead code).
- Add Linux ASan+UBSan job, example smoke step, python-tools test
job, ruff config (scripts+tools), weekly Linux coverage job and a
CodeQL workflow.
2026-08-22 02:27:37 +08:00
西风逍遥游 and Cursor Agent
c0d9fe4a7d
test(hex): 程序化六边形关卡套件(FOV / 光照 / 寻路 / 拾取 / 粒子) ( #50 )
...
* test(hex): add procedural hex dungeon levels for engine QA
Cross-module simulation levels exercise hex tilemap procgen, FOV,
2D lighting, spatial pickup + inventory, and particles. Includes a
playable examples/hex-levels demo with level select and a pipeline crawl.
Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com >
* test(hex): expand levels 06–15 and fog-raid pipeline
Add Flow Field swarm, cell-cost detours, multi-revealer perception,
FoW mask/algorithms, camera pick, dual-grid, procgen variants,
QuadTree cull, multi-light, particle/stash transfer, and a fog-raid
pipeline. Update the playable hex-levels demo for levels 6–9.
Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com >
* test(hex): add fixture JSON data and data-driven hex tests
Expand catalog/items/loot/seeds/perception fixtures, handcrafted maps,
and particle configs. Wire the hex-levels demo to load items and particle
JSON plus fixtures.nut loot tables. Register hex_level_data.cpp coverage.
Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com >
* test(hex): fix data fixtures assertions for zeroerr and sparse gens
Avoid CHECK_EQ on bag->addItem (double-eval), and only enforce minWalkable
on dungeon.bsp in the seeds matrix smoke.
Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com >
* feat(hex): boot each level from distinct catalog configs
Enrich catalog/fixtures with per-level FOV, light, cell-cost, and enable
flags. Wire examples/hex-levels to apply those boot settings on level
switch. Add hex.data.catalog.bootEachLevelDistinctConfig to verify each
catalog entry starts with its own applied configuration.
Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com >
* docs(hex): note per-level boot configs in data README
Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com >
* test(hex): add levels 16–20 and extra data-driven coverage
Expand simulation with facing-cone FOV, flow+cell-cost, seed
reproducibility, corner peek, equipment equip, and torchEscort /
catalogRaid pipelines. Add fixture tests for perception gates, all loot
tables, enable-flag consistency, seed path samples, map markers,
defaults, equipment slots, and mist particles on dungeon.
Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com >
* docs(hex): clarify expanded test coverage in README
Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com >
* test(hex): add levels 21–25 and broader fixture validation
Cover hex world↔tile roundtrip, FOV memory clear, findGroupPath,
multi-algo FOV smoke, blocked-cell sync, and costlyFogPickup pipeline.
Add data tests for loot/item referential integrity, feature tags,
particle schema, algorithm registration, ring-door path, categories,
detection margin, and door walkability.
Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com >
* feat(hex): expand catalog to 31 levels (0–30) and playable cycle
Add levels 16–30 with distinct boot configs (facing cone, flow+cost,
maze/WFC/drunkard, mist particles, raid combo). Regenerate fixtures.nut
with LEVEL_IDS; main.nut cycles all catalog levels via N/B. Add
simulation cases 26–30 and catalog presence tests.
Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com >
* fix(hex): harden level 02/17 against non-portable procgen paths
macOS CI failed hex.level.02.dynamicFov (empty path) and
hex.level.17.flowPlusCellCost (path length == 2) because spawn↔exit
layouts from DTL/std distributions differ across libstdc++ vs libc++.
Use handcrafted hex maps so FOV memory and flow+cost assertions are
platform-stable.
Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com >
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com >
2026-08-13 11:54:41 +08:00