hud: header comment

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
khallaandClaude Opus 5.5 committed 2026-10-14 04:57:22 +02:00
1 parent 03dbbfc5e3
commit ba03672c32
1 file changed
+3 -2
+3 -2
View File
@@ -1,9 +1,10 @@
// HUD layout for widened views.
//
// The UI is laid out for 1024x768 and drawn into the top-left of the widened
// render target. Selected windows are moved as a whole:
// - cUI_Taskbar2 (orbs, belt, skills at the bottom): centred horizontally
// render target. Windows are moved as a whole:
// - cUI_Mercenary (party panel: portrait and health at the top): right edge
// - everything else (bottom bar, dialogs, inventory, maps, ...): centred
// See docs/hud.md for the hooks and what happens outside a window's scope.
//
// A window is moved by transforming what it draws and what it receives, so
// positions it computes itself (e.g. the potion arc) follow as well: