Commit Graph
215 Commits
Author SHA1 Message Date
西风逍遥游 fa18e77b75 weapon: multi-form weapon system (kind/resource/stage) + P0 combat features
Generalize the weapon module from gun-only into a data-driven, cuttable
multi-form system supporting hot / melee / magic / missile weapons for
RPG / RTS / ARPG.

Core (WeaponTypes.h / WeaponSystem.cpp):
- WeaponKind (melee/ranged/magic/missile/custom) selects the attack form.
- AttackResource gates triggers by ammo/mana/charges/stamina/none.
- AttackStage machine (Idle->Windup->Active->Recover) replaces the hard-coded
  reload/burst path for non-ranged forms; hot weapons keep the mature pipeline
  so ranged behavior is byte-identical (regression baseline).
- IWeaponLogic gains begin/channel/end hooks (default no-op, backward compat).
- AttackRequest generalizes FireRequest (target handle, arc, aoe).
- WeaponRigEntity for hand-held weapons; WeaponMountEntity (turret) unchanged.

P0 combat features (data fields + event payloads, no arch change):
- Multi-pellet (shotgun), spread bloom, recoil model, runtime fire selector
  (safe/semi/auto), shared ammo pool (AmmoPoolEntity), damage type/element,
  ADS/zoom with aim_in/aim_out events.

Docs: 通用武器系统设计.md, 武器系统-对比Unity插件-差距分析.md.
Tests: test/weapon.cpp grows to 25 cases / 210 assertions, all passing.
2026-08-25 22:15:01 +08:00
西风逍遥游 c8614b2282 Merge remote-tracking branch 'origin/dev' into codex/evescript-language
# Conflicts:
#	CMakeLists.txt
2026-08-25 16:26:22 +08:00
西风逍遥游 6084d94076 docs: finalize implemented EveScript lowering 2026-08-25 16:11:17 +08:00
西风逍遥游 cca4432ce2 docs: define EveScript language and module system 2026-08-25 13:59:58 +08:00
西风逍遥游 f3102ed239 docs(editor): audit composable domain APIs 2026-08-25 06:09:10 +08:00
西风逍遥游 1acb447d1d feat(procgen): expose generator parameter schemas 2026-08-25 06:09:09 +08:00
西风逍遥游 3ce0111980 feat(editor): add composable voxel volume tools 2026-08-25 06:09:09 +08:00
西风逍遥游 a7ef7e55b6 feat(editor): compose live tile layers as targets 2026-08-25 06:09:09 +08:00
西风逍遥游 5419f58aeb feat(editor): expose composable field editing to scripts 2026-08-25 06:09:09 +08:00
西风逍遥游 8daf841af2 feat(ui): composite engine textures in declarative widgets 2026-08-25 06:09:09 +08:00
西风逍遥游 b33e4e58b9 feat(editor): add composable workspace SDK example 2026-08-25 06:09:09 +08:00
西风逍遥游 069de7f410 Merge pull request #231 from EVEngine/codex/model3d-pipeline-stage12
feat(model3d): complete stage 1-2 import pipeline
2026-08-25 02:20:47 +08:00
西风逍遥游 d3cb623ddb Merge remote-tracking branch 'origin/dev' into codex/editor-p0-p1-mcp
# Conflicts:
#	src/modules/editor/Editor.cpp
#	src/modules/editor/Editor.h
2026-08-25 02:19:38 +08:00
西风逍遥游 2b9947b198 Merge remote-tracking branch 'origin/dev' into codex/model3d-pipeline-stage12
# Conflicts:
#	src/modules/graphics/Mesh.cpp
#	src/modules/graphics/Mesh.h
2026-08-25 02:17:43 +08:00
西风逍遥游 a05431b781 Merge pull request #233 from EVEngine/codex/map-production-readiness
feat(map): add production tilemap foundations
2026-08-25 02:05:59 +08:00
西风逍遥游 cdff0b90d6 Merge remote-tracking branch 'origin/dev' into codex/editor-p0-p1-mcp 2026-08-25 00:39:42 +08:00
西风逍遥游 e571651ac6 feat(map): add production tilemap foundations 2026-08-25 00:02:54 +08:00
西风逍遥游 5844b9a663 feat(model3d): complete stage 1-2 import pipeline 2026-08-24 23:58:14 +08:00
西风逍遥游 71b68fc9ab docs(stylize): document recipe workflow and boundaries 2026-08-24 23:46:35 +08:00
西风逍遥游 328e37e8ec feat(editor): complete P0 and P1 authoring services 2026-08-24 22:47:23 +08:00
西风逍遥游 8c4af101da test: add zeroerr fuzzing for shared JSON parser 2026-08-24 20:32:49 +08:00
西风逍遥游 9d310161bf docs(graphics): record atmosphere implementation status 2026-08-24 15:42:17 +08:00
西风逍遥游 48531a2f6d feat(atmosphere): unify daynight fog lighting 2026-08-24 15:23:14 +08:00
西风逍遥游 b14419b01a Merge pull request #217 from EVEngine/codex/composable-2-5d-tilemap
feat(map): composable 2.5D TileSet workflow
2026-08-24 14:50:50 +08:00
西风逍遥游 8b972b6a59 Merge remote-tracking branch 'origin/dev' into codex/sprite-animation-production-api
# Conflicts:
#	src/modules/graphics/Graphics.cpp
2026-08-24 13:47:29 +08:00
西风逍遥游 aa79d70200 feat(map): add composable 2.5D tileset workflow 2026-08-24 13:38:11 +08:00
西风逍遥游 6887ae6d91 feat(animation): add production sprite sequence workflow 2026-08-24 12:39:59 +08:00
西风逍遥游 10de850214 Merge origin/dev into codex/vehicle-system 2026-08-24 10:43:06 +08:00
西风逍遥游 fb68507123 Merge remote-tracking branch 'origin/dev' into codex/composable-gameplay-rts
# Conflicts:
#	test/CMakeLists.txt
2026-08-24 00:51:44 +08:00
西风逍遥游 77d751890e feat(gameplay): add composable systems and RTS commandery demo 2026-08-24 00:29:35 +08:00
西风逍遥游 58db27d545 Merge pull request #206 from EVEngine/codex/editor-tool-protocol
feat(editor): add protocol-first map and terrain editor components
2026-08-23 21:43:14 +08:00
西风逍遥游 90b28f9fbc Merge pull request #205 from EVEngine/codex/crowd-flowfield
feat(crowd): flow-field pathfinding + boids crowd behavior module
2026-08-23 21:43:05 +08:00
西风逍遥游 097444bfc2 fix(vehicle): RTS orders arrive and fire, weapons auto-reload, demo uses sprites + HUD
- kinematic RTS orders decelerate when turning/approaching so moveTo actually
  arrives inside arriveRadius instead of orbiting forever
- attack order now auto-fires auto-aim mounts within weapon range
  (attack_move keeps aim-only behavior)
- weapon module auto-starts reload when mag empty, cooldown done, reserve left;
  events still emitted, game can override/cancel
- vehicle demo: real Kenney CC0 sprites (body rotates, turret rotates by
  mount yaw, destroyed greys out), readable ImGui HUD log, capture-mouse
  guard so clicks on HUD don't issue orders
- tests: weapon.fire.autoReloadOnEmpty; README + design doc updated
2026-08-23 20:32:43 +08:00
sunxfancy fd5febe73e Merge remote-tracking branch 'origin/dev' into codex/dynamic-surface-fluid
# Conflicts:
#	docs/dev/images/surface-fluid-dynamic.png
#	docs/dev/specs/2026-08-23-surface-fluid-simulation.md
#	examples/surface-fluid-dynamic/README.md
#	examples/surface-fluid-dynamic/main.cpp
#	src/modules/fluids/Fluids.h
#	src/modules/fluids/SurfaceDropletSimulation.cpp
#	src/modules/fluids/SurfaceDropletSimulation.h
#	src/modules/fluids/SurfaceWetnessField.cpp
#	src/modules/fluids/SurfaceWetnessField.h
2026-08-23 20:27:50 +08:00
西风逍遥游 0387f7f14a Merge pull request #200 from EVEngine/codex/atmosphere-volumetric-clouds
Improve atmospheric day/night skies and add volumetric clouds
2026-08-23 20:05:09 +08:00
sunxfancy ebfa403c3b docs(editor): explain protocol-first editor composition 2026-08-23 19:36:25 +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
sunxfancy 60b01b6ce2 fix(fluids): stabilize surface simulation timesteps 2026-08-23 19:11:18 +08:00
sunxfancy e831797957 feat(fluids): bridge droplet caps into scene rendering 2026-08-23 19:07:05 +08:00
西风逍遥游 61fc6f792e docs(vehicle): finalize design doc and add runnable vehicle demo example 2026-08-23 19:02:02 +08:00
sunxfancy 7435721367 feat(fluids): build oriented droplet render instances 2026-08-23 18:58:29 +08:00
sunxfancy 27a44960e6 fix(fluids): render continuous identity-stable wet trails 2026-08-23 18:43:49 +08:00
sunxfancy f8ad9900bc fix(fluids): preserve sphere reference visuals 2026-08-23 18:35:14 +08:00
西风逍遥游 5841b84b2e Merge pull request #201 from EVEngine/codex/urban-procgen
feat(procgen): hierarchical parcel & street co-generation (EG 2024 urban modeling)
2026-08-23 18:25:40 +08:00
sunxfancy dd35636a9f feat(fluids): support droplets on dynamic surfaces 2026-08-23 18:01:44 +08:00
sunxfancy 6bdf4ef00c feat(fluids): support droplets on dynamic surfaces 2026-08-23 18:01:13 +08:00
西风逍遥游 8a53d9d8a6 feat(procgen): hierarchical parcel & street co-generation (EG 2024 urban modeling) 2026-08-23 17:47:19 +08:00
sunxfancy b152da9a1c feat(graphics): add procedural volumetric cloud rendering 2026-08-23 16:33:32 +08:00
西风逍遥游 e48551911f Merge pull request #194 from EVEngine/codex/cloth-simulation
feat(physics): 2D/3D cloth with self-collision, fold limits, body collision, and GPU backend
2026-08-23 16:19:33 +08:00
西风逍遥游 426059d299 Merge pull request #195 from EVEngine/codex/animskin-script-skinning-writeback
feat(animation): script-playable skeletal animation via AnimSkin writeback
2026-08-23 15:02:29 +08:00