1. Player click → zoom: clicking a player in sidebar or on map dot zooms to their position at 3x zoom, centered on screen. Click again to deselect. Uses direct DOM transform (no React state). 2. Selected dot blink: selected player dot gets 10px size + blink animation (0.6s step-end infinite) matching v1's .dot.highlight. 3. Version display: fetches /api-version on mount, shows "vX.Y.Z" in small text positioned just right of sidebar (fixed, top: 6px). 4. Missing sidebar buttons: added Combat Stats (⚔️) alongside existing Issues (📋) and Vital Sharing (🤝) in SidebarWindowButtons. 5. Rare notification: added 🎆 emojis to "LEGENDARY RARE!" title matching v1's notification text. 6. Dungeon map in radar — verbatim port from v1 lines 3596-3930: - loadDungeonTiles(): fetches dungeon_tiles.json, processes each tile image (color remap: UB source colors → display colors, white → transparent, black → semi-transparent) - cellRotation(): maps rotation values to radians (v1's exact logic) - Dungeon rendering: sorts z_levels (current floor on top at 85% opacity, others at 12%), draws each cell with per-cell rotation, uses processed tile canvases or colored rectangle fallback - Requests dungeon map via WebSocket when radar detects dungeon - Caches dungeon maps on window.__dungeonMapCache - Overworld map: fixed srcSize calculation to use range * pixPerCoord Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| icons | ||
| v2 | ||
| acmap.png | ||
| admin.html | ||
| debug.html | ||
| dereth.png | ||
| dereth_highres.png | ||
| dungeon_tiles.json | ||
| favicon.ico | ||
| index.html | ||
| inventory.html | ||
| inventory.js | ||
| login.html | ||
| prismatic-taper-icon.png | ||
| script.js | ||
| style-ac.css | ||
| style.css | ||
| suitbuilder.css | ||
| suitbuilder.html | ||
| suitbuilder.js | ||