Commit Graph
3 Commits
Author SHA1 Message Date
西风逍遥游 4f04904e52 feat(gameplay): compose card and rts authoring 2026-08-25 06:09:10 +08:00
西风逍遥游 e55a1da729 fix(crowd): register test sources in manifest and drop unused var
- add crowd.cpp / crowd_script.cpp to test/CMakeLists.txt explicit list
  (check_test_manifest.py requires every test source to be listed)
- remove unused 'c' variable in removeAgentSwapPop that trips /W4 /WX
2026-08-23 20:04:23 +08:00
西风逍遥游 9d5e61fde8 feat(crowd): flow-field pathfinding + boids crowd behavior module
- CrowdField: Dijkstra integration field to continuous gradient flow
  field with bilinear sampling, terrain cost and multi-goal support
- Crowd: SOA simulation for massive crowds - flow/seek/boids/idle
  actions, turn-rate-limited heading, Boids separation/alignment/
  cohesion, wall penetration resolution, per-frame counting-sort
  spatial grid and overlap relaxation
- Squirrel API: eve.Crowd with batch getPositions/getHeadings
- example: examples/crowd (2000-agent marching / boids demo)
- tests: flow field correctness, turning, seek arrival, boids
  convergence, wall penetration, 20k-agent smoke + script round-trip
2026-08-23 19:17:12 +08:00