dsda: show_messages setting

This commit is contained in:
feos 2025-04-05 21:54:07 +03:00
parent ba48066748
commit dd28599451
2 changed files with 27 additions and 19 deletions

View File

@ -139,6 +139,11 @@ namespace BizHawk.Emulation.Cores.Computers.Doom
[TypeConverter(typeof(ConstrainedIntConverter))]
public int Gamma { get; set; }
[DisplayName("Show Messages")]
[Description("Displays messages about items you pick up.")]
[DefaultValue(true)]
public bool ShowMessages { get; set; }
[DisplayName("Report Revealed Secrets")]
[Description("Shows an on-screen notification when revealing a secret.")]
[DefaultValue(false)]

View File

@ -94,15 +94,16 @@ namespace BizHawk.Emulation.Cores.Computers.Doom
_nativeResolution.X * _settings.ScaleFactor}x{
_nativeResolution.Y * _settings.ScaleFactor}\"\n"
+ $"usegamma { _settings.Gamma}\n"
+ $"render_wipescreen {(_syncSettings.RenderWipescreen ? 1 : 0)}\n"
+ $"dsda_exhud { (_settings.DsdaExHud ? 1 : 0)}\n"
+ $"map_totals { (_settings.MapTotals ? 1 : 0)}\n"
+ $"map_time { (_settings.MapTime ? 1 : 0)}\n"
+ $"map_coordinates { (_settings.MapCoordinates ? 1 : 0)}\n"
+ $"hudadd_secretarea { (_settings.ReportSecrets ? 1 : 0)}\n"
+ $"show_messages { (_settings.ShowMessages ? 1 : 0)}\n"
+ $"render_wipescreen { (_syncSettings.RenderWipescreen ? 1 : 0)}\n"
+ "render_stretchsky 0\n"
+ "render_doom_lightmaps 1\n"
+ "render_aspect 3\n" // 4:3, controls FOV on higher resolutions (see SetRatio())
+ "render_aspect 3\n" // 4:3, controls FOV on higher resolutions (see SetRatio() in the core)
+ "render_stretch_hud 0\n"
+ "uncapped_framerate 0\n"
+ "dsda_show_level_splits 0\n"
@ -180,7 +181,9 @@ namespace BizHawk.Emulation.Cores.Computers.Doom
};
_args.Add("-warp");
ConditionalArg(_syncSettings.InitialEpisode is not 0 && _gameMode != CInterface.GameMode.Commercial, $"{_syncSettings.InitialEpisode}");
ConditionalArg(_syncSettings.InitialEpisode is not 0
&& _gameMode != CInterface.GameMode.Commercial,
$"{_syncSettings.InitialEpisode}");
_args.Add($"{_syncSettings.InitialMap}");
_args.AddRange([ "-skill", $"{(int)_syncSettings.SkillLevel}" ]);
_args.AddRange([ "-complevel", $"{(int)_syncSettings.CompatibilityLevel}" ]);