From 4c7f6fd9b1a1b36a7b8e8a8c194d64a099dccc67 Mon Sep 17 00:00:00 2001 From: Cyd Date: Tue, 28 Jul 2026 20:24:46 -0500 Subject: [PATCH] environ.ini: document BT_GLASS_LAYOUT in the shipped default The default environ.ini template (BTWriteDefaultEnvironIni) now carries a commented BT_GLASS_LAYOUT block in the cockpit section, next to BT_GLASS_PANELS: off/save/load explained in player-facing terms, noting glass_layout.cfg lives beside the file and delete-to-reset. Ships commented out like every other option, so a fresh install still applies nothing. Verified: Release builds clean; the new text is embedded in btl4.exe. Co-Authored-By: Claude Opus 4.8 --- game/btl4main.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/game/btl4main.cpp b/game/btl4main.cpp index e4fbff2..6a34957 100644 --- a/game/btl4main.cpp +++ b/game/btl4main.cpp @@ -286,6 +286,19 @@ static const char *kEnvironIniDefault = "#BT_GLASS_PANELS=1\n" "#BT_COCKPIT=0\n" "\n" +"# Remembering where you drag the exploded windows (BT_GLASS_PANELS only).\n" +"# They open in the pod ring around the game window and you can drag any of\n" +"# them by its title bar -- but by default the arrangement resets on the next\n" +"# launch (and the game relaunches itself each time you go menu -> mission ->\n" +"# menu). This makes your layout stick:\n" +"# (unset)/off pod ring every launch, nothing saved (the default)\n" +"# save drag them where you like; each drop is saved and restored\n" +"# on every launch from here on (adjust/on/1 do the same)\n" +"# load restore the saved layout but never change it (read-only)\n" +"# The positions live in glass_layout.cfg beside this file -- delete it to go\n" +"# back to the pod ring. Windows not in the file keep their computed spot.\n" +"#BT_GLASS_LAYOUT=save\n" +"\n" "# Size of the secondary displays in the cockpit surround, as a percentage of\n" "# their pod size. The pod bolted them down at one size; on a big panel there\n" "# is room to trade viewscreen for instrument, so turn these up if you want to\n"