Launcher et doc : bords flous en écran large et zones cliquables (Espace)

- Launcher, section Affichage : cases « Bords flous (écran large) » (wide_fill)
  et « Zones cliquables (maintenir Espace) » (hotspots), partagées avec F12.
- GUIDE FR/EN : touche Espace et menu F12 complétés ; README FR/EN : Espace.
- SETTINGS.en.md : clés wide_fill et hotspots, alignées sur SETTINGS.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
linkatplugandClaude Opus 5.5 committed 2026-12-05 13:37:14 +01:00
1 parent b078e48c8d
commit e8596f4745
7 files changed
+28 -4

No files matched your search

+8
View File
@@ -2640,6 +2640,14 @@ impl App {
});
ui.checkbox(&mut gs.aspect_43, tr("Format 4:3 (comme un écran VGA)", "4:3 aspect (like a VGA screen)"));
ui.checkbox(&mut gs.vsync, tr("Synchronisation verticale", "Vertical sync"));
ui.checkbox(&mut gs.wide_fill, tr("Bords flous (écran large)", "Blurred edges (wide screen)")).on_hover_text(tr(
"Sur un écran plus large que l'image, les bords sont remplis par l'image du jeu floutée et assombrie au lieu de bandes noires.",
"On a screen wider than the picture, the edges are filled with the game picture, blurred and darkened, instead of black bars.",
));
ui.checkbox(&mut gs.hotspots, tr("Zones cliquables (maintenir Espace)", "Clickable areas (hold Space)")).on_hover_text(tr(
"En jeu, maintenir Espace montre les zones cliquables : sorties en cyan, objets en vert, personnages en rose, le reste en jaune.",
"In game, holding Space shows the clickable areas: exits in cyan, objects in green, characters in pink, the rest in yellow.",
));
ui.horizontal(|ui| {
ui.label(tr("Résolution de la fenêtre", "Window resolution"));
resolution_combo(ui, gs, screen, en);
+10
View File
@@ -23,6 +23,10 @@ pub struct GameSettings {
pub hd_sprites: bool,
/// barre d'actions HD (PANEL1/PANEL2 du pack)
pub hd_panel: bool,
/// écran large : bords remplis par l'image floutée au lieu de bandes noires
pub wide_fill: bool,
/// maintenir Espace montre les zones cliquables
pub hotspots: bool,
pub vol: [u32; 4],
pub mods_enabled: bool,
/// dossier des mods ; vide = détection automatique par le jeu
@@ -46,6 +50,8 @@ impl Default for GameSettings {
hd_decors: true,
hd_sprites: true,
hd_panel: true,
wide_fill: true,
hotspots: true,
vol: [100; 4],
mods_enabled: true,
mods_dir: String::new(),
@@ -120,6 +126,8 @@ impl GameSettings {
("display", "hd_decors") => s.hd_decors = parse_bool(v).unwrap_or(s.hd_decors),
("display", "hd_sprites") => s.hd_sprites = parse_bool(v).unwrap_or(s.hd_sprites),
("display", "hd_panel") => s.hd_panel = parse_bool(v).unwrap_or(s.hd_panel),
("display", "wide_fill") => s.wide_fill = parse_bool(v).unwrap_or(s.wide_fill),
("display", "hotspots") => s.hotspots = parse_bool(v).unwrap_or(s.hotspots),
("mods", "enabled") => s.mods_enabled = parse_bool(v).unwrap_or(s.mods_enabled),
("mods", "dir") => s.mods_dir = v.to_string(),
("mods", "disabled") => {
@@ -150,6 +158,8 @@ impl GameSettings {
("display", "hd_decors", b(self.hd_decors)),
("display", "hd_sprites", b(self.hd_sprites)),
("display", "hd_panel", b(self.hd_panel)),
("display", "wide_fill", b(self.wide_fill)),
("display", "hotspots", b(self.hotspots)),
];
for (i, k) in VOLUMES.iter().enumerate() {
e.push(("audio", k, self.vol[i].to_string()));