diablo2-web/tests/client
troytt dd775c8156 fix(client): keep unit animation facing aligned with movement direction
The walk/run clip often faced away from the direction of travel:

- deltaToDir16 used 0 = +X with rounding, while 1.13c clips start at
  south-west; units further reduced it with dir16 % 8 and the renderer
  with % dirCount, so 8-direction monsters showed the wrong row.
- re-pathing every frame while the mouse was held made the first path
  point the centre of the current cell, so the unit stepped back and
  turned around before moving on.
- server position packets rubber-banded the local player towards a
  lagging position, and spawnOrSnap reset the facing to 0.

Unit facing is now the 1.13c dir64 (D2Common 0x6FD5CF40), set once per
path segment and kept while idle, mapped to the clip row with the D2CMP
and moveToWorldSubTile paths from the rounded cell. The local player
follows D2Client's position gate 0x6FADA1B0: out-of-tolerance positions
send C2S 0x5F instead of moving the predictor, 0x15 is the authoritative
snap, and replay follows the recorded positions.
2026-10-02 06:38:35 +00:00
..
client-world.test.ts feat(client,netproto): complete D2GS v1.13c online gameplay loops (R1-R5: item tooltips, container ops, NPC dialogue/travel, mercenaries, warps/portals/SkillCast/death, party/trade/quest panels) 2026-10-02 06:08:32 +00:00
derived-stats.test.ts fix(client): table-driven missile ids and derived character stats (P3) 2026-10-01 01:41:13 +00:00
drlg-map-motion.test.ts fix(client): keep unit animation facing aligned with movement direction 2026-10-02 06:38:35 +00:00
escape-menu-113c.test.ts fix(client): exit Escape menu Save and Exit Game to Battle.net Lobby instead of login 2026-10-02 02:57:47 +00:00
gamble-replay-ui.test.ts test(client): capture-backed gamble flow (fixture 09, Gheed) 2026-10-01 11:09:54 +00:00
hud-server-authority.test.ts feat(client,netproto): complete D2GS v1.13c online gameplay loops (R1-R5: item tooltips, container ops, NPC dialogue/travel, mercenaries, warps/portals/SkillCast/death, party/trade/quest panels) 2026-10-02 06:08:32 +00:00
hud-session-play.test.ts fix(client): keep unit animation facing aligned with movement direction 2026-10-02 06:38:35 +00:00
local-position-gate-session.test.ts fix(client): keep unit animation facing aligned with movement direction 2026-10-02 06:38:35 +00:00
missile-id-map.test.ts fix(client): table-driven missile ids and derived character stats (P3) 2026-10-01 01:41:13 +00:00
session-lost-login.test.ts fix(client): return to the login screen with a 1.13c reason on session loss 2026-10-01 12:02:30 +00:00
settings-toolbar-view.test.ts feat(client): integrate on-demand EntityArtCache, object/NPC/flippy/animated-tile rendering, and remove drawSolid fallbacks (#540) 2026-10-01 18:21:03 +00:00
spawn-position-539.test.ts fix(client): keep unit animation facing aligned with movement direction 2026-10-02 06:38:35 +00:00
transaction-cost-input.test.ts feat(client): price server items with the 1.13c #10107/#10071 port 2026-10-01 10:29:07 +00:00
unit-facing-motion.test.ts fix(client): keep unit animation facing aligned with movement direction 2026-10-02 06:38:35 +00:00
vendor-stash-replay.test.ts feat(client): server-driven NPC/stash interaction state in ClientWorld 2026-10-01 10:08:43 +00:00
vendor-stash-ui.test.ts feat(client,netproto): complete D2GS v1.13c online gameplay loops (R1-R5: item tooltips, container ops, NPC dialogue/travel, mercenaries, warps/portals/SkillCast/death, party/trade/quest panels) 2026-10-02 06:08:32 +00:00
viewport-formula-profiles.test.ts feat(client): formula-derived viewport profiles + 1068x600 / 1280x720 2026-10-02 06:22:40 +00:00