MosswartOverlord/frontend
Erik cf078b7765 fix(v2): full v1-style radar canvas + inventory icon composites
Radar — now pixel-accurate reproduction of v1:
- 300×300 canvas with dark circular background
- Semi-transparent dereth.png map overlay (heading-rotated)
- 4 range rings + crosshair lines
- Compass labels (N=red, E/S/W=gray) rotating with heading
- Facing direction indicator line
- Entity dots color-coded by type (Monster=red, Player=blue,
  NPC=green, Portal=purple, Corpse=orange, Container=yellow)
- Player dot: gold center with white border
- Heading-up rotation for all entity positions
- Click to select entity (white selection ring)
- Scroll to zoom (0.02-5.0 AC units range)
- Entity list with color dot, name, type, distance, compass direction
- Selected entity highlighted with blue left border

Inventory — v1-style icon composites + slot styling:
- 3-layer icon composite: underlay → base → overlay images
  using portal.dat offset formula + icon_overlay_id/IntValues
- Equipment slots: 3D beveled border + cyan glow when equipped
  (matching v1's outset border + #00ffff shadow)
- Pack item cells: purple gradient background (v1's #3d007a)
- Proper 36×36px icon rendering with pixelated scaling

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 19:16:21 +02:00
..
src fix(v2): full v1-style radar canvas + inventory icon composites 2026-04-12 19:16:21 +02:00
.gitignore feat: v2 dashboard — React + Vite parallel implementation 2026-04-12 15:07:11 +02:00
index.html feat: v2 dashboard — React + Vite parallel implementation 2026-04-12 15:07:11 +02:00
package-lock.json feat: v2 dashboard — React + Vite parallel implementation 2026-04-12 15:07:11 +02:00
package.json feat: v2 dashboard — React + Vite parallel implementation 2026-04-12 15:07:11 +02:00
tsconfig.json feat: v2 dashboard — React + Vite parallel implementation 2026-04-12 15:07:11 +02:00
tsconfig.tsbuildinfo feat: v2 dashboard — React + Vite parallel implementation 2026-04-12 15:07:11 +02:00
vite.config.ts feat: v2 dashboard — React + Vite parallel implementation 2026-04-12 15:07:11 +02:00