Commit Graph

255 Commits

Author SHA1 Message Date
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 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 d3af111a5e tastudio - when engaging and disengaging tastudio, clear out the PauseOnFrame property 2014-07-27 02:38:21 +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 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 0a227060b7 Set the mainform movie statusbar icon more often 2014-07-19 16:03:12 +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 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 8c064875c2 TAStudio - ability to add markers, very crude implementation for now 2014-07-15 23:43:17 +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 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 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 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 2ae2f5dce2 Let TAStudio take control of the Mainform StopMovie function 2014-07-10 19:51:36 +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 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 9fd640ff4b Remove some unused code 2014-06-29 02:33:50 +00:00
adelikat ab5cfab035 remove redundant code throughout the emuhawk project 2014-06-29 02:28:48 +00:00
adelikat 10c48bb3f8 Bk2 - take the log key into account when replaying a movie input log 2014-06-21 14:33:33 +00:00
adelikat 7f070737cc clean up some debugging code, and remove a warning 2014-06-19 21:37:28 +00:00
adelikat 70baceb6c8 Fix Bk2 playback, also rip out a bunch of junk from the Old Movie Log class from the first attempt at TAStudio and some half-baked notion of an input log class 2014-06-14 21:37:51 +00:00
adelikat e0a9fcd650 More movie 2.0 stuff 2014-06-11 02:56:57 +00:00
adelikat 41faaedc18 TAStudio / Movies 2.0 - rip out a bunch of boolean input assumptions, in favor of..nothing for right now this breaks most all of the functionality of TAStudio, will replace with something that accounts for float input as well 2014-02-08 22:41:47 +00:00
adelikat f72debc84e Slight and meaningless TAStudio stuff 2014-02-02 17:49:40 +00:00
adelikat 50a879dd05 Tastudio - implement Floating window and refactor to use ToolDialogSettings object 2014-02-01 15:44:51 +00:00
adelikat 57c8b2f75f TAStudio - when dragging the frame column to select items, catch the "in betweens" when the mouse moves fast enough to move past some rows. 2013-12-20 03:28:25 +00:00
adelikat f81fe9898f Tastudio - implement Copy menu item, and show rows selected and clipboard count in status bar 2013-12-19 03:45:11 +00:00
adelikat b0817aabef TAStudio - playing around with UI design 2013-12-19 02:52:27 +00:00
adelikat 0582ef4c42 TAStudio - account for playback in previous commit 2013-12-17 18:32:48 +00:00
adelikat 9ddcfcce8b TAStudio - when recording, keep Current Frame marker in view 2013-12-17 18:22:03 +00:00
adelikat b837ddf36e TAStudio - tweak the marker dragging and support dragging of frame column to highlight 2013-12-15 17:19:22 +00:00
adelikat a75e91af13 Tastudio - support dragging the marker through greenzone frames. Does nothing currently if you go outside the greenzone. 2013-12-15 04:45:46 +00:00
adelikat 91063b7ffd Lua forms library - implement forms.dropdown(), forms.checkbox(), and forms.ischecked(). Add support for dropdowns in forms.gettext() (returns the string value of the selected item) 2013-12-15 02:50:50 +00:00
adelikat 5c9a604ae5 TAStudio - when loading a movie, set to playback mode, implement auto-switching to record mode at the end of a movie 2013-12-14 20:32:00 +00:00
adelikat 415985cd2e TAStudio - fixes to file opening and saving changes, implement autoload project 2013-12-14 19:51:07 +00:00
adelikat 69e8e42d61 TAstudio - implement input log loading 2013-12-14 18:46:59 +00:00
adelikat 518e53e361 TAStudio - implement Restore Defaults menu item (for the features implemented so far at least). Make dialog TopMost = true by default 2013-12-14 14:48:05 +00:00
adelikat 5fee952c3a TAStudio - Implement AskSave() and various client logic regarding file saving/loading 2013-12-14 14:40:33 +00:00
adelikat 35c3fcca16 Restart Rom when Tastudio is engaged, resorted to ugly hacks that will be rethought when things are more stable 2013-12-14 06:58:09 +00:00
adelikat 7e67658f1c Remove Loaded property from IMovie and refactor accordingly, it was only needed for a hack that had faulty logic 2013-12-10 17:41:30 +00:00
adelikat 1f181f48db TAStudio - start the "New" menu item, but it doesn't ask to save changes, it also freezes the GUI for some reason 2013-12-10 16:37:41 +00:00
adelikat 4d770ab0f3 TAStudio - implement recent menu and Open file, but it is currently pointless since the input log parsing isn't implemented 2013-12-10 02:13:50 +00:00
adelikat fd149237ee TasMovie - implement saving of movie log into files, make header have the proper movie version (v2!), Change file "Movie" to "Header". TAStudio - implement Save and Save As menu items 2013-12-10 01:45:45 +00:00
adelikat 66691bf9ab TAStudio - set up a proof of concept change event handlers in MovieRecords and TasMovie, change events propogate from MovieRecord to TasMovie which will manage greenzone logic (todo) and other management issues, and then fire off an event that TAStudio will listen to manage UI needs 2013-12-09 21:40:27 +00:00
adelikat d3f088a0bc Intelligent input drawing 2013-12-08 19:42:07 +00:00
adelikat 22ff2bff04 TasListView - track the current and last cells pointed to, add a Cell changed event handler, add a Input Drawing flag, and track if the user is click dragging. TAStudio - hook up input drawing feature with toggle, still work to do as it doesn't work as intelligently as it should yet 2013-12-08 19:30:57 +00:00
adelikat 14184c9ae9 TAStudio - Basic input toggling via clicking cells in the listview 2013-12-08 18:44:41 +00:00
adelikat 6873248ce8 Some cleaning up of logic of past commits, and separate MovieRecordList to its own file 2013-12-07 21:37:52 +00:00
adelikat ba2c345608 TAStudio - better column building and tracking of what has been pressed. Also now allows a variable number of players to be recorded. 2013-12-07 17:29:47 +00:00
adelikat 94de0b0376 TAStudio / TasMovie - Proof of concept that MovieRecords can hold an array of bool states and communicate with higher objects via IController 2013-12-07 01:50:52 +00:00
adelikat 38d6555763 Some stuff 2013-12-06 18:27:06 +00:00
adelikat 98f1e02df3 TAstudio - start capturing states and lag, basic background color logic, start item text logic 2013-12-06 15:47:23 +00:00
adelikat 5384fcfdd2 TAStudio - start new recording on load, and generate columns dynamically based on the core currently loaded. Currently only does 1 player's worth of columns. 2013-12-05 19:18:20 +00:00
adelikat 3f79bbfd56 TAStudio - create a TasMovie object on load, start implementing some tasmovie things, if there is a move active, warn them that they will lose their work when they open tastudio. Swap global movie back to a regular movie on tastudio close 2013-12-01 22:29:38 +00:00
adelikat 1390b1a7e3 Start MovieRecord and TasMovie objects, they are just stubs right now 2013-12-01 20:55:52 +00:00
adelikat 9ab2be558c rip out existing tastudio logic and replace it with a skeleton project that does nothing 2013-12-01 04:00:02 +00:00