Commit Graph

660 Commits

Author SHA1 Message Date
d36ea69066 refactor: 贴图存储方式 2026-09-22 21:11:21 +08:00
3bcba48f48 docs(04-07): complete material interface adaptation plan 2026-09-22 12:39:32 +08:00
1bb42f66ca docs(04-07): record execution state 2026-09-22 12:12:16 +08:00
78873d0a27 refactor(04-07): adapt material interfaces (drop big-image, inject state)
- delete MaterialManager big-image implementation (IBigImageReturn import, bigImageStore/bigImageData/bigImageId fields, 5 methods, setDefaultFrame coupling)
- change 7 consumers getIfBigImage -> getTile (door x2, hero x3, renderer, vertex); drop getOffsetPool big-image offset loop
- delete cache.ts legacy big-image path (RenderableDataBase.bigImage, literals, destructuring, enemys special-case, big-image branch, unused enemys decl)
- inject state via constructor into MaterialManager/AutotileProcessor/AssetBuilder/TrackedAssetData (from ClientCore; renderer uses manager.state)
- add MaterialManager.textures (dedicated TextureStore)
- declare @user/data-state in client-base/package.json (lockfile not synced)
2026-09-22 11:52:55 +08:00
786c00c499 docs(04): plan material interface adaptation (04-07) 2026-09-22 11:31:00 +08:00
f55a76297f fix(04): revise plans based on checker feedback 2026-09-22 11:22:51 +08:00
bb1364b495 docs(04-07): create material interface adaptation plan (D-33..D-37) 2026-09-22 11:07:18 +08:00
ac69d31cbb docs(04-06): complete material impact study; sync state 2026-09-22 10:29:20 +08:00
85f65b8f55 docs(04-06): material 接口影响范围清点(只读,D-30/D-31/D-32)
- 唯一交付物 .planning/phases/04-render-adaptation/04-MATERIAL-INTERFACE-IMPACT.md(11 节 / A–F 六类 / 每行双 file:line 锚点)
- A 类 12 行(7 个已移除符号、9 处调用点、3 符号 0 调用);B 类源码面 0 命中;C 类 5 项约束未实现;D 类 12 行 big-image 残留;E 类 8 行仅报告;F 类 6 条未确定
- 类型门禁 199 / 19(与规划日一致);只读基线逐条一致;生产源码零改动;用户并发改动未触碰
- 04-05-PLAN.md / 04-05-SUMMARY.md 未改写;第二步未规划(D-32)

Refs: REND-01, REND-02 (仍保持 Pending)
2026-09-22 10:26:29 +08:00
58a8e6806e docs(04): register 04-05/04-06 and sync progress metadata 2026-09-21 23:17:21 +08:00
3fadf34fff fix(04): revise plan 04-06 verification-strength claim (must_haves truth vs Task 3 gate) 2026-09-21 23:15:22 +08:00
a5bb5550d3 fix(04-06): reconcile type-gate aggregates to measured split (19 material / 180 non-material) 2026-09-21 20:12:19 +08:00
dbc733637c docs(04-06): create material interface impact plan (read-only, D-30/D-31/D-32 step 1) 2026-09-21 19:53:14 +08:00
4e305e392a refactor(type): material types. 2026-09-21 19:16:33 +08:00
9b51b6a1ce docs: correct the data-end packaging description 2026-09-21 16:39:02 +08:00
bbf8d9c038 docs(quick-260921-lwa): upgrade toolchain to pnpm 12.5.1 and Node 24 2026-09-21 16:32:37 +08:00
d09dc3b4a0 docs(toolchain): update pnpm 12 / Node 24 requirements 2026-09-21 16:27:42 +08:00
1dd3ad41cc chore(toolchain): pin pnpm 12.5.1 and require Node 24 2026-09-21 16:25:09 +08:00
50bd679fad feat: 渲染端配置加载 2026-09-21 10:09:20 +08:00
d65b107819 refactor: 渲染端配置文件 2026-09-20 23:49:27 +08:00
cc434a6c66 refactor: 加载系统重构 2026-09-20 20:53:46 +08:00
d12790280a feat: 完成数据端数据类型的构建 2026-09-20 19:11:43 +08:00
c0a58706d9 docs(04-05): record execution state 2026-09-20 16:53:09 +08:00
704294f9c3 fix(04-05): forward layer area/block updates via IMapLayerHooks 2026-09-20 16:46:17 +08:00
49d86a2c57 fix(04-05): read hero status via client attribute API 2026-09-20 16:43:05 +08:00
a3f3e90e47 style: hero render 2026-09-20 15:50:42 +08:00
7a17accf66 docs(04-04): complete 勇士渲染修正 plan 2026-09-19 17:00:07 +08:00
0ad933368c docs(04-04): record execution state 2026-09-19 16:57:27 +08:00
3414233e34 refactor(04-04): align hero renderer with IFaceManager and split hooks
- inject IFaceManager into MapHeroRenderer; degrade/next use Dir4FaceHandler via FaceGroup.Dir4, movement uses hero.mover.faceHandler (Dir8)
- IMapExtensionManager.addHero gains faceManager param; manager.ts forwards it
- split MapHeroHook into MapHeroLocationHook / MapHeroMoverHook; onSetPos unconditional
- handle ObjectMoveType.AnimDir via step.dir
- replace mutate-animate TimingFn with @motajs/animate ExcitationCurve2D in hero.ts
2026-09-19 16:51:55 +08:00
2169af4c67 docs(04-04): sync roadmap/state metadata for D-29 revision 2026-09-19 15:09:38 +08:00
b59710ac7d docs(04-04): revise plan for D-29 IFaceManager injection 2026-09-19 14:52:13 +08:00
e3880fb756 docs(04): plan hero render correction (04-04) 2026-09-19 13:13:02 +08:00
bac3e46fba fix(04-04): revise plan per checker feedback 2026-09-19 13:08:49 +08:00
f99ad0cbe9 docs(04): create phase plan 04-04 (hero render correction, D-24..D-28) 2026-09-19 12:56:01 +08:00
4e649533ee chore: 内部接口改名 2026-09-19 12:33:10 +08:00
84972008cf Merge branches 'refine/data-client' and 'refine/data-client' of github.com:motajs/template into refine/data-client 2026-09-19 11:31:10 +08:00
68c2f40161 chore: 调整依赖 2026-09-18 21:11:18 +08:00
7d5f5d90c7 docs(04): record design rulings D-19..D-23 2026-09-18 20:37:55 +08:00
ed0b95b1c4 feat: CoreState 配置添加 loadStarter 2026-09-18 20:36:03 +08:00
f5a6ed8cf6 refactor: 加载系统 2026-09-18 20:30:40 +08:00
d3598e9e27 docs(04-03): record execution state 2026-09-18 16:02:59 +08:00
bff8060ad2 docs(04-03): complete 勇士本体被动适配 plan 2026-09-18 16:01:09 +08:00
85637b06f6 docs(04-03): record execution state
- 04-03-SUMMARY.md: pre-execution interface recheck, concurrent-edit baseline, type baseline
- reconciliation R-01..12 mapping, machine gate outputs, manual review, deferred items
- REND-01 / REND-02 remain Pending; runtime UAT unavailable (addHero not wired)
2026-09-18 15:58:50 +08:00
a3826bfa6a refactor(04-03): rebind hero renderer to IHeroLocation and existing hooks
- manager.ts / types.ts: heroMap, addHero, removeHero keyed by IHeroLocation
- hero.ts: bind IHeroLocation, read getCurrentFaceDirection, use ObjectAnimDirection
- MapHeroHook subscribes IHeroLocationHooks / IObjectMoverHooks with existing member names (D-21)
- IMapHeroRenderer drops the 8 external drive members per D-20; D-18 / D-22 members preserved
- hero.image read converged to one minimal compile bridge annotated for D-18
2026-09-18 15:55:02 +08:00
f6cd958876 docs(04): plan hero-body adaptation (04-03) 2026-09-18 14:55:01 +08:00
3d2d6dd0b1 fix(04-03): revise plan per checker feedback (token-scoped rename gates, remove unused FaceDirection import, baseline-aware scope gate) 2026-09-18 14:46:41 +08:00
c05fa322d0 fix(04-03): revise plan per checker feedback (hook async/remove-legacy self-consistency) 2026-09-18 14:31:09 +08:00
d7f2e277d9 docs(04-03): plan hero body render adaptation 2026-09-18 14:14:12 +08:00
90d14ef1c1 docs(04-02): record execution state 2026-09-18 13:01:33 +08:00
847df00d2d docs(04-02): complete 勇士移动接口探索 plan
- SUMMARY:8 段账本 + 12 条三态对账 + 2 条缺失候选 + 7 条未确定
- STATE:Plan 2/2、decisions、session;ROADMAP:04-02 计划完成
- 零生产代码改动;被查两包相对基线零变化
2026-09-18 12:52:51 +08:00