troytt
|
d393a48043
|
feat(drop): embed MonStats and SuperUniques with 1.13c multi-diff TC parity (Fixes #410, #411)
- Pack and embed authentic 1.13c MonStats drop columns (734 kinds) with noRatio support
- Embed SuperUniques multi-difficulty TCs (66 unique bosses) and fail-fast loading
- Fix SuperUnique minion TC3 inheritance and minion monsterType identification
- Add adversarial drop parity audit and superunique minion test suites
- Update D2MOO oracle seed generator and Paladin skill tree parity
|
2026-09-25 13:44:35 +00:00 |
troytt
|
395f0b22bc
|
feat(drlg): overhaul outdoor wilderness generator with strict D2MOO 1.13c parity (Fixes #455)
- Refactor entire wilderness generation pipeline under src/game/wilderness/
- Implement DRLGOUTPLACE dynamic level connection dimensions and orientation flags
- Align outer river double-column generation (x = nGridWidth - 2) replacing perimeter trees
- Implement authentic 4-pass secondary borders with 52 groups of DS1 substitution patterns
- Align 56x8 TownSTrans gate to river boundary and place all 5 canonical presets
- Replace dual road generators with single-pass orthogonal dirt path rasterizer
- Initialize 0x40002 base floor grass and apply LvlSub.txt SubType 6 clustered replacements
- Add D2MOO native mapgen parity fixtures and comprehensive stress & reachability test suites
|
2026-09-25 04:48:57 +00:00 |
troytt
|
4d47a56e68
|
feat(mpq): 实现 ADPCM 与 Huffman 音频解码并接入 Web Audio (fixes #13)
- 基于 StormLib 的 C++ 原型,实现了 4-bit IMA ADPCM 解码(单声道与双声道分离)。
- 实现 FGK 自适应 Huffman 树解码,从给定分布表构建静态初始树进而按流插入权重并重平衡。
- 保证严格使用位运算确保 16-bit 符号处理正确,增加对应 ADPCM 解码保护边界。
- 新增 `AudioManager` 基于 Web Audio API 设计跨文件懒加载及混音管理,避免在未配置时报错。
- `tests/mpq-audio.test.ts` 加入覆盖测试,并含 ADPCM 打包构造器,证明解压流程完整有效。
- `package.json` 添加 `verify:audio` 脚本,可快速校验环境依赖导入。
|
2026-09-14 12:30:21 +00:00 |