105 lines
4.6 KiB
C#
105 lines
4.6 KiB
C#
namespace BizHawk.MultiClient
|
|
{
|
|
public class Config
|
|
{
|
|
// General Client Settings
|
|
public int TargetZoomFactor = 2;
|
|
public string LastRomPath = ".";
|
|
public bool AutoLoadMostRecentRom = false; //TODO: eventually make a class or struct for all the auto-loads, which will include recent roms, movies, etc, as well as autoloading any modeless dialog
|
|
public RecentFiles RecentRoms = new RecentFiles(8);
|
|
public bool PauseWhenMenuActivated = true;
|
|
public bool SaveWindowPosition = true;
|
|
public bool StartPaused = false;
|
|
public int MainWndx = -1; //Negative numbers will be ignored
|
|
public int MainWndy = -1;
|
|
|
|
// Display options
|
|
public bool DisplayFPS = false;
|
|
public bool DisplayFrameCounter = false;
|
|
public bool DisplayLagCounter = false;
|
|
public bool DisplayInput = false;
|
|
|
|
// Sound options
|
|
public bool SoundEnabled = true;
|
|
public bool MuteFrameAdvance = true;
|
|
|
|
// RamWatch Settings
|
|
public bool AutoLoadRamWatch = false;
|
|
public RecentFiles RecentWatches = new RecentFiles(8);
|
|
public int RamWatchWndx = -1; //Negative numbers will be ignored even with save window position set
|
|
public int RamWatchWndy = -1;
|
|
public int RamWatchWidth = -1; //Negative numbers will be ignored
|
|
public int RamWatchHeight = -1;
|
|
|
|
// RamSearch Settings
|
|
public bool AutoLoadRamSearch = false;
|
|
public int RamSearchWndx = -1; //Negative numbers will be ignored even with save window position set
|
|
public int RamSearchWndy = -1;
|
|
public int RamSearchWidth = -1; //Negative numbers will be ignored
|
|
public int RamSearchHeight = -1;
|
|
|
|
//Movie Settings
|
|
public RecentFiles RecentMovies = new RecentFiles(8);
|
|
|
|
// Client Hotkey Bindings
|
|
//TODO: These should be allowed to be "", not every hotkey should have to be mapped somewhere
|
|
public string HardResetBinding = "LeftShift+Tab"; //TODO: This needs to be Ctrl+R but how?
|
|
public string FastForwardBinding = "J1 B6, Tab";
|
|
public string RewindBinding = "J1 B5, LeftShift+R, RightShift+R";
|
|
public string EmulatorPauseBinding = "Pause";
|
|
public string FrameAdvanceBinding = "F";
|
|
public string ScreenshotBinding = "F12";
|
|
public string ToggleFullscreenBinding = "LeftAlt+Return, RightAlt+Return";
|
|
public string QuickSave = "I";
|
|
public string QuickLoad = "P";
|
|
public string SelectSlot0 = "0";
|
|
public string SelectSlot1 = "1";
|
|
public string SelectSlot2 = "2";
|
|
public string SelectSlot3 = "3";
|
|
public string SelectSlot4 = "4";
|
|
public string SelectSlot5 = "5";
|
|
public string SelectSlot6 = "6";
|
|
public string SelectSlot7 = "7";
|
|
public string SelectSlot8 = "8";
|
|
public string SelectSlot9 = "9";
|
|
|
|
// SMS / GameGear Settings
|
|
public bool SmsEnableFM = true;
|
|
public bool SmsAllowOverlock = false;
|
|
public bool SmsForceStereoSeparation = false;
|
|
public string SmsReset = "Tab";
|
|
public string SmsPause = "J1 B10, Space";
|
|
public string SmsP1Up = "J1 Up, UpArrow";
|
|
public string SmsP1Left = "J1 Left, LeftArrow";
|
|
public string SmsP1Right = "J1 Right, RightArrow";
|
|
public string SmsP1Down = "J1 Down, DownArrow";
|
|
public string SmsP1B1 = "J1 B1, Z";
|
|
public string SmsP1B2 = "J1 B2, X";
|
|
public string SmsP2Up = "J2 Up";
|
|
public string SmsP2Left = "J2 Left";
|
|
public string SmsP2Right = "J2 Right";
|
|
public string SmsP2Down = "J2 Down";
|
|
public string SmsP2B1 = "J2 B1";
|
|
public string SmsP2B2 = "J2 B2";
|
|
|
|
// PCEngine Settings
|
|
public string PCEUp = "J1 Up, UpArrow";
|
|
public string PCEDown = "J1 Down, DownArrow";
|
|
public string PCELeft = "J1 Left, LeftArrow";
|
|
public string PCERight = "J1 Right, RightArrow";
|
|
public string PCEBII = "J1 B1, Z";
|
|
public string PCEBI = "J1 B2, X";
|
|
public string PCESelect = "J1 B9, Space";
|
|
public string PCERun = "J1 B10, Return";
|
|
|
|
// Genesis Settings
|
|
public string GenP1Up = "J1 Up, UpArrow";
|
|
public string GenP1Down = "J1 Down, DownArrow";
|
|
public string GenP1Left = "J1 Left, LeftArrow";
|
|
public string GenP1Right = "J1 Right, RightArrow";
|
|
public string GenP1A = "J1 B1, Z";
|
|
public string GenP1B = "J1 B2, X";
|
|
public string GenP1C = "J1 B9, C";
|
|
public string GenP1Start = "J1 B10, Return";
|
|
}
|
|
} |