Commit Graph

160 Commits

Author SHA1 Message Date
feos 1c6a40dec9 tastudio: seek progress bar:
- stop dividing by zero!
- ignore if seeking closer than 2 frames ahead (todo: make cutoff configurable)
2016-01-27 15:44:42 +03:00
feos 2535207a40 tastudio: actually implement seeking progressbar. 2015-12-13 00:00:23 +03:00
feos 2a6a2a7a8a tastudio: properly report saving progress.
also attempt to report seeking progress.
report occurs, but progressbar doesn't show up...
2015-12-10 01:38:06 +03:00
feos 4bc74ce36e tastudio: arrow keys start making sense.
up/down - scroll tasview.
ctrl-up/down - move selection.
shift-up/down - append selection.
removed ctrl-shift-R, duplicate of ctrl-shift-F.
2015-12-03 23:06:28 +03:00
feos ef563a77e0 tastudio: differentiate between marker with text and regular marker.
both have buttons and context menu items.
if mass adding regular markers, give a warning for 50+.
marker with text can only be added one at a time.

fix #504
2015-12-01 19:36:13 +03:00
feos 796a62f883 tastudio: moved branch and marker popups to their controls.
marker add called from MarkerControl doesn't check TasView selection anymore: current frame has higher priority, and if we don't want a marker on it, we use TasView's doubleclic or menu to mark selection.
sight MarkerControl cleanup.
2015-11-25 23:28:46 +03:00
feos 33ac38fe5d tastudio: do right-click frame move only on Alt
right-scrolling should not fire frame drag AND greenzone invalidation (every time we accidentally move the mouse over the frame column)
2015-11-22 12:44:24 +03:00
feos ef07f8b0b0 tastudio: account for mouse speed when advancing/rewinding.
this way you get farther if you right-scroll fast, and still navigate precisely otherwise.
2015-10-25 20:48:51 +03:00
feos 8a86737ff0 tastudio: color stated frames on WasLag too. 2015-10-21 19:00:24 +03:00
feos 2a8578c74f tastudio: keep the same identifier for updated branch.
ban context menu when there's no selection.
attempts to fix mysterious crashes in TasStateManager.
2015-10-04 18:00:04 +03:00
feos 4625bdce0f tastudio: a bunch of fixes.
- update branches per RefreshDialog()
- clear selection per right click if it's beyond movie length
- fix crash when load branch is called with null selection (can't stably reproduce, but it happens)
- assign guid to branches from the right place. this required setting some statics, don't know if it was right, but it works.
2015-10-04 13:39:14 +03:00
Suuper d1fa718120 Put my AutofireStickyXORAdapter back and fixed the bug it had. 2015-10-03 09:36:07 -05:00
feos 4f07c908a0 tastudio: more branch work.
- change skipRemoval default to true, set to false only on state capturing
- put guid hashes to BranchStates
- setup a couple of functions using guid
2015-09-16 19:40:50 +03:00
adelikat 3886205bbc TAStudio - fix right-click autohold 2015-09-05 19:52:00 -04:00
adelikat 0e11ae4316 Tastudio - store icon Resources in variables to keep from churning while drawing, big speed up to tastudio 2015-09-02 19:00:52 -04:00
feos a998d472cf tastudio: optional icons for states and markers.
Settings -> Icons.
2015-09-01 21:24:12 +03:00
adelikat 407f44bf96 Fix issue #461 - broken by Tastudio autofire patterns, THIS BREAKS TAStudio autofire patterns, they need to be fixed, in a way that doesn't break autofire 2015-08-24 20:51:53 -04:00
adelikat f9e2b924cd proof of concept means it should only be in developer builds 2015-08-24 19:57:54 -04:00
adelikat 2a1c9e8602 TAStudio - anchor icons on frames with savestates, proof of concept. InputRoll - add offsetx,y values to queryItemIcon and queryItemText, also support ability to draw icons and text in the same cell 2015-08-24 18:30:45 -04:00
feos c270b78ecb tastudio: ColorZone, taseditor style
- frame column lighter than input
- 2/4p column not so dark
- semi-pale for logged, but not stated frames (taseditor does it!)
2015-08-24 20:51:48 +03:00
Suuper 4ce346661b Branch states on RAM should work. (Disk states will break things.) 2015-08-13 09:42:04 -05:00
feos 551acd8c9e tastudio: shift is occupied, alt is not. use alt for marker drag!
the need to draw selection in patterns is too weak, so we can safely leave alt-clicks and alt-draws to input columns only (when it's implemented).
2015-08-06 20:24:56 +03:00
feos e687c4ab1a tastudio: don't count rerecords while drawing 2015-08-06 20:03:30 +03:00
adelikat 226fcbb829 Tastudio - when showing branch number on a frame and there are multiple branches, grab the most recent by timestamp 2015-08-04 21:45:11 -04:00
feos 78f4084411 tastudio: color frame column the same as player 2.
this visually separates frame number column from input.
could have been done by aligning frame text to the right, but it's not possible right now.
2015-07-30 21:09:07 +03:00
adelikat 23b1199bbd Tastudio - show branch numbers on the navigation column for frames that correspond to branches 2015-07-29 19:45:51 -04:00
adelikat 6bcbf82b7c Tastudio - ability to move markers by shift+click dragging them 2015-07-28 20:03:03 -04:00
Suuper 2d64e0d115 TAStudio: -Scroll by painting doesn't require FollowCursor anymore
-Undo History form display bug fixes.
-Removed menu item to combine consecutive recordings/draws
2015-07-26 14:54:31 -05:00
Suuper f72eadb76e TAStudio: -Fix: Undo/Redo didn't always jump back to valid frame.
-Performance boosts with multiple selected rows
2015-07-25 22:49:52 -05:00
Suuper 91c12d06b6 TAStudio: -Show button name and frame of painted input in undo log.
-Don't scroll to follow cursor while mouse button is held.
2015-07-25 20:15:35 -05:00
Suuper 6ca7080a85 TAStudio: Fixes to how scrolling while painting input works. 2015-07-25 19:56:13 -05:00
adelikat aeccf2e310 Tastudio Branches - Fix null reference excepting when navigating after branch load 2015-07-25 16:36:36 -04:00
Suuper f20da940fa TAStudio: Right-click shift+ctrl didn't jump to greenzone. 2015-07-25 03:28:21 -05:00
Suuper e499503a60 TAStudio bugfixes: -Invalidated 'green' frames were displaying as white; also removed two unused color variables.
-When painting input upwards, the last frame hovered over wasn't set.
2015-07-24 14:49:00 -05:00
Suuper f9cd2f4075 -TAStudio: Players' 2, 4, etc input columns have darkened bg colors.
-LagLog is now moved over to new savestate-anchored movies
2015-07-23 12:55:22 -05:00
adelikat 140ce0af16 TASTudio - when showing the marker naming pop up, clear out all the states that would have been done by the mouse up event that hasn't happened yet, prevents being able to highlight frames while the pop up is open 2015-07-18 12:33:03 -04:00
Suuper 194d988a5f Put frame clears and macro placements in undo batches
Better undo descriptions for right-click edits
2015-07-16 14:40:00 -05:00
Suuper bc8717c9f9 Fixed right-click input painting in TAStudio. Also removed mouseWheelTimer as it is no longer needed. 2015-07-16 13:57:51 -05:00
Suuper 46e8bdeefa A quick attempt at fixing frame scrolling up with wheel. Not perfect, but better. 2015-07-15 15:11:32 -05:00
Suuper b9865db397 Fix: TAStudio was still seeking after edits with "Auto restore" disabled and while unpaused.
Fix: The bug where editing while seeking changed PauseOnFrame came back again.
2015-07-15 15:01:08 -05:00
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