Launcher et doc : barre d'actions HD (hd_panel)
- Launcher : case « Barre d'actions » sous Pack HD (clé display.hd_panel, la même que « Barre d'actions HD » dans F12). - SETTINGS.en, MODS.en : alignés sur2c31978et4c5f054(clé hd_panel, section « HD action bar », PANEL1/PANEL2 exportés avec les décors). - GUIDE, TEXTURES FR/EN : la barre d'actions passe en HD, seuls les textes restent ceux du jeu ; dépannage pour un pack créé avant l'ajout de la barre et des cinématiques. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4c5f054ffe
commit
48cd82651e
8 files changed
+42
-14
No files matched your search
@@ -943,6 +943,10 @@ impl App {
|
||||
"Experimental, still buggy (cut-off pictures, missing characters): untick for now.",
|
||||
));
|
||||
ui.label(RichText::new(tr("(expérimental)", "(experimental)")).color(ACCENT).small());
|
||||
ui.checkbox(&mut self.gs.hd_panel, tr("Barre d'actions", "Action bar")).on_hover_text(tr(
|
||||
"Verbes, fond de la barre et panneau d'options en HD (PANEL1, PANEL2 du pack).",
|
||||
"Verbs, bar background and options panel in HD (the pack's PANEL1, PANEL2).",
|
||||
));
|
||||
});
|
||||
});
|
||||
if self.gs.filter == 3 && self.gs.hd_pack {
|
||||
|
||||
@@ -21,6 +21,8 @@ pub struct GameSettings {
|
||||
pub hd_pack: bool,
|
||||
pub hd_decors: bool,
|
||||
pub hd_sprites: bool,
|
||||
/// barre d'actions HD (PANEL1/PANEL2 du pack)
|
||||
pub hd_panel: bool,
|
||||
pub vol: [u32; 4],
|
||||
pub mods_enabled: bool,
|
||||
/// dossier des mods ; vide = détection automatique par le jeu
|
||||
@@ -43,6 +45,7 @@ impl Default for GameSettings {
|
||||
hd_pack: true,
|
||||
hd_decors: true,
|
||||
hd_sprites: true,
|
||||
hd_panel: true,
|
||||
vol: [100; 4],
|
||||
mods_enabled: true,
|
||||
mods_dir: String::new(),
|
||||
@@ -116,6 +119,7 @@ impl GameSettings {
|
||||
("display", "hd_pack") => s.hd_pack = parse_bool(v).unwrap_or(s.hd_pack),
|
||||
("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),
|
||||
("mods", "enabled") => s.mods_enabled = parse_bool(v).unwrap_or(s.mods_enabled),
|
||||
("mods", "dir") => s.mods_dir = v.to_string(),
|
||||
("mods", "disabled") => {
|
||||
@@ -145,6 +149,7 @@ impl GameSettings {
|
||||
("display", "hd_pack", b(self.hd_pack)),
|
||||
("display", "hd_decors", b(self.hd_decors)),
|
||||
("display", "hd_sprites", b(self.hd_sprites)),
|
||||
("display", "hd_panel", b(self.hd_panel)),
|
||||
];
|
||||
for (i, k) in VOLUMES.iter().enumerate() {
|
||||
e.push(("audio", k, self.vol[i].to_string()));
|
||||
|
||||
Reference in new issue
Block a user