From 04f7664ec981c25d976d49def0552ccabe07f2ea Mon Sep 17 00:00:00 2001 From: pjgat09 Date: Sat, 19 Jul 2014 21:53:31 +0000 Subject: [PATCH] N64: Started fleshing out the jabo sync settings --- .../Consoles/Nintendo/N64/N64SyncSettings.cs | 98 +++++++++++++++++++ 1 file changed, 98 insertions(+) diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64SyncSettings.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64SyncSettings.cs index 4628f9de2b..a0b70f02b2 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64SyncSettings.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64SyncSettings.cs @@ -498,6 +498,104 @@ namespace BizHawk.Emulation.Cores.Nintendo.N64 return dictionary; } + public enum ANISOTROPIC_FILTERING_LEVEL + { + [Description("Off")] + off = 0, + + [Description("2X")] + two_times = 1, + + [Description("4X")] + four_times = 2, + + [Description("8X")] + eight_times = 3, + + [Description("16X")] + sixteen_times = 4 + } + [DefaultValue(ANISOTROPIC_FILTERING_LEVEL.four_times)] + [Description("Anisotropic filtering level")] + //[DisplayName("Anisotropic filtering")] + public ANISOTROPIC_FILTERING_LEVEL anisotropic_level = ANISOTROPIC_FILTERING_LEVEL.four_times; + + [DefaultValue(100)] + [Description("Brightness level, 100%-190%")] + //[DisplayName("Brightness")] + public int brightness = 100; + + [DefaultValue(false)] + [Description("Enables Super2xSal textures")] + //[DisplayName("Super2xSal textures")] + public bool super2xsal = false; + + [DefaultValue(false)] + [Description("Always use texture filter")] + //[DisplayName("Always use texture filter")] + public bool texture_filter = false; + + [DefaultValue(false)] + [Description("Adjust game aspect ratio to match yours")] + //[DisplayName("Adjust game aspect ratio to match yours")] + public bool adjust_aspect_ratio = false; + + [DefaultValue(false)] + [Description("Use legacy pixel pipeline")] + //[DisplayName("Use legacy pixel pipeline")] + public bool legacy_pixel_pipeline = false; + + [DefaultValue(false)] + [Description("Force alpha blending")] + //[DisplayName("Force alpha blending")] + public bool alpha_blending = false; + + [DefaultValue(false)] + [Description("Wireframe rendering")] + //[DisplayName("Wireframe rendering")] + public bool wireframe = false; + + [DefaultValue(false)] + [Description("Use Direct3D transformation pipeline")] + //[DisplayName("Use Direct3D transformation pipeline")] + public bool direct3d_transformation_pipeline = false; + + [DefaultValue(false)] + [Description("Force Z Compare")] + //[DisplayName("Force Z Compare")] + public bool z_compare = false; + + [DefaultValue(false)] + [Description("Copy framebuffer to RDRAM")] + //[DisplayName("Copy framebuffer to RDRAM")] + public bool copy_framebuffer = false; + + [DefaultValue(-1)] + [Description("Emulated Width")] + //[DisplayName("Emulated Width")] + public int resolution_width = -1; + + [DefaultValue(-1)] + [Description("Emulated Height")] + //[DisplayName("Emulated Height")] + public int resolution_height = -1; + + public enum DIRECT3D_CLEAR_MODE + { + [Description("Default")] + def = 0, + + [Description("Only Per Frame")] + per_frame = 1, + + [Description("Always")] + always = 2 + } + [DefaultValue(DIRECT3D_CLEAR_MODE.def)] + [Description("Direct3D Clear Mode")] + //[DisplayName("Direct3D Clear Mode")] + public DIRECT3D_CLEAR_MODE clear_mode = DIRECT3D_CLEAR_MODE.def; + public N64JaboPluginSettings Clone() { return (N64JaboPluginSettings)MemberwiseClone();