Commit Graph

120 Commits

Author SHA1 Message Date
Suuper 07a8a4c1d3 Removed SuppressGreenzoning because TAStudio should not allow the user to be on a frame that isn't "greenzoned". It will now jump back to the greenzoned area immediately when an edit invalidates part of the greenzone, and pause there until mouse up.
This fixes a bug which caused TAStudio to generate and keep invalid savestates.
2015-07-15 14:26:56 -05:00
Suuper e3a8c33be5 -Fixed typo in variable name (SupressGeenzonging)
-Removed state capture from TasMovie.RecordFrame
-Fixed: States weren't captured while left mouse button was still down from clicking a frame.
-TAStudio now automatically captures after loading a new movie.
2015-07-13 22:06:21 -05:00
feos 510ebf519a tastudio: moved scrolling catch up and refresh to the end of TasView_PointedCellChanged().
can drag selection offscreen too now.
todo: drag things above the view.
2015-07-14 00:40:05 +03:00
feos a2cb4373a9 tastudio: scroll to frame appended by offscreen dragging.
need to figure out scroll speed, as it is too high unless drawing VERY slowly.
2015-07-13 22:06:24 +03:00
feos feb14ad948 tastudio: don't jump to playback when advancing/rewinding
offscreen marker goto is the only SetVisibleIndex() call that should show playback
tastudio: cursor is not a marker anymore
2015-07-13 20:37:12 +03:00
feos de699656d6 tastudio: introduce fast scroll idea via timer
seek frame is reset only if paused OR 100ms since last scroll haven't elapsed
2015-07-12 21:54:31 +03:00
adelikat 9455aec767 Tastudio/lua - implement tastudio.onqueryitemicon() 2015-07-09 12:47:59 -04:00
adelikat b0ea42f5a7 Tstudio - some reorg 2015-07-09 12:35:48 -04:00
adelikat 19423092cd Tastudio/lua - implement tastudio.ongreenzoneinvalidated 2015-07-02 14:51:42 -04:00
adelikat c53cef6cf9 tastudio/lua - implement tastudio.onqueryitemtext 2015-07-01 19:46:14 -04:00
adelikat f847e905d2 tastudio/lua - add onqueryitembg event to the lua library, this is called during each cell's background color drawing callback, and gives the opportunity for lua to override the color. 2015-07-01 19:01:29 -04:00
adelikat 13044547e4 Tastudio - fix issue #446 - don't greenzone between the mouse down and mouse up events when editing input 2015-06-28 10:43:45 -04:00
SuuperW 7da9efe3c2 Feature: Apply auto-fire patterns to painted input 2015-03-23 22:11:55 +00:00
SuuperW 9328dd2f3a -TAStudio automatically set Read-Only
-TAStudio no longer refreshes every frame if playback cursor isn't visible; slight performance boost
-Editing while in playback won't mess up the LagLog (states still do)
-Fixes to rotated display and HBar scrolling
2015-03-19 19:55:38 +00:00
SuuperW 91dc780103 Fixes/changed to state history saving.
State History Integrity Check now stops at the last state.
2015-03-17 01:02:38 +00:00
SuuperW 6783978f49 Bugfix: Extending movie by painting invalidated last frame
Moved GreenzoneCurrentFrame call to a new method called after frame advance.
Feature: Scroll to marker
Page up/down now scrolls by one page
Scrolling via dragging bar and via wheel now both have the same max value.
2015-03-16 20:42:14 +00:00
SuuperW 84acda3bbc A couple bugfixes for float editing autorestore 2015-03-16 17:04:10 +00:00
SuuperW a3eadc8e5f Various bug fixes, most to TasStateManager. 2015-03-16 16:36:00 +00:00
SuuperW c661591c5c Smarter state management.
Don't focus on TasView if TAStudio doesn't have focus.
Bugfix: Scrolling with wheel didn't update pointed cell
Setting: Scroll to top/bottom/center
Follow cursor hotkey
2015-03-14 16:38:07 +00:00
SuuperW 1a0476892f Bugfix: TasProjects without states loaded without a power on state.
Bugfix: There were several ways to edit movie in TAStudio without rewinding to edited frame.
Smarter state management.
2015-03-12 18:31:28 +00:00
SuuperW 6013b9ed2b Implemented feature: Auto-adjust Input according to Lag;
Added option: Hide WasLag Frames
-Changed implementation of TasLagLog
-Removed single-line Marker functions from TAStudio.
2015-03-10 17:11:29 +00:00
SuuperW 5fd1f6912b TAStudio:
Fixed the Greenzone Integiry Check feature.
Bugfix: Right-click menu didn't show up.
2015-03-10 05:12:13 +00:00
SuuperW e2f79254be Changed TAStudio to not reference the no longer used StickyXORAdapter.
Chagned GetFloatValue to GetFloatState (to match SetFloatState)
2015-03-10 04:16:42 +00:00
SuuperW 7360badb4a Added AutoFire support in TAStudio, fixed/improved patterns.
-A couple minor fixes
2015-03-08 04:42:04 +00:00
SuuperW 189ecfeb2e TAStudio:
-Undo History UI, some history bugfixes
-Painting input past the movie no longer moves markers
2015-03-04 19:03:00 +00:00
SuuperW e4c4910b37 TAStudio:
-Several buggixes
-Feature: Right-click dragging frames to move/copy/clone. (Combine with Shift and/or Ctrl.)
2015-03-03 18:22:54 +00:00
SuuperW 25e54f4390 -More StateHistory names
-Smarter state history management
TAStudio: A few bugfixes and performance boosts
2015-03-03 06:56:45 +00:00
SuuperW bff3d64a4a -Various fixes, mostly to Undo/Redo.
-Changed Program.cs to not use a couple try statements when debugger is attached.
-Implemented the Undo/Redo menu item buttons.
-Ctrl-deselecting frames in TasView now supports dragging.
2015-03-01 19:29:33 +00:00
SuuperW cf081ce1fc TAStudio:
-Moved Toggle/SetStates from TasMovie.cs to TasMovie.Editing.cs
-bugfix: Yet another bug in setting LastVisibleFrame
-Removed unused declaration
-Fixed MarkerControl to not mess up display when a deleted marker is still selected.
-feature: Basic undo/redo history functions seem to work. (Ctrl+Z/Y in TasView)
2015-03-01 05:47:32 +00:00
SuuperW 836659264d TAStudio:
-Bugfix: Dragging to change a float was backwards.
-Fix: Setting LastVisibleRow with lag frames hidden now goes to the correct frame.
-TasView now sets FirstVisibleRow when jumping backwards
-Bugfix: Deleting a marker didn't remove selection; refresh messed up.
-Moved InputRoll.cs, SelectAll/DeselectAll to the Api region.
-Bugfix: Couldn't edit next-frame float values.
2015-02-27 19:06:02 +00:00
SuuperW 81a8d38ca4 TAStudio work:
-Fixed InputRoll.VisibleRows property.
-Removed useless check for NeedsScrollbar.
-Removed TAStudio.ListView.cs property for hiding lag frames; changed InputRoll.cs to do that work more efficiently.
-Feature: User can now edit float values by holding the mouse button and dragging up/down.
-Bugfix: Moving the cursor past first displayed row while painting would not cause first displayed row to be painted. (and similarly with last)
2015-02-25 21:17:50 +00:00
adelikat 6a02656417 Tastudio - track lag log history (1 level deep) and color "invalidated greenzone" using this information (a lighter shade of normal greezone colors) 2015-02-24 21:23:16 +00:00
SuuperW 734101a8fd TAStudio: Fixed arrow keys not being picked up in KeyPress, plus minor edits/bugfixes to arrow key editing of float values. 2015-02-24 20:55:24 +00:00
adelikat a4ce9de091 Tastudio - wire up the Lag Frames to Hide UI, and have it save in the Tasproj file 2015-02-24 20:38:46 +00:00
SuuperW 369c883ac0 TAStudio feature added:
-Hiding lag frames feature implemented. (Still needs a user interface to change the settings.)
2015-02-24 19:00:12 +00:00
SuuperW db09b12925 More updates to TAStudio: (again all my changes marked with SuuperW)
-bugfix: Local variable hid another; float input couldn't be painted.
-bugfix: Bool input couldn't be painted starting from past the last frame.
-feature: Double-clicking a float input allows user to type value in. (arrow keys would also work, but those aren't seen by the InputRoll, no idea why)
-change: Selected cells are now half-highlighted, so user can still see the non-highlighed color.
2015-02-24 06:47:32 +00:00
SuuperW e3b9b7c795 A few edits to TAStudio:
-Double-click markers to jump to that frame.
-Drag painting input was one frame behind cursor.
-Some commented-out code for stuff I was messing with may also be present. (All edits were marked with SuuperW comment line.)
2015-02-24 03:06:57 +00:00
adelikat c03fc0be81 Tastudio - fix issue 356, don't crash when clicking a float column when the movie has no input yet 2015-01-05 00:43:02 +00:00
adelikat 6ce93c0496 TAStudio - move some settings from Config.cs to the dialog using [ConfigPersist] 2015-01-01 18:24:35 +00:00
adelikat 3768e393c7 Convert remaining tools to EmulatorServices 2014-12-14 01:20:19 +00:00
adelikat 5c85a8ca66 Tastudio - improve navigation performance by emulating a frame when possible rather than loading a state 2014-10-23 21:21:43 +00:00
adelikat 5a2e8071d6 Tastudio - break some code into a function in preparation for stuff 2014-10-21 01:31:41 +00:00
adelikat 1610555dbe Tastudio - double click a marker in the marker list will allow user to edit the message 2014-10-20 23:03:39 +00:00
adelikat d0aee55059 Tastudio - a bit of simplifying some code 2014-10-20 19:04:59 +00:00
adelikat 590766d147 Tastudio - speed up selection by reducing unnecessary refresh calls 2014-10-20 00:11:07 +00:00
adelikat 3593588d5f InputRoll - ColunReorder event handler, Tastudio - subscribe to this event handler and flag changes to the movie (since this information is saved into the tasproj file) 2014-10-19 14:46:01 +00:00
adelikat 2401de6ba2 Tastudio - don't open the context menu when user right-clicks a column header 2014-10-19 00:24:33 +00:00
adelikat e0525ebbe4 TAStudio - when input painting and other mouse events, wait to do AutoRestore until mouse up 2014-10-17 20:10:21 +00:00
adelikat 13f86451f4 tastudio - some cleanup 2014-10-17 19:31:42 +00:00
adelikat a08e2f9a79 Tastudio - another round of fix cleanup 2014-10-17 18:14:21 +00:00