mirror of
https://github.com/jkdansereau/goldeneye-pc-port.git
synced 2026-10-24 00:02:45 +02:00
User ask: adjustable HUD scale for the ammo counter, bottom-left pickup/ item status text, and top-of-screen dialogue. All three route through textRenderOutlined() (textrelated.c:688, doc comment confirms ammo counter + bottom-left HUD messages), called from exactly two in-game sites in bondview2.c (:10005 ammo/pickup, :10163/10165 dialogue) - distinct from the many other callers in front.c/options.c/mpmenu.c (menu/UI text), which must NOT be scaled by this feature (own layout, D211 already established HUD anchors stay put). Underlying mechanism: plain RDP gSPTextureRectangle at native glyph size, dsdx/dsdy=0x400 (1:1 texel:pixel), no scale factor in the chain. Two implementation directions logged (surgical wrapper at the 2-3 call sites vs. a scale param threaded through the shared function). No PD precedent. Not designed or implemented - research only. Claude-Session: https://claude.ai/code/session_016TaKy6AAsVUTfjkhrX6CjG