adelikat
5e7d666548
Tastudio - speed up drawing a bit by caching input state while drawing a row of input
2020-04-19 13:54:30 -05:00
adelikat
70633419ac
Refactor TasMovie and add interface ( #1940 )
...
* create ITasMovie interface, still lots of todos
* interface for TasMovie.ChangeLog
* rename method
* interface more TasMovie things
* file rename
* interface more ITasMovie things
* make Bk2Movie and TasMovie internal, rely on interfaces for behavior and MovieService for instantiation
* MovieService cleanup
* cleanup TasBranch handling and simplify ITasMovie api
* more branch logic cleanup and ITasMovie simplificaiton
* more cleanup of branch handling
* more ITasMovie simplification
* nitpick cleanup
* Use IMovie.GetInputLogEntry instead of GetLogEntries
* more ITasMovie cleanup
* move come ITasMovie properties to TasBranchCollection
* TasMovie cleanup
* simplify ITasMovie more
* cleanup
2020-04-19 13:38:45 -05:00
adelikat
aa80c3a0d6
majorly refactor Bk2Controller more
2020-04-14 19:33:49 -05:00
adelikat
13e58cbac5
refactor IMovieController
2020-04-14 19:05:17 -05:00
adelikat
27605f4828
Bk2MnemonicConstants - pass in system id
2020-04-14 18:12:07 -05:00
adelikat
c325286169
make mnemonic constant classes static
2020-04-14 18:08:14 -05:00
adelikat
c6b39492a0
misc cleanups in Bk2Movie and TasMovie
2020-04-14 15:52:41 -05:00
adelikat
e29b02a472
simplify Bk2Movie and TasMovie constructors
2020-04-14 14:55:25 -05:00
YoshiRulz
0ba7a5a7df
Rename axis-related types, members, and locals
...
I left a few methods where they had an equivalent *Bool*() for buttons, and also
left some in TAStudio that get serialised.
2020-03-31 17:29:55 +10:00
adelikat
079a0a4104
HeaderKeys - CONSTANTSDONTNEEDTOBEALLCAPS
2020-03-01 16:36:47 -06:00
adelikat
18762c75ee
misc cleanups in Client.Common
2020-03-01 15:49:48 -06:00
adelikat
656f2b814e
Move IEmulator extensions to the Emulation.Common namespace, the intent is that these are used and serve as built in functionality, so it's overly tedious to when most situations require both Common and an additional extensions namespace
2020-02-15 12:33:15 -06:00
adelikat
90e1a89516
rename config variable to match type name
2020-01-25 11:44:58 -06:00
adelikat
3ce88eaa3b
pass config settings into TasSTateManager instead of using Global.Config, now TasMovie incorreclty uses Global.Config, but that's a step
2020-01-25 11:35:33 -06:00
adelikat
10e2f24210
TasMovie - private setter for a variable
2020-01-18 17:30:40 -06:00
adelikat
45003ea584
revert "Use Ranges" on TasMovie since it causes exceptions when attempting to create the first branch of a tasproj
2020-01-17 09:00:56 -06:00
YoshiRulz
dd4f9aaf64
Use ranges
2020-01-13 06:59:40 +10:00
adelikat
eaca35d3d0
properly use TasMovie.Session - fixes #1771
2020-01-12 10:55:15 -06:00
YoshiRulz
9ef32cf8f5
Merge ctors using default params, resolves a TODO
2020-01-02 22:10:42 +10:00
YoshiRulz
a8408ed3be
Improve exception docs in BizHawk.Client.Common
2020-01-02 21:51:27 +10:00
adelikat
b80b367831
refactor IMovie to expose the movie mode, and make extension methods that do IsPlaying type logic. This way there can be direct checks, and more variety of methods without cluttering the interface
2019-12-21 16:34:29 -06:00
adelikat
6107bc4553
TasMovie - rip out input caching attempt that wasn't even working
2019-12-07 12:21:42 -06:00
adelikat
1f4a2274d3
TasMovie - more cleanup
2019-11-24 16:06:01 -06:00
adelikat
60487c6a96
don't use Guid.GetHashCode, this was a leftover from some old bad code
2019-11-24 15:53:33 -06:00
adelikat
caced9c2a8
TasMovie - remove unused constructor params
2019-11-24 15:40:26 -06:00
adelikat
6a584c00bd
TasMovie - delete unused progress worker
2019-11-24 15:35:45 -06:00
adelikat
7d0b736e8d
Simplify TasMovie by using auto-properties
2019-11-24 15:33:25 -06:00
adelikat
1c67066e13
TasMovie - a small simplification
2019-11-24 15:26:44 -06:00
adelikat
289971c9e9
.tasproj - convert Session saving/loading to json. This is a breaking change, and older versions will silently fallback to defaults
2019-11-23 21:55:29 -06:00
adelikat
707419bba1
some TasMovie cleanups
2019-11-23 21:33:48 -06:00
J.D. Purcell
fec63fb66a
Spaces -> tabs, fix mixed newlines.
2019-11-03 20:58:36 -05:00
adelikat
5075160355
some cleanups
2019-06-15 18:38:56 -05:00
adelikat
6004f30d3a
rename IStateManager.ClearStateHistory -> Clear, LastStatedFrame -> Last
2019-06-15 15:19:18 -05:00
adelikat
3c27a332bb
create IStateManager interface and use that instead of TasStateManager
2019-06-15 14:31:06 -05:00
feos
bc990061b7
tastudio: refactor out a variable
...
fix autorestore triggering while drawing on future frames
2019-06-12 22:34:16 +03:00
James Groom
779975f689
Use nameof
2019-03-28 14:17:14 +11:00
feos
56e77f4907
tastudio: allow to actually unbind markers from input, and unbind by default
2019-01-05 21:48:40 +03:00
feos
cd2d63b04a
tastudio:
...
- don't use branch laglog after loading it. it's useless because we invalidate if needed anyway
- PauseOnFrame being null started to crash seeking, fixed
- make use of movie alias in branchbox
- capture tsm state after loading the branch
todo: if we load a branch in the middle of invalid greenzone, advancing won't draw new greenzone even tho states are being created. laglog doesn't seem to allow gaps either. unsure how to resolve
2019-01-05 21:30:06 +03:00
feos
f81f41f6f7
tastudio: fix #916
2018-03-08 14:44:09 +03:00
feos
7ae374df01
tastudio: fuck this
2018-02-21 02:06:25 +03:00
feos
94170687a4
tastudio: always assign branch's laglog when it's loaded
...
fixes failure to color greenzone if a branch without input diff was loaded (and some other weird conditions were met)
2017-10-07 23:07:15 +03:00
adelikat
43cb50d5c3
Misc cleanups in Client.Common
2017-05-19 13:17:07 -05:00
adelikat
dfea029fe4
Misc cleanups in Client.Common, documentation fixes
2017-05-17 11:16:55 -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
adc60dc6fb
more LINQ pet peeves
2017-05-10 13:43:41 -05:00
adelikat
429b066955
Client.Common - remove various redundant codez
2017-05-10 13:37:04 -05:00
adelikat
f942a409d7
Client.Common - remove a bunch of unused usings
2017-05-10 13:27:10 -05:00
nattthebear
ebe789eed2
heh
2017-05-10 07:45:23 -04:00
adelikat
e0985465b6
misc Client.Common code cleanups
2017-05-09 13:19:55 -05:00
J.D. Purcell
b53502eed8
Spaces -> tabs.
2017-04-15 16:37:30 -04:00