bc7d631dc2
feat(04-14): 部分 UI 进一步接口适配·第二步(D-74..D-78)
...
D-78: main.tsx 状态栏更新改为在 client.hero.attribute 上 addHook({ onUpdateAttribute }) 并在 onUnmounted 注销;移除全局 hook 残留与手工调用垫片。
D-74/D-75: load.tsx 改依新加载系统 client.loader.start() + client.loader.manager.get*;移除旧接口成员与失效 @ts-expect-error。
D-76/D-77: 删除 render/index.tsx 的 restart 注释块、client.ts 两段兼容层注释、entry-client/src/create.ts 被注释接线与模块创建函数块。
仅含五个生产文件与 04-14-SUMMARY.md;未触用户 04-CONTEXT.md 并发改动。
2026-09-30 16:36:19 +08:00
7180649a64
refactor: hook & feat: 勇士属性更新接口
2026-09-30 15:44:29 +08:00
d8fa4b8507
refactor: Delete global loading & hook object
2026-09-30 12:30:42 +08:00
7c155be5ce
refactor: map
2026-09-30 00:00:20 +08:00
b262918082
refactor: 地图 MapLayer
2026-09-29 20:21:50 +08:00
122567b050
refactor: hero
2026-09-29 16:41:44 +08:00
bbdea04393
refactor: 地图前半部分
2026-09-28 23:36:54 +08:00
b3ac1d2164
chore: 提示词调整
2026-09-27 14:01:03 +08:00
81e4e98507
refactor(04-12): 桶导出边界修正——shared 单文件化 + 消费者直连 @user/client-base(D-69/D-70)
2026-09-25 14:21:14 +08:00
0b93426d47
refactor(04-11): 渲染端结构性移植——通用渲染资产下沉 @user/client-base(D-58..D-68)
...
- MOVE:39 个文件由 client-modules/src/render/ 移入 client-base/src/{components,elements,map,layout}/,删除原件
- D-58:新建 client-base/src/shared/(10 常量纯摘取)+ 被移 map 文件 shared 说明符改指 4 处
- D-63:client-base/src/index.ts 新增 5 条桶导出;14 个实现层消费者改指 @user/client-base
- D-66:client-base/package.json 新增 5 条 workspace:* 依赖 + 根 pnpm i(lockfile importer 同步)
- D-59 / D-60 / D-68:10 处架构耦合以带原因 // @ts-expect-error 暂记,不反向引用、不解耦
- D-62:命名一律不变;D-64 ?raw 不处理;D-65 legacy 一律不管
2026-09-24 17:14:43 +08:00
47e71b52ae
refactor: EnemyManager
2026-09-24 14:40:38 +08:00
3bc37b596d
docs: 修正 types.ts 中关于录像参数的描述
2026-09-23 19:36:10 +08:00
2198734f81
refactor: replay system
2026-09-23 18:25:31 +08:00
9247a8886c
feat: 调整录像参数类型的参数类型,10 ~ 31 留空,32 ~ 255 分配给短字符串
2026-09-23 16:26:17 +08:00
1fb92c3976
refactor: data-common/common
2026-09-23 16:04:50 +08:00
523ea6b333
style(04-09): collapse autotile.render call to satisfy prettier
2026-09-23 15:43:59 +08:00
88a21bf740
fix(04-09): complete texture interface adaptation in vertex/renderer
...
- vertex.ts: updateAutotile calls render; autotile checks use tileType; drop BlockCls import (D-43/D-44)
- renderer.ts: background autotile branches use tileType + render; add TileType import; drop BlockCls import (D-43/D-44)
2026-09-23 15:41:16 +08:00
d90c09f0a7
fix(04-09): adapt map render consumers to new texture interface
...
- hero.ts: hero texture literal builds tileType: TileType.Unknown (D-45)
- vertex.ts updateMoving: tileType destructure + autotile.render(tile, connection) (D-43/D-44)
- renderer.ts: autotile taken from manager.autotile; drop unused AutotileProcessor import (D-46)
2026-09-23 15:28:50 +08:00
d74cc35c8e
feat: Adding should replay flag
2026-09-23 13:09:43 +08:00
7743795948
refactor: Hero equipment system
2026-09-23 13:09:19 +08:00
d36ea69066
refactor: 贴图存储方式
2026-09-22 21:11:21 +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
4e305e392a
refactor(type): material types.
2026-09-21 19:16:33 +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
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
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
4e649533ee
chore: 内部接口改名
2026-09-19 12:33:10 +08:00
ed0b95b1c4
feat: CoreState 配置添加 loadStarter
2026-09-18 20:36:03 +08:00
f5a6ed8cf6
refactor: 加载系统
2026-09-18 20:30:40 +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
ae5a956492
chore: 删除 IDirectionMapper,全换成 IFaceHandler
2026-09-18 08:26:57 +08:00
4aaea68b65
refactor: 寻路系统改进
2026-09-17 21:21:08 +08:00
bb1986508a
fix(07-15): restore modifier bookkeeping when cloning an attribute
...
- clone() now binds each cloned modifier to the clone, records its modifierName, mirrors the source save flag and recomputes the attribute, matching addModifier's bookkeeping
- a cloned attribute can enumerate, index and persist its modifiers, and a cloned modifier's setValue notifies the clone
- add the bookkeeping and save-ability regression cases
2026-09-17 20:55:58 +08:00
49116c0784
fix(07-15): reject an expand multiplier of exactly one
...
- both multiplier checks tighten from < 1 to <= 1, matching warning 149's own text (must be greater than 1)
- an exact multiplier of 1 now warns 149 and falls back to the existing factor 2, so buffer expansion always terminates
- add the multiplier-of-one regression case (two code 149 warnings, 15 appended steps all read back in order)
2026-09-17 20:52:20 +08:00
a7c9f97c94
fix(07-15): drop unencodable replay params instead of a zero-length record
...
- normalizeParam returns null for an unencodable param value, matching its own jsDoc and the documented discard semantics of normalizeParamList
- the command param count, the bytes actually written and the param cursor stay consistent so later commands keep their correct byte offsets
- add the discard-alignment regression case (count 0, later command bytes intact, read stream aligned)
2026-09-17 20:48:47 +08:00
53f067a0af
fix(07-15): compare equipment without rebinding the equipped modifiers
...
- compareEquip clones each compared item's modifier before adding it to the comparison clone and removes the same clone objects afterwards
- the live attribute's already-bound modifiers never enter the clone and are never unbound
- add the equipped-item diff regression case (both directions, no warning 108, live bookkeeping untouched)
2026-09-17 20:46:10 +08:00
e9e9939bd8
refactor: 删除 data-state 中的 legacy 文件夹
2026-09-17 19:37:30 +08:00
a2a8e6ec35
refactor: ReplaySystem.route -> ReplaySystem.array,修复 disabled 标记在 setReplayArray 中清零可能导致意外记录的问题
2026-09-17 19:18:30 +08:00
3a3a6ac82d
refactor: 统一 refreshEnemy 和 refreshEnemyAndClearCache
2026-09-17 19:08:34 +08:00
34ba9e873b
fix: 录像 onRecordCommand 钩子参数错误
2026-09-17 19:02:47 +08:00
219ac4991d
fix: Flag 系统语义问题
2026-09-17 19:01:46 +08:00
a027b04d14
chore: 清空类型错误
2026-09-17 18:38:29 +08:00
6d7cc2af22
refactor: 删除 legacy-client
2026-09-17 18:30:39 +08:00
12c2943c5e
refactor: 删除 legacy-plugin-client
2026-09-17 18:28:06 +08:00
e2e27d9ff2
refactor: 删除 data-fallback
2026-09-17 18:24:07 +08:00