Water, network-actor, flying-effect and weapon-trace clocks used
frames*0.033 or frames/60, and the sky box, effect.Update, fly.Update and
render-target previews advanced a fixed 1/30 or 1/60 s per call, so their
speed followed the frame rate. They now use the measured frame delta
(game_clock = sum of dt in main; GetGameFrameDelta for the Python-driven
paths; elapsed SDL ticks for render targets). --frames runs keep their
fixed 0.033 s step. The SpeedTree wind update is left unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Font: walk UTF-8 codepoints in place instead of building a vector;
reuse the texture-cache key buffer on the hit path.
- Text tails: show/ShowAll test isShowing (kept equal to list
membership) instead of a linear find per tail, which made the
per-frame ShowAllTextTail O(N^2); memoize label widths measured by
both Arrange and Render.
- Tail painter reuses one CGraphicTextInstance and font name.
- CGraphicTextInstance::Render no longer copies the text unless secret.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>