Commit Graph

218 Commits

Author SHA1 Message Date
adelikat ebf029b76d Some turbo speed refactorings - added a new hotkey for turbo mapped to shift+tab, rennamed the original turbo as unthrottle (since it is simply a toggle for this feature) and removed its mapping. On the new turbo, lots of various things will eventually be in place, but right now it bypasses tool updating. Still todo: have it max out frame skip and whatnot, also what is the difference between unthrottle and the limit framerate option? I think these should be merged. 2012-08-28 01:29:07 +00:00
adelikat 7d9cee2905 Remove new controller config idea 2012-08-13 03:23:25 +00:00
adelikat aa2475806a CHecking in a possible better solution for a controller config dialog 2012-08-13 01:22:02 +00:00
adelikat 34c796d96d Input Config - fix bug where auto-tab setting was not being respected when changing controllers or consoles 2012-07-30 00:43:40 +00:00
zeromus f951b5e932 fix issue where mario bros 3. gets auxilary files created as mario bros. how it got this way is a bit baffling, so i hope i didnt break anything 2012-07-22 20:26:38 +00:00
andres.delikat 70b5d68ae0 Add hotkey for background input (add on screen message when toggling this feature) 2012-07-12 21:56:59 +00:00
andres.delikat 16b86e70e7 Increase/Decrease Speed hotkeys 2012-07-12 21:39:11 +00:00
adelikat 986774f5ee Multiclient menu - moved many toggles from the GUI to the Enable submenu. Also fixed a taborder mistake in the hotkey config dialog 2012-05-31 01:51:47 +00:00
adelikat 0118b34b41 Slight UI fixes - show mapped hotkey for Open TAStudio on TAStudio menu item, fix alignment of a few boxes in the hotkey config 2012-05-28 03:09:47 +00:00
adelikat abba87738f Fix input config for Gameboy, some small random work on ColecoHawk 2012-05-18 22:57:05 +00:00
zeromus 42715fdca7 rehabilitate the GB core: fix videoprovider and input system 2012-05-18 18:28:12 +00:00
adelikat 059aebec8e ColecoHawk - set up ROM loading (bind .col to Coleco), set up preliminary controller garbage in 85 places for coleco 2012-05-06 00:54:13 +00:00
adelikat 38dd7889b3 Input Config - hide Enabled checkbox since we have no intention of supporting the disabling of a controller at this time. 2012-04-29 14:06:24 +00:00
adelikat d62b2d98e1 Hotkeys - add Open TAStudio hotkey 2012-04-24 00:11:58 +00:00
adelikat 2aeedf074e Fix Load/Save Named State to default to the correct savestate path rather than the most recently used path. Fix so that these functions can not be accessed during Null emulator via hotkey 2012-04-22 13:56:34 +00:00
andres.delikat 1f5e4d1046 Replace the "Play" and "Record" messages for movies with Icons. 2012-04-16 21:04:00 +00:00
adelikat f3d098a390 Atari - hook up to the default paths 2012-03-31 13:41:00 +00:00
adelikat cb3df74105 Atari - console buttons now work in input config dialog 2012-03-30 23:34:38 +00:00
andres.delikat e4acb65ed1 Controller Config - hook up atari console buttons mostly, still one thing to fix up, currently crashes when trying to save 2012-03-30 22:03:08 +00:00
adelikat 9c40367fa8 Increase/Decrease Window Size hotkeys (mapped to Alt+Up/Alt+Down by default) 2012-03-28 02:32:05 +00:00
brandman211 81586afc20 Finished merging...499 lines. Not as good as I had hoped, but the file would have been significantly smaller if controller templates just used dictionaries and had just a little bit more consistency. 2012-03-25 07:10:11 +00:00
brandman211 da65f8bdd4 -Merged Atari.
-Line count: 583.

TODO: The one I really didn't want to deal with...Gameboy. Why did you have to make this a NESControllerTemplate instead of a GameboyControllerTemplate[]?
2012-03-25 07:00:21 +00:00
brandman211 bc1804dcdb -Made it so that the right controllers use the default settings.
-Merged Genesis.
--This was completely broken beforehand.
---Update updated PCE.
---It had 8 joypads instead of 1.
-Line count: 661.

Note: Atari Auto 2 throws an exception.
2012-03-25 06:42:31 +00:00
brandman211 b28cfca204 -Merged TI-83.
--As it'd be obnoxious to make CONTROLS a string, object dictionary and have casts all over the place, I just made a TI83Controls string array to match CONTROLS["TI-83"].
--Positioned the fields as well as I could.
--The config for ( and ) were switched. Fixed. Yet another example of redundant code failing! :)
-Line count: 741.
2012-03-25 06:05:13 +00:00
brandman211 5e126bf04f -Made the last two TI-83 buttons visible in the Config by increasing the height from 556 to 580.
-Started merging TI-83 to Do:
--This is going to be difficult because the field names are not the same as the label names, meaning that I'm going to have to use a dictionary for TI-83, if not for all of the controls.
--I have to create a formula that calculates the proper row / column for a given field to be placed. Sounds like fun.
2012-03-25 02:36:20 +00:00
brandman211 a07165cffd -"PC Engine / SGX" -> "PC Engine / SuperGrafx".
-Line count: 978.
2012-03-25 02:11:26 +00:00
brandman211 4f2ebdfbd4 -Fixed InputConfig_Load...forgot that the switch syntax from before acts like an OR statement; I thought it meant "don't do anything".
-PCE.
2012-03-25 01:58:33 +00:00
brandman211 1d21a89f3a Converting merges one at a time...here's SMS.
-Because of Reset and Pause being separate from everything else, I had to code a special condition for these.
-Line count: 1081.
2012-03-25 01:32:44 +00:00
brandman211 8686cc87ff Converted the switch statement in InputConfig_Load to a dictionary. 2012-03-25 00:54:40 +00:00
brandman211 0eae992403 Created general functions Do and Update.
-Because I have been advised not to convert the objects to dictionaries, and because using the equivalent of typedef seems confusing if it isn't outright impossible, I had to implement switch statements to handle certain aspects on a platform to platform basis.
-These will end up being much bigger than I would have hoped, but the entire file will be much, much smaller.

TODO: Implement all of the other platforms using these functions.

Note: It seems that the Enabled checkbox doesn't do anything other than persist its state. I checked the latest release, and the same issue was there, so I didn't break it!
2012-03-25 00:39:51 +00:00
brandman211 d7453a3770 -Shrunk UpdateNES. 2012-03-24 21:06:47 +00:00
brandman211 f6a353196d -Started refactoring InputConfig.cs as adelikat requested:
--Created CONTROLS constant which contains all of the controls in one dictionary.
--Shrunk DoNES significantly.

TODO:
-Shrink UpdateNES.
-Generalize both functions and apply to NES.
-Have all of the platform specific functions utilize these generalized functions.
-Combine all of the platforms.
2012-03-24 19:45:50 +00:00
adelikat 2e5ec4fdcb Fix bugs in input config regarding atari controllers, fix auto-fire controllers for atari (both controllers) 2012-03-23 02:15:58 +00:00
adelikat 715d46ed1d Hook up atari controller 2 to input config dialog. 2012-03-23 00:39:21 +00:00
adelikat 684252a816 Fix mainform context menu logic from the screenshot to clipboard addition 2012-03-23 00:06:20 +00:00
zeromus d8c0e3b27e make GetExeDirectoryAbsolute more robust (handle # in paths) 2012-03-21 06:38:19 +00:00
adelikat 365f60988e Hook up Atari to the controller config dialog (interim only) 2012-03-21 02:44:01 +00:00
adelikat 0bdce38dc4 Add atari to path config dialog (interim builds only) 2012-03-19 02:12:43 +00:00
peter ccc9fdf672 Case sensitivity fixes 2012-03-12 04:44:19 +00:00
adelikat 204c025af2 Add "escape clears mapping" message on controller config dialog 2012-03-05 14:22:49 +00:00
adelikat 1def3a8292 Minor fixups to gif animator dialog 2012-03-04 21:00:58 +00:00
offspring131313 099cf590b6 Can now make Animated Gifs Huzzah 2012-03-04 20:37:49 +00:00
adelikat 0cb222f20e As usual, I forget to add the new winform files to the svn 2012-03-04 19:29:12 +00:00
adelikat 3bfe716952 Fix drag and drop importing so it doesn't crash during null emulator. Also fixed the movie sram clearing function to not crash on null emulator. 2012-03-03 18:11:07 +00:00
zeromus 49eb8272f9 fix path management bug when running over network share 2012-03-02 03:34:28 +00:00
andres.delikat 4b074b7d26 Fix so that dialogs that use InputWidget can still close with Alt+F4 2012-01-08 23:01:14 +00:00
andres.delikat b2748b7836 Genesis - hook up lag counter (shows all frames as lag currently), and hook core up to input config dialog (1 controller only currently) 2011-12-24 01:59:51 +00:00
andres.delikat 2418947b69 Add "Toggle Menu" hotkey 2011-10-01 03:43:37 +00:00
andres.delikat 6bbab41b0c PCE - Implement PCECD system id in core and in game info. Also set cancel property of LogWindow winform 2011-09-24 17:05:34 +00:00
andres.delikat a30a5290ca clear saveRam when loading a movie. Add movie name to saveram default path generation so that movies do not interfere with users saveram files 2011-09-17 14:23:23 +00:00