YoshiRulz
5fe4f3091d
Fix IList<T>.ToLuaTable() extension ( resolves #2004 )
2020-05-16 10:03:16 -05:00
adelikat
e1f6c7afb1
fix bug not sorting GameName and sha1 in movies, fixes #1966
2020-05-01 14:32:10 -05:00
adelikat
e09bc14a58
remove NamespaceAliasHacks.targets, it is no longer needed
2020-04-29 15:52:07 -05:00
adelikat
15f69cf80e
put bad code back in that keeps a stopped movie hanging around in memory, until tastudio is refactored. This "fixes" a lot of crash bugs when opening movies with tastudio
2020-04-28 17:12:50 -05:00
adelikat
648a1de060
lau - fix a few typos
2020-04-26 14:01:43 -05:00
adelikat
fc45ffa60e
fix crashing of ClientApi when sgb is loaded, this system is bad, I'lll delete it the next it breaks a core
2020-04-24 16:12:40 -05:00
adelikat
d4c8615e95
remove unused usings and other redundancies
2020-04-23 20:33:18 -05:00
zeromus
10bceeb0dc
Nope, I think it's a good idea now.
...
Revert "This reverts commit c878c85daeaaf0cae3e28f24bc1a8b511293d7b6."
This reverts commit 1d1f2a18c6
.
2020-04-23 21:20:59 -04:00
zeromus
1d1f2a18c6
This reverts commit c878c85dae
.
2020-04-23 21:06:12 -04:00
zeromus
c878c85dae
for your consideration: sync settings return flags instead of a bool, so we can have more granularity in what needs resetting than just "reboot core". for instance, we would like to minimize the number of times the window layout is redone by not doing it when the screen settings havent changed. HOWEVER, while I was writing this commit message, I realized, I should probably do it just by being more cautious in kicking off the layout (unless the data coming from the core has changed, a layout shouldnt happen). So I am going to make this commit, in case it inspires anyone, and then revert it.
2020-04-23 21:05:56 -04:00
adelikat
f097b91dcf
bk2 - simplify
2020-04-20 09:20:00 -05:00
adelikat
ba17c1fe2b
MovieSession - simplify gambatte name getting
2020-04-20 09:20:00 -05:00
adelikat
72c4e19183
MovieSession - hold on to a copy of the IEmulator instance, and use it instead of Global.Emulator
2020-04-20 09:20:00 -05:00
adelikat
91dd8c938e
MovieSession.QueueNewMovie - reduce dependencies
2020-04-19 14:18:09 -05:00
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
918fbe6367
fix Tastudio .tasproj loading broken in previous commits (this code is a mess), MovieSession - remove setter on Movie property
2020-04-18 15:37:43 -05:00
adelikat
4e3aa0eb15
move Bk2 -> TasMovie conversion logic from Tastudio to MovieSession, fix crashing when loading .bk2 movies from the tastudio menu
2020-04-18 14:50:25 -05:00
adelikat
7a77861896
Conisstently use MovieSession.StopMovie instead of stopping the movie directly, derefrence the movie on stopping instead of letting it hang around in memory
2020-04-18 14:50:25 -05:00
adelikat
1611ff3aef
IMovieSession - rename a property, add documentation
2020-04-18 14:50:25 -05:00
adelikat
fa552cab81
restrict access to IMovieSession.QueuedMovie
2020-04-18 12:05:16 -05:00
adelikat
dc9fa1acf3
movie code cleanup
2020-04-18 11:54:49 -05:00
adelikat
189a47ad3c
move more movie loading logic out of Mainform and into MovieSession and also some extension methods
2020-04-18 11:25:37 -05:00
adelikat
3ec6662dc9
move core preference setting shenangians from MainForm.StartNewMovie() to MovieSession
2020-04-18 10:55:41 -05:00
adelikat
9494243eef
add an IStatable extension method that can load a state directly from a byte array, reduces the stream creation boiler plate in a number of palces
2020-04-18 10:26:08 -05:00
adelikat
d50bf21da9
move some logic from mainform to moviesession, remove TasMovie check that makes no sense
2020-04-18 10:09:47 -05:00
adelikat
19095bb7e5
simplify
2020-04-18 09:55:57 -05:00
adelikat
9928a88d2c
simplify movieSession core preference shenanigans
2020-04-18 09:55:57 -05:00
adelikat
dfe7f8e3ab
refactor core preferences to be a dictionary<string, string> to be stored in config, and consolidate subnes and subgb into just another core selection
2020-04-18 09:55:57 -05:00
adelikat
b736d48911
use constants for core string names and simplify core core name getting logic
2020-04-18 09:55:57 -05:00
adelikat
eb3ddab060
Cleanup IMovieSession method names to be a bit more conscise
2020-04-16 12:25:42 -05:00
YoshiRulz
fa1c494ad8
Encapsulate input method, revive DirectInput, cleanup Input.Instance
2020-04-17 03:20:18 +10:00
adelikat
0aa8d71a3f
more MovieSession refactoring
2020-04-15 20:37:50 -05:00
adelikat
0d794f2b12
refactor MultitrackRecording to keep up with PlayerCount rather than use Globals
2020-04-15 18:06:31 -05:00
adelikat
5c5d662f1b
MovieSession cleanup
2020-04-15 14:41:57 -05:00
adelikat
c0fde42a0c
don't expose Bk2Controller, clients need to depend on an interface and rely on the Movie (well, MovieSession currently) to generate an IMovieController instance, since different implementations of IMovie need to be able to create their own controller implementations
2020-04-14 21:35:44 -05:00
adelikat
f2e52988c1
simplify some IMovieSession stuff
2020-04-14 21:23:47 -05:00
adelikat
189a2d7cfc
nitpick
2020-04-14 21:15:56 -05:00
adelikat
74f0cf4615
movie code cleanup
2020-04-14 21:11:53 -05:00
adelikat
ab7225c955
remove MovieSession convenience property that isn't that convenient anyway
2020-04-14 20:58:02 -05:00
adelikat
0d2f014621
refactor Bk2LogEntryGenerator to be stateless, refactor some IMovieSession shenangians
2020-04-14 20:50:21 -05:00
adelikat
cdfeda8b71
rename IMovieController methods and classes to better describe what they are
2020-04-14 20:10:50 -05:00
adelikat
919266d2dc
remove unused ctor
2020-04-14 20:02:10 -05:00
adelikat
aa80c3a0d6
majorly refactor Bk2Controller more
2020-04-14 19:33:49 -05:00
adelikat
2f750e8469
conslidate Bk2MnemonicConstants and Bk2AxisMnemonicConstants, rename to just Bk2MnemonicLookup
2020-04-14 19:08:51 -05:00
adelikat
f3534b99b9
rename file
2020-04-14 19:06:00 -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
03a7ea8438
IMovie.PopulateWithDefaultHeaderValues() - pass in dependencies instead of using Globals
2020-04-14 17:30:32 -05:00