dsda: option to show input history

This commit is contained in:
feos 2025-04-08 22:06:06 +03:00
parent 967ae76dfd
commit ffb1af4902
2 changed files with 17 additions and 10 deletions

View File

@ -159,6 +159,11 @@ namespace BizHawk.Emulation.Cores.Computers.Doom
[DefaultValue(false)]
public bool DsdaExHud { get; set; }
[DisplayName("Display Commands")]
[Description("Shows input history on the screen. History size is 20, empty commands are excluded.")]
[DefaultValue(false)]
public bool DisplayCommands { get; set; }
[DisplayName("Automap Totals")]
[Description("Shows counts for kills, items, and secrets on automap.")]
[DefaultValue(true)]

View File

@ -91,22 +91,24 @@ namespace BizHawk.Emulation.Cores.Computers.Doom
_configFile = Encoding.ASCII.GetBytes(
hudMode
+ $"screen_resolution \"{
_nativeResolution.X * _settings.ScaleFactor}x{
_nativeResolution.Y * _settings.ScaleFactor}\"\n"
+ $"usegamma { _settings.Gamma}\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"
_nativeResolution.X * _settings.ScaleFactor}x{
_nativeResolution.Y * _settings.ScaleFactor}\"\n"
+ $"usegamma { _settings.Gamma}\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"
+ $"dsda_command_display {(_settings.DisplayCommands ? 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() in the core)
+ "render_stretch_hud 0\n"
+ "uncapped_framerate 0\n"
+ "dsda_show_level_splits 0\n"
+ "dsda_command_history_size 20\n"
);
_elf = new WaterboxHost(new WaterboxOptions