Commit Graph

759 Commits

Author SHA1 Message Date
adelikat 775b922b6f Input Roll - column drawing, but bad 2014-08-08 02:09:59 +00:00
adelikat 3d43450bb0 Input Roll - stuff 2014-08-07 23:52:19 +00:00
adelikat 4475f5a9fc Progress on Input roll 2014-08-07 23:10:41 +00:00
hegyak 42caa87c67 Correct Error with RAMWatch and seperatorToolStripButton. Also unified all RamWatch internal button names. 2014-08-07 22:48:10 +00:00
adelikat 88b6699713 Input roll fix crashing on paint and in the designer, the widget now draws a white background, woo! 2014-08-07 21:52:22 +00:00
adelikat 480520ff6f Input Roll - some more progress 2014-08-07 18:32:09 +00:00
adelikat 1d38157a21 Input roll - stub out some things, nothing is wired up yet 2014-08-07 14:55:55 +00:00
adelikat 0b81b6f773 start an experimental new widget intended for tastudio, doesn't do anything now but load and do nothing 2014-08-06 01:32:27 +00:00
adelikat 572ad8f6ab another fix to the nes nametable viewer - I moved the location of a widget somehow 2014-08-05 02:31:41 +00:00
adelikat 7efc567519 Revert nes nametable viewer hijacking 2014-08-05 02:26:30 +00:00
zeromus d5d2c87d68 butcher rendering performance test for more speed 2014-08-05 01:03:16 +00:00
adelikat 35d31c418b Temporarily hijack the NES nametable viewer for a gdi experiment 2014-08-05 00:18:55 +00:00
adelikat bcd78cc4b8 Round 1 of Movie loading system overhaul, this fixes the problem of loading sram when a movie is loaded. Still todo: some cleanup of some hacks that are no longer needed, and restoring the ability to open the play movie dialog and other things, while a movie is active 2014-08-02 15:32:48 +00:00
adelikat a84e3b3a3b Ram Watch - account for separators in my background drawing bypassing logic 2014-08-02 01:36:06 +00:00
adelikat 157897ff55 Fix PCE virtualpad I, II, and Run buttons, also fix the mnemonic display for the Run button 2014-08-01 01:39:07 +00:00
adelikat 43d9f77fd6 this is mostly a hack, but fixes loading a rom when a movie is still running 2014-08-01 01:34:40 +00:00
adelikat ad5b60f137 Create a MissingFirmwareException in Emulation.Common, and catch this in the Rom loading logic, on the client side, respond to this type of error with a nice message and an option to configure their firmware. Have NesHawk throw this exception when there is a missing FDS Bios. Other cores will need to be implemented this way too at some point 2014-07-31 21:15:07 +00:00
adelikat a9e6d984b2 don't expose tastudio in release builds 2014-07-31 18:40:24 +00:00
adelikat d89dfd5595 Change Ram Watch and Ram Search to invalidate rather than refresh, also refactor ram search some to have more coherent update methods for when the listview changes size vs when the values need updating 2014-07-30 22:31:52 +00:00
adelikat 2fd1ffe824 VirtualListView - add a UseCustomBackground flag true by default, if set to false it will bypass custom background drawing logic resulting in that speedboost I keep doing checkins for. Refactor RamWatch to check if there is any need to draw ahead of time and set this flag. Most of the time this will result is a good speed boost for this dialog, only if they are watching a frozen address (which isn't very exciting anyway) or an out of range address (which they need to fix) do they suffer the speed cost of background drawing 2014-07-30 21:31:13 +00:00
adelikat 2ac9395a37 TAStudio - wire up the Auto-restore checkbox, only the ui and the saving to the config, the logic of what it does is not in yet 2014-07-28 17:40:17 +00:00
adelikat 77cae08afa TASTudio - another fix for the designer regarding the PlaybackBox, support column click toggling boolean buttons for the selected rows 2014-07-28 16:43:47 +00:00
adelikat 288e0351b6 tastudio - fix for the designer 2014-07-28 16:03:23 +00:00
adelikat 7ec866ced5 add some extensions to the ControlExtension class for converting cruddy .NET 1.0 collection objects to IEnumerable<T>, and start removing some code in specific forms that work around cruddy .NET 1.0 stuff 2014-07-28 03:01:57 +00:00
adelikat aeea08a823 Cleanup the InputPrompt class, removing unused methods, and converting some silly methods into properties allowing some pretty array initializers instead of function calls 2014-07-28 02:40:30 +00:00
adelikat 5d4ff76ed6 Convert a copy/pasted method in a bunch of tool dialogs to an extension method 2014-07-28 02:31:51 +00:00
adelikat 726122e579 remove a toolhelper method that wasn't adding much value 2014-07-28 02:15:21 +00:00
adelikat c988466942 Convert some more toolhelper methods to extensions 2014-07-28 02:10:31 +00:00
adelikat 3bbe3990ed convert ToolHelper methods for freezing/unfreezing a collection of watch items into extensions 2014-07-28 01:55:20 +00:00
adelikat ce4ce0bacc Convert some static methods in ToolHelpers to extension methods 2014-07-28 01:51:11 +00:00
adelikat b0b057ef2c When opening the hex editor from another dialog, open it in the same byte size 2014-07-28 01:24:57 +00:00
adelikat 60000af4c9 Hex Editor - tweak background drawing of frozen addresses when the display size doesn't match the cheat size 2014-07-28 01:01:32 +00:00
adelikat ef14f661c0 Hex Editor - properly handle (and not throw exceptions) the display of cheat values in a byte size not equal to the cheat byte size 2014-07-28 00:49:48 +00:00
adelikat f43aa4cb34 Remove a todo comment that has been done 2014-07-28 00:02:27 +00:00
adelikat 4258c4a579 Make Pause status bar icon show turbo seeking and seeking if emulator is those modes, clicking it will cancel out the seek. Fix tastudio's integration with the seek feature, and refactor and simplify some of the code, and a few other tastudio tweaks 2014-07-27 19:07:13 +00:00
adelikat 83d1e39db3 Tastudio - implement turboseek 2014-07-27 17:49:25 +00:00
adelikat 8db6957e4a tastudio - performance related tweaks 2014-07-27 15:50:48 +00:00
adelikat 0397ea1ff4 Remove the CustomControls/Util file and move all the classes into the Form Extensions file, since they were all extension methods for window form objects 2014-07-27 15:22:30 +00:00
adelikat c9b7686b44 TAStudio - fix the Save Changes dialog showing twice if the user picks no 2014-07-27 15:11:59 +00:00
adelikat a26c4b0b7a Ram search - unnoticeable performance improvement, but I feel the need to put this logic in 2014-07-27 14:53:13 +00:00
adelikat 55545d5f67 This seems to give a very slight performance improvement to Ram Watch and Ram search 2014-07-27 14:50:18 +00:00
adelikat 546b3f3e19 a slight work around for N64 virtualpad, a button will be the default focused widget now instead of the numeric, which avoids the "ding" problem by default (if they focus onto a numeric it will happen of course, but at least it doesn't start in this state) 2014-07-27 14:16:12 +00:00
adelikat 9469f5ac80 Virtualpads - N64 - change the positioning of buttons to better resemble a real n64 controller 2014-07-27 14:08:39 +00:00
adelikat 6039b921d2 add Yellow arrows to project and use them for the N64 C buttons 2014-07-27 13:53:25 +00:00
adelikat b4416e8317 VirtualPads - add an option "Clear clear analog input" 2014-07-27 12:39:56 +00:00
adelikat 22ea422530 Lua documentation - fix anchoring on a button (a dev only button, this has no impact on release builds) 2014-07-27 12:08:28 +00:00
adelikat d3af111a5e tastudio - when engaging and disengaging tastudio, clear out the PauseOnFrame property 2014-07-27 02:38:21 +00:00
adelikat 5f1df3224c fix some dangling references to BizHawk.Multiclient mostly in comments, but also in some client facing tooltip and lua documentation 2014-07-27 01:19:33 +00:00
adelikat e07f143e88 Virtualpads - make analog stick a lot faster in record mode 2014-07-26 22:02:21 +00:00
adelikat dc8fa8bd87 Virtualpad - another performance improvement for Analogstick controls 2014-07-26 17:22:58 +00:00
adelikat 9210b4d9a1 Greatly improve performance of the virtualpad tool, most configurations will have no speed cost unless there is no movie, movie speeds are much improved. 2014-07-26 17:11:47 +00:00
adelikat 130f0418a9 VirtualPad - make clear all hotkey Del instead of Shift+Del 2014-07-26 15:38:00 +00:00
adelikat b69b141a05 VirtualPads - fix issue 225 - properly clear the analog stick when right-clicking 2014-07-26 13:59:06 +00:00
adelikat f8fcc23184 Play Movie - stop on Frame option implemented 2014-07-26 13:06:19 +00:00
adelikat 9a721036b9 Move the Pause frame from tastudio's responsibility to mainform.cs, in preparation for it being used by other features 2014-07-26 12:47:09 +00:00
adelikat 3618cbde81 Remove a todo 2014-07-25 02:01:44 +00:00
adelikat 570f77cc68 Implement FastUpdate() on IToolForm. The intent here is for tools to do the minimum amount necessary when updating. This allows them to avoid slow things like drawing, but do critical activities such as Ram tools incrementing change counters, and loggers can continue logging. When Turboing, instead of bypassing tool updates, the client will run the fast update instead. Note: a few tools still need to be thought out as to what they need to do in a fast update 2014-07-25 01:55:21 +00:00
adelikat c82db1384f TAStudio - Ctrl+Up and Ctrl+Down hotkeys for previous and next frame 2014-07-25 01:02:24 +00:00
adelikat a3914e84a4 TAStudio - make a RightScrolled event for when the right mouse is clicked and the mouse wheel is scrolled, as refactored some code, this give better (but still broken) refreshing. Now the main window updates when the mouse wheel is done movie at least, as opposed to when the right mouse button is released. 2014-07-25 00:57:06 +00:00
adelikat 6e50c1b3a9 TAstudio - double clicking a marker in the marker list takes you to that marker 2014-07-23 23:04:43 +00:00
adelikat 91a44a8789 TAStudio - color markers in marker list according to lag and greenzone logic 2014-07-21 02:23:47 +00:00
adelikat 7881775d59 Fix N64 virtualpad 2014-07-21 00:41:19 +00:00
adelikat 0a227060b7 Set the mainform movie statusbar icon more often 2014-07-19 16:03:12 +00:00
adelikat 08764cc9b5 Tweak frame marker drag 2014-07-18 19:22:10 +00:00
adelikat e6c99db9ff TAStudio - move the rightButtonHeld logic inside the TasListView object rather than being tastudio logic 2014-07-18 00:04:29 +00:00
adelikat 8d0d5ef98d TAStudio - slight tweak to right-click + mousewheel 2014-07-17 23:55:10 +00:00
adelikat 5506f91e27 TAStudio - more GoToFrame logic, now smoothly goes frame play to record when advancing past the end of the movie. The code is sloppy and wasteful in circumstances, but it works (probably) 2014-07-17 23:38:01 +00:00
adelikat b6138325ea TAStudio - fix crash when clicking previous marker button when on the first frame 2014-07-17 23:20:10 +00:00
adelikat 2fdc0e1ecb TAStudio - better handling of greenzone and current frame navigation with the edit menu items 2014-07-17 23:11:28 +00:00
adelikat 6d95ee97a3 TAStudio - some tinkering with the GoToFrame() method logic, still more logic to be done here 2014-07-17 21:43:41 +00:00
adelikat 2332f9605c Tastudio - fix pause button, and implement mouse middle click as pause toggling 2014-07-17 20:35:12 +00:00
adelikat c6cb0c2c06 TAStudio - Ctrl+Left/Right to navigate between markers 2014-07-17 19:57:44 +00:00
adelikat 2ebba5ab07 Tastudio - implement playback controls 2014-07-17 19:00:28 +00:00
adelikat 816fac55fa Tastudio - implement the Select Between Markers menu item 2014-07-17 18:38:30 +00:00
adelikat a51c254576 TAStudio - fix an UI anchor 2014-07-17 18:22:45 +00:00
adelikat 103de3d34f TAStudio - when creating a power-on movie make a savestate on frame 0, if starting from savestate, use the savestate from the movie as frame 0 in the greenzone 2014-07-17 18:21:12 +00:00
adelikat b63a34249f TAStudio - add the notion of the "pending" frame, the frame about to be emulated, for which you can click to add input that will be captured into the movie the next frame. Logic is still wonky when switching from play to record at the end of a movie, and frame 0 is still messed up but that's a different problem 2014-07-16 23:04:56 +00:00
adelikat 3f51119b70 TAStudio - edit dropdown opened event logic, insert menu items - insert at frame 0 if no frame is selected 2014-07-16 19:23:05 +00:00
adelikat 1a4168d14d ugh 2014-07-16 02:20:14 +00:00
adelikat d8216ae0fc Tastudio - remove marker button 2014-07-16 02:17:19 +00:00
adelikat 7b8b602f0f TAStudio - double click the frame column to add a marker, make add marker button take the last selected index or current frame if nothing is selected 2014-07-16 01:37:50 +00:00
adelikat f286d07a9d TAStudio - background color logic 2014-07-16 00:10:37 +00:00
adelikat 8c064875c2 TAStudio - ability to add markers, very crude implementation for now 2014-07-15 23:43:17 +00:00
adelikat 5d743cdf88 PCE Sound debugger - autoload and other standard options on tools, dialog fixes that I do to all tools, add to toolbox 2014-07-14 16:01:35 +00:00
adelikat a664591218 TAStudio - right-click + mousewheel logic 2014-07-14 01:49:37 +00:00
adelikat 4f5ce7d545 TAStudio - when clicking the cursor column immediately go to that frame 2014-07-14 01:25:26 +00:00
adelikat b53cc908b8 Add options to how to handle the ending of movie playback, in addition to finished mode, it can now pause, stop, or switch to record. TAStudio - automatically override user's preference with switch to record (and restore their setting when disengaging tastudio 2014-07-14 00:35:33 +00:00
adelikat f79a674219 Remove GetInput() from IMovie 2014-07-13 22:17:31 +00:00
adelikat 57c86f7491 TAStudio - capture lag log during playback 2014-07-13 20:51:19 +00:00
adelikat 54376a7990 TAStudio - stuff 2014-07-13 17:41:30 +00:00
adelikat eae94f9184 TAStudio - stuff 2014-07-13 15:26:50 +00:00
adelikat 6b1bfc2d4a TAStudio - stuff 2014-07-13 14:13:20 +00:00
adelikat 3e37207617 TAStudio - remove some uneeded stuff 2014-07-13 13:04:09 +00:00
adelikat 3f461990c4 TAStudio - insert num frames implemented 2014-07-13 12:44:31 +00:00
adelikat d4c8fc5165 pause emulator when engaging tastudio 2014-07-12 01:32:21 +00:00
adelikat 43415044e7 Tastudio - implement truncate movie 2014-07-12 01:23:38 +00:00
adelikat e49754b705 TAStudio - implement paste and paste insert 2014-07-11 23:54:18 +00:00
adelikat e8f821117b TAStudio - implement the Insert menu item 2014-07-11 21:05:16 +00:00
adelikat 3ebad0cf49 TAStudio - implement delete menu item and hotkey 2014-07-11 20:29:39 +00:00
adelikat 40912a3c2b TAStuduio - implement Clear menu item and hotkey, properly invalidate greenzone on input painting and other already implemented editing events 2014-07-11 19:58:24 +00:00
adelikat 76fc763715 TAStudio - implement the Cut menu item 2014-07-11 19:11:30 +00:00
adelikat 100c67ebfa TAStudio - implement the reselect clipboard menu item 2014-07-11 18:52:15 +00:00
adelikat 7a8b5d9887 TAStudio - implement Select All and Deselect menu items 2014-07-11 18:36:23 +00:00
adelikat 1ef25132a1 TAStudio - restore copy functionality including generating an input log and putting it on the clipboard 2014-07-11 18:17:48 +00:00
adelikat 2072eac45f Some Changes flag management in movie objects 2014-07-11 18:06:18 +00:00
adelikat 7e768eacb1 When rewinding show << and <<<< symbols (not sure when those ever got removed). Tastudio - disable rewind on load, and restore it (if it was on) when closed 2014-07-11 17:14:45 +00:00
adelikat f8ee569bbb TAStudio - float painting 2014-07-11 16:26:19 +00:00
adelikat 1ef53257e9 TAStudio - smoother input painting, less gaps when dragging fast, still feels a bit of fthough 2014-07-11 16:08:47 +00:00
adelikat 2e508c1468 TAStudio - greenzone settings dialog 2014-07-11 15:43:47 +00:00
adelikat ee7831178a TAStudio - header editor 2014-07-11 02:31:43 +00:00
adelikat f0425f3cc5 TAStudio - input painting for boolean input 2014-07-10 20:40:50 +00:00
adelikat 238e9b4f73 TAStudio - 0 based frame display 2014-07-10 20:15:46 +00:00
adelikat cf5ee09d5d Disable play and record movie menu items when a movie is active, it isn't too much trouble for the user to stop the current movie first, and there's a lot that goes wron when they pick these with an active movie 2014-07-10 20:06:23 +00:00
adelikat 2ae2f5dce2 Let TAStudio take control of the Mainform StopMovie function 2014-07-10 19:51:36 +00:00
adelikat 5681368e13 TAStudio - background coloring based on lag log and greenzone 2014-07-10 19:24:21 +00:00
adelikat 80d5e8a7be TAStudio - input display 2014-07-10 02:45:56 +00:00
adelikat 655207d79a TAStudio - some reorg 2014-07-10 01:58:43 +00:00
adelikat 8d0cfc60dc TAStudio - some reorg 2014-07-09 23:04:22 +00:00
adelikat 539deaaf6c TAStudio - fix autoload 2014-07-09 22:44:20 +00:00
adelikat 61c4dfa1b1 TAStudio - comment and subtitle editor menu items 2014-07-09 22:09:20 +00:00
adelikat 537d8c5cac TAStudio - misc stuff 2014-07-09 21:56:27 +00:00
adelikat 786b0238ba Move Markers from TAStudio to TasMovie, and implement saving and loading of markers 2014-07-09 16:35:39 +00:00
adelikat 250dcbb108 tweak some comments 2014-07-09 16:01:57 +00:00
adelikat 9cc1fb4404 tastudio - some reorg 2014-07-09 15:04:16 +00:00
adelikat 5843a8f396 Start proof of concept of an IControlManinform interface. Mainform now has RelinguishControl and TakeControl methods. Tools that implement IControlMainform can override mainform actions. TAstudio implements this, currently the only ability is to override Read only toggle. The intend of this is to allow TAStudio and debuggers to take control of relevant mainform actions 2014-07-08 16:08:52 +00:00
adelikat cb3e340a1a Movie stuff 2014-07-08 15:15:35 +00:00
adelikat 7e39e67b1f tastudio - more fixes to startup logic, still convolted, buggy and wrong, but better! 2014-07-08 13:46:59 +00:00
adelikat 863d6f09ee small tastudio progress 2014-07-08 13:33:01 +00:00
adelikat 84b8fa36f2 TAStudio - more stuff 2014-07-07 19:48:58 +00:00
adelikat c019ec3bf0 More reorg 2014-07-07 18:03:02 +00:00
adelikat 34290be1dc TAStudio - export to bk2 menu item implemented 2014-07-07 16:14:33 +00:00
adelikat f875792c74 TAStudio - column names for float values 2014-07-07 16:03:22 +00:00
adelikat 46d6279f1b TAStudio - some progress on dynamically displaying columns, and some fixups in movie code in general 2014-07-06 22:13:12 +00:00
adelikat a02888344b Change the ToBk2() method to receive an IMovie instead of Bkm, and write a ToTasMovie() method similarly. Tastudio - remove code that warns the user if they open it with a movie already active, instead ask and autoconvert the current movie to a tasproj file 2014-07-06 21:20:43 +00:00
adelikat b9bb1635a1 more tweaks to the Analog Stick variable size logic, and positioning fixes to Genesis mouse schema 2014-07-06 17:02:35 +00:00
adelikat 2225811743 Virtualpad Analog stick - refactor to be variable size instead of a hardcoded 127, Implement Genesis mouse as a 255 analog stick. Note: some positioning bugginess is present in this check in, and probably some things got broken 2014-07-06 16:44:50 +00:00
adelikat 1df9f49f37 fix a typo in method name 2014-07-06 16:06:38 +00:00
adelikat e5b5daeaa0 VirtualPad Analog button - if not in sticky mode, update every frame with the current value, and a slight tweak to read-only view 2014-07-04 15:40:21 +00:00
adelikat c3b57a6ddf VirtualPad Analog button - show when the virtualpad is stickying the float value 2014-07-04 15:34:07 +00:00
adelikat 90df58abfa Virtualpads - refresh pads every frame 2014-07-04 15:15:08 +00:00
adelikat 5c8cf8b141 Virtualpad Target screen - cleanup some unneeded code 2014-07-04 15:12:14 +00:00
adelikat 3b9d99f763 Virtualpad Target screen - show when the virtualpad is sitckying the X,Y values 2014-07-04 15:09:10 +00:00
adelikat 07a337de46 Virtualpad Target Screen - fix to mouse up behavior 2014-07-04 14:25:33 +00:00
adelikat 69ea80882d Virtualpad - Targeting widget - hackery to fix movie playback 2014-07-04 00:44:57 +00:00
adelikat 49955a3447 Virtualpads - targeting pair - support ability to set a range to translate values to, and set genesis lightgun to 10000 2014-07-04 00:04:18 +00:00
adelikat fd80c62cdb More Util methods -> extension methods 2014-07-03 19:20:34 +00:00
adelikat a9aa65397c Convert a Util method to an extension method 2014-07-03 18:29:51 +00:00
adelikat 6bbd3ca80d Hex and Watch Boxes - prevent user from pasting invalid input, also if they do manage to get the textbox into an invalid state, interpret the value as 0 rather than throwing an exception 2014-07-03 16:43:39 +00:00
adelikat 1964f3754a Merge InputValidate into StringExtensions 2014-07-03 16:00:57 +00:00
adelikat f546a8080c Move some extension methods from the generic extensions file to NumberExtensions and fix up namespaces 2014-07-03 15:35:50 +00:00