adelikat
cb4e71ebf7
rename a StateManager method, and delete some unused methods
2019-06-15 14:40:18 -05:00
adelikat
8f116a8428
Pass TasMovie into StateManagerDecay and have it get the last edited frame instead of from IStateManager
2019-06-15 14:35:31 -05:00
adelikat
3c27a332bb
create IStateManager interface and use that instead of TasStateManager
2019-06-15 14:31:06 -05:00
YoshiRulz
2642ef4049
Remove empty docs
2019-06-06 16:41:10 +10:00
alyosha-tas
2bddf3663e
TAStudio: Fix some bugs in new from menues
2019-01-19 13:30:42 -06:00
feos
a0e5e0e593
tastudio: actually don't drop state above last edited frame
2018-05-10 20:32:44 +03:00
feos
056c24e4cf
tastudio: attempt to fix greenzone decay failing to drop states
2018-05-09 17:18:21 +03:00
feos
ae6ce00d7c
I've heard bad things about ElementAt()
2018-03-27 19:01:17 +03:00
feos
bf8c21663d
State manager decay ( #1128 )
...
* Finally use exponential decay algorithm for greenzone
* Works in both directions (unlike fceux taseditor)
* Stop using last accesses states for anything
* When dropping states per project save, account for state gap better
* Use _states.Keys[i] instead of _states.ElementAt{i).Key in speedy parts, because it's apparently tons faster
* Use StateIsMarker() where it's supposed to be used
* Markers are still left untouched
* Branch states are still dead (probably forever)
2018-03-08 12:24:35 +03:00
feos
0fe703c9b7
tsm: redo the algo from scratch, probably not last time
2018-02-27 01:28:24 +03:00
feos
13a49b00d0
tsm: improving the algo
2018-02-26 01:45:44 +03:00
feos
7ae374df01
tastudio: fuck this
2018-02-21 02:06:25 +03:00
TASeditor
36900b15d4
tastudio lua: setinput functions, onbranch callbacks ( #1098 )
2018-02-10 14:58:46 +03:00
vadosnaprimer
1809d19ecb
smart state gap for greenzone. fix #915
...
disable disk capacity setting
2017-11-05 22:34:58 +03:00
adelikat
43cb50d5c3
Misc cleanups in Client.Common
2017-05-19 13:17:07 -05:00
adelikat
70baf9d306
Client.Common cleanups
2017-05-18 11:36:38 -05:00
adelikat
cf15eb8950
TasStateManager - deciding upon a "fix" to the probable bug. This is technically different behavior than before but the intended behavior? This might break stuff
2017-05-17 13:20:57 -05:00
adelikat
2a54517b52
more misc Client.Common cleanups
2017-05-17 13:18:26 -05:00
adelikat
dfea029fe4
Misc cleanups in Client.Common, documentation fixes
2017-05-17 11:16:55 -05:00
adelikat
22e2df3868
Point out a probable bug
2017-05-10 14:26:21 -05:00
adelikat
29d470a933
Cleanup tasproj related code. This includes C#6ism (feos has 2015 now). Added some todos for some sketch code
2017-05-10 14:19:46 -05:00
adelikat
e0985465b6
misc Client.Common code cleanups
2017-05-09 13:19:55 -05:00
feos
d254ad01d8
tastudio: add branch undo feature
...
the fact that it's separated from changelog is because there's no way to extend the latter, but *also* it's intended, as we want branches to be independent from changelog manipulations
todo: figure out branch text edits
2017-03-14 22:49:55 +03:00
feos
36f53116b1
tastudio: quit pretending -1 is a legit branchHash
...
seems to fix #785
2017-01-29 10:24:11 +03:00
feos
549fc333f1
tastudio: fix removal of states *near* lag frames
2016-09-03 15:17:38 +03:00
feos
178820746c
tastudio: prevent crash occurring at new state capture
...
mem leak is still there for N64
2016-08-02 22:46:21 +03:00
feos
2e1132c2b9
tastudio: this should be reliable enough.
2016-04-25 18:18:20 +03:00
feos
000050b1e9
tastudio: integrate StateGap logic into ExcludeStates().
...
for loaded projects, stop forcing current frame capture if it's non-zero.
stop excluding state on frame 0.
todo: make capture state gap reliable for project state gap. right now it can capture odd frames if they go after markers or lag, so those will be missing when saving the project.
2016-04-25 18:04:42 +03:00
feos
408d0ae4d0
tastudio: attempt to make StateGap smarter.
...
it should rely on frames, not on state indexes. and we can only have states on frame numbers that are powers of 2.
doesn't work right on saving multiple times yet. need to cooperate with ExcludeStates() somehow.
2016-04-24 23:17:17 +03:00
feos
f35938acdb
tastudio: be able to load broken greenzone file.
2016-04-23 20:54:14 +03:00
feos
7fa99c7d13
tastudio: project savegap (finally!)
...
ScrollSpeed defaults to taseditor's
2016-04-17 23:29:25 +03:00
feos
a7b3668506
tastudio: fix Used and fix a nasty mistake in branch logic.
...
should properly handle branches created during seeking.
fix #606 I hope.
2016-04-17 18:54:55 +03:00
feos
0e6ec038a8
tsm: let this sanity check be there.
2016-04-17 16:01:09 +03:00
Suuper
a751412c1f
TasStateManager.cs -> fixed stateHasDuplicate
2016-02-20 13:43:24 -06:00
Suuper
8b5440d963
Fixed a few bugs in TasStateManager.cs
2016-02-20 12:34:13 -06:00
feos
1b8ef3738a
tastudio:
...
- history form: canonical colors, show the current item better, report marker operations
- markers: adding markers updates dialog, don't ever remove marker 0
- tsm: attempt to fix exception in AllLag()
2016-01-27 12:53:26 +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
8a6ddfbf3f
tastudio: actually use initial state from anchored movies.
...
don't seek to whatever frame such a movie was created from.
2015-12-08 23:38:00 +03:00
feos
855561ac19
tastudio: last preparation before new tasproject entry.
...
old branch states won't load anymore, as they were part of common greenzone and were cut off. current states should still be compatible.
2015-10-24 17:17:33 +03:00
feos
fd2e6848f1
tastudio: tsm never actually uses currentBranch, so why should it have it?
...
Revert "make sln version 2010 again." This reverts commit 48a59f1cef
.
It's now known that to make newer .sln compatible to VS2010, one should install SP1.
2015-10-24 16:29:37 +03:00
feos
3f1a3907b5
tastudio: put branch states to a separate greenzone file.
...
default scroll speed to 3.
2015-10-24 12:47:34 +03:00
feos
ef5369a443
tastudio: "Erase branch states before all the rest" option.
...
fixed branch info loading.
2015-10-06 21:51:03 +03:00
feos
e0c2e43e48
tastudio: add an option for (not) using branch states in tasproj.
...
clueless about what should go in its description.
fixed new guid being assigned to branches loaded from the project.
2015-10-05 22:11:45 +03:00
feos
31e476a3cd
tastudio: load projects without branch state info.
...
fix some other crashes, kill selection when loading a file.
2015-10-05 19:08:21 +03:00
feos
87dd32eeac
tastudio: found another bomb set by picking branch states by index. two actually.
2015-10-05 00:24:41 +03:00
feos
89d919e6a9
tastudio: loop guid dup check.
...
don't remove marker 0.
update when going to frame 0.
don't check hasDuplicate against current states if branch is not current (what was it for at all?). releases Used per branch removal.
2015-10-04 21:10:40 +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
adelikat
9f67d8e59b
TasBranchCollection - encapsulate unique identifier logic into TasBranchCollection
2015-10-04 10:43:36 -04: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
nattthebear
915abb9504
Stuff
2015-10-03 19:20:32 -04:00