From b14b37b13dcc8b9a92995180257e3824ffa18536 Mon Sep 17 00:00:00 2001 From: Cyd Date: Fri, 14 Aug 2026 13:50:20 -0500 Subject: [PATCH] document BT_RIO_PROTRUDE in the generated environ.ini The button-protrusion dial shipped with no player-facing documentation -- it lived only in the source comment and the KB, so a tester who found the buttons too long (or wanted them longer) had no way to discover the knob. Adds a block to the self-documenting default environ.ini, at the end of the cockpit section beside the other display-shaping options (BT_MFD_SCALE, BT_RADAR_SCALE, BT_RADAR_POS, BT_COCKPIT_TINT): what it does, that it is a LONGER bar rather than a wider button (press target and imagery unchanged), that it touches only the red MFD and yellow map buttons, the 10 default, 0 for the original look, the 1-200 range, and the gotcha that it takes a NUMBER -- 'on' parses to 0 and turns it off. Verified by generating a fresh environ.ini from this build and reading the block back as a player would see it. The loader has no allowlist and refuses only BT_JOYCONFIG, so the key applies from the file; a real env var still wins over it, per the file's own contract. NB the default is only written when environ.ini is ABSENT (and only beside BTL4.RES), so existing installs keep their file and will not gain this text -- the handout/KB remain the channel for testers who already have one. Co-Authored-By: Claude Opus 4.8 --- game/btl4main.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/game/btl4main.cpp b/game/btl4main.cpp index f4d007e..ce8abcb 100644 --- a/game/btl4main.cpp +++ b/game/btl4main.cpp @@ -394,6 +394,20 @@ static const char *kEnvironIniDefault = "# Phosphor colour of the mono MFDs, RRGGBB. Default is a green tube.\n" "#BT_COCKPIT_TINT=21FF42\n" "\n" +"# How far the lit RIO buttons reach out past the edge of a display, in pixels.\n" +"# The pod's buttons were physical and backlit; on glass they are a thin bar\n" +"# along the display edge, and a FLASHING one is easy to miss. This is how much\n" +"# more of that bar shows -- a LONGER bar, not a wider button: the button keeps\n" +"# its width, the display picture still covers everything it did before, and the\n" +"# whole display stays clickable. Red (MFD) and yellow (map) buttons only; the\n" +"# blue flight block has no glass to hide behind, so it never changes.\n" +"# 10 the default\n" +"# 0 back to the original thin bar\n" +"# 1-200 anything in between\n" +"# Give it a NUMBER -- a word like 'on' counts as 0 and turns it off. In the\n" +"# exploded view (BT_GLASS_PANELS) the windows grow to fit the longer buttons.\n" +"#BT_RIO_PROTRUDE=10\n" +"\n" "# ---- Display ----------------------------------------------------------------\n" "\n" "# The cockpit is fitted into the window at ONE uniform scale, centred, with\n"