Commit Graph
16 Commits
Author SHA1 Message Date
西风逍遥游 f81eac64df Merge branch 'dev' into codex/rts-full-migration-ci 2026-09-01 09:00:39 +08:00
sunxfancy 5d6377cc55 feat(rts): migrate complete high-level strategy framework 2026-09-01 01:12:30 +08:00
西风逍遥游 66dc4e8f3d feat(rpg): restore classic product loop after CI fix 2026-08-31 23:16:42 +08:00
西风逍遥游 775ac0c7cc Revert "Merge pull request #317 from EVEngine/codex/rpg-classic-product-loop"
This reverts commit 6541e5ac83, reversing
changes made to 3c21fe396a.
2026-08-31 23:04:39 +08:00
西风逍遥游 2319ae0118 feat(rpg): complete classic RPG product loop 2026-08-31 19:49:32 +08:00
西风逍遥游 245510ccad feat(map): add production autotile pipeline 2026-08-30 10:45:57 +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
西风逍遥游 e571651ac6 feat(map): add production tilemap foundations 2026-08-25 00:02:54 +08:00
西风逍遥游 aa79d70200 feat(map): add composable 2.5D tileset workflow 2026-08-24 13:38:11 +08:00
西风逍遥游 c3a2da2d99 feat: add physics-driven metroidvania demo 2026-08-15 00:37:50 +08:00
西风逍遥游andCursor Agent 0a2e56cb34 feat(map): 动态视野系统 Phase A/B/C (#21)
* docs: design 2D/3D compatible dynamic FOV system

Add a map-module FOV/FoW design based on public shadowcasting and
3D visibility references, with staged grid2d/heightmap/volume APIs
aligned to Pathfinder conventions.

Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com>

* feat(map): implement Phase A dynamic FOV with shadowcasting

Add Fov facade with multi-revealer recursive shadowcasting, explored
memory, and opaque-GID sync; expose Map.newFov / newFovSize bindings
and cover behavior in map_fov tests.

Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com>

* feat(map): implement FOV Phase B heightmap, volume, and masks

Add raycast/permissive algorithms, heightmap cliffs, volume slice
shadowcasting with vertical extend, dirty-skip compute, and CPU R8
mask export; cover with map_fov Phase B tests and docs.

Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com>

* feat(map): complete FOV Phase C hex, rectangle, and GPU masks

Add hex topology shadowcasting, rectangle-based occlusion FOV,
soft perception/stealth detection helpers, and RGBA8 mask Texture
upload via buildMaskTexture; cover with Phase C map_fov tests.

Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-08-11 02:12:33 +08:00
西风逍遥游andCursor Agent 1dbea1ebe7 feat(map): Tilemap dual-grid autotile resolve (#15)
* feat(map): add dual-grid autotile resolve for TileLayer

Implement Oskar Stålberg-style dual-grid: logic layer paints fill/empty,
display layer gets a half-tile offset 15-tile resolve. Document that Tiled
has no native dual-grid (Terrain/Wang Corner Set is same-grid only).

Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com>

* fix(map): use ComponentRef for DualGrid config access

TileLayer::config() returns ecs::ComponentRef, not a raw pointer.

Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com>

* test(map): fix dual-grid filledGid expectations and clean layers

Correct corner sampling for a single logic cell (BR vs TL) and clear
layers after resolve tests to avoid ECS draw pollution.

Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com>

* test(map): fix ComponentRef usage in dual-grid orientation tests

Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-08-10 14:03:37 +08:00
西风逍遥游andCursor Agent 372f2c66b6 feat(map): 可扩展格子寻路与群体 Flow Field 优化 (#13)
* feat(map): add extensible grid pathfinding with group Flow Field

Implement A* and same-goal Flow Field pathfinding on PathGrid with
pluggable topologies (ortho4/ortho8/hex) for orthogonal, isometric,
staggered, and hexagonal maps. Expose Pathfinder/Path/FlowField via
Map::newPathfinder and document the design.

Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com>

* fix(map): use ComponentRef accessors in PathGrid sync

TileLayer::config()/tiles() return ComponentRef, not raw pointers.
Also cast PathTopology in zeroerr CHECKs for streamability.

Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com>

* fix(map): shrink Windows export surface for pathfinding

MSVC LNK1189 (65535 library objects) is hit when WINDOWS_EXPORT_ALL_SYMBOLS
exports every PathGrid/topology symbol. Collapse grid/topology into an
internal Pathfinder impl (anonymous namespace) and a single TU so eve.exe
stays under the export limit.

Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com>

* fix(windows): disable WINDOWS_EXPORT_ALL_SYMBOLS to avoid LNK1189

MSVC cannot export every symbol from eve.exe once the binary grows past
the 65535-object limit. Plugins already import EVENGINE_API symbols
(ModuleManager / ModuleRegister); keep ENABLE_EXPORTS without exporting
the entire object set.

Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-08-10 13:02:57 +08:00
西风逍遥游 f0b0527f9f feat: enhance map module with multi-layer support and object management
- Implemented multi-layer tilemap functionality, allowing for the reading and saving of Tiled JSON formats.
- Added support for various tile projections (orthogonal, isometric, staggered, hexagonal) and depth calculations.
- Introduced object layer parsing and caching for improved map object management.
- Updated the rendering system to unify 2D depth queues and enhance sprite handling.
- Added new methods for accessing object properties, including position and dimensions.

This update significantly improves the map module's capabilities and integration with the rendering system.
2026-08-08 00:26:58 +08:00
sunxfancyandCursor c19b8fda41 feat: enhance physics and map modules with Box2D integration and documentation updates
- Updated the physics module to include Box2D support, enabling management of physics bodies and collision events.
- Enhanced the map module to support tile layers and improved hot-reload functionality for tilemaps.
- Updated documentation to reflect the new features in the physics and map systems, including usage examples and API references.
- Modified CMakeLists.txt to include new modules for physics and font management, ensuring proper build configurations.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 23:53:39 +08:00