Atari 2600 settings - add display name attribute to settings for a nicer looking config dialog
This commit is contained in:
parent
b4f3014d31
commit
541dfeaf03
|
@ -51,38 +51,47 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
|
|||
[JsonIgnore]
|
||||
private int _palBottomLine;
|
||||
|
||||
[DisplayName("Show Background")]
|
||||
[Description("Sets whether or not the Background layer will be displayed")]
|
||||
[DefaultValue(true)]
|
||||
public bool ShowBG { get; set; }
|
||||
|
||||
[DisplayName("Show Player 1")]
|
||||
[Description("Sets whether or not the Player 1 layer will be displayed")]
|
||||
[DefaultValue(true)]
|
||||
public bool ShowPlayer1 { get; set; }
|
||||
|
||||
[DisplayName("Show Player 2")]
|
||||
[Description("Sets whether or not the Player 2 layer will be displayed")]
|
||||
[DefaultValue(true)]
|
||||
public bool ShowPlayer2 { get; set; }
|
||||
|
||||
[DisplayName("Show Missle 1")]
|
||||
[Description("Sets whether or not the Missle 1 layer will be displayed")]
|
||||
[DefaultValue(true)]
|
||||
public bool ShowMissle1 { get; set; }
|
||||
|
||||
[DisplayName("Show Missle 2")]
|
||||
[Description("Sets whether or not the Missle 2 layer will be displayed")]
|
||||
[DefaultValue(true)]
|
||||
public bool ShowMissle2 { get; set; }
|
||||
|
||||
[DisplayName("Show Ball")]
|
||||
[Description("Sets whether or not the Ball layer will be displayed")]
|
||||
[DefaultValue(true)]
|
||||
public bool ShowBall { get; set; }
|
||||
|
||||
[DisplayName("Show Playfield")]
|
||||
[Description("Sets whether or not the Playfield layer will be displayed")]
|
||||
[DefaultValue(true)]
|
||||
public bool ShowPlayfield { get; set; }
|
||||
|
||||
[DisplayName("SECAM Colors")]
|
||||
[Description("If true, PAL mode will show with SECAM (French) colors.")]
|
||||
[DefaultValue(false)]
|
||||
public bool SECAMColors { get; set; }
|
||||
|
||||
[DisplayName("NTSC Top Line")]
|
||||
[Description("First line of the video image to display in NTSC mode.")]
|
||||
[DefaultValue(24)]
|
||||
public int NTSCTopLine
|
||||
|
@ -91,6 +100,7 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
|
|||
set { _ntscTopLine = Math.Min(64, Math.Max(value, 0)); }
|
||||
}
|
||||
|
||||
[DisplayName("NTSC Bottom Line")]
|
||||
[Description("Last line of the video image to display in NTSC mode.")]
|
||||
[DefaultValue(248)]
|
||||
public int NTSCBottomLine
|
||||
|
@ -99,6 +109,7 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
|
|||
set { _ntscBottomLine = Math.Min(260, Math.Max(value, 192)); }
|
||||
}
|
||||
|
||||
[DisplayName("PAL Top Line")]
|
||||
[Description("First line of the video image to display in PAL mode.")]
|
||||
[DefaultValue(24)]
|
||||
public int PALTopLine
|
||||
|
@ -107,6 +118,7 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
|
|||
set { this._palTopLine = Math.Min(64, Math.Max(value, 0)); }
|
||||
}
|
||||
|
||||
[DisplayName("PAL Bottom Line")]
|
||||
[Description("Last line of the video image to display in PAL mode.")]
|
||||
[DefaultValue(296)]
|
||||
public int PALBottomLine
|
||||
|
@ -115,6 +127,7 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
|
|||
set { this._palBottomLine = Math.Min(310, Math.Max(value, 192)); }
|
||||
}
|
||||
|
||||
[DisplayName("Background Color")]
|
||||
[DefaultValue(typeof(Color), "Black")]
|
||||
public Color BackgroundColor { get; set; }
|
||||
|
||||
|
@ -131,19 +144,23 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
|
|||
|
||||
public class A2600SyncSettings
|
||||
{
|
||||
[DisplayName("Black and White Mode")]
|
||||
[Description("Set the TV Type switch on the console to B&W or Color. This only affects the displayed image if the game supports it.")]
|
||||
[DefaultValue(false)]
|
||||
public bool BW { get; set; }
|
||||
|
||||
[DisplayName("Left Difficulty")]
|
||||
[Description("Set the Left Difficulty switch on the console")]
|
||||
[DefaultValue(true)]
|
||||
public bool LeftDifficulty { get; set; }
|
||||
|
||||
[DisplayName("Right Difficulty")]
|
||||
[Description("Set the Right Difficulty switch on the console")]
|
||||
[DefaultValue(true)]
|
||||
public bool RightDifficulty { get; set; }
|
||||
|
||||
[Description("Skip the BIOS intro (Super Charger only)")]
|
||||
[DisplayName("Super Charger BIOS Skip")]
|
||||
[Description("On Super Charger carts, this will skip the BIOS intro")]
|
||||
[DefaultValue(false)]
|
||||
public bool FastScBios { get; set; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue