Commit Graph

16443 Commits

Author SHA1 Message Date
alyosha-tas 5238d660cd Vectrex: new display method, looks much better 2020-04-18 15:42:10 -04:00
adelikat 6d699012a6 disable record movie dialog if core needs rebooting, fixes bug of recording the wrong sync settings into the movie and causing a crash 2020-04-18 13:00:26 -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 2a9710b63c movie some video provider movie logic into an extension method 2020-04-18 10:49:15 -05:00
adelikat 892185d2fd remove useless virtualpad restart in StartNewMovie, tools are already restarted by design 2020-04-18 10:36:42 -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 a460846ff8 Tastudio - account for an unlikely edge case NRE where right button held is true but mouse is outside of the control 2020-04-18 10:23:10 -05:00
adelikat 2a2ddde277 MainForm - disable recent movie menu item when tastudio is active 2020-04-18 10:17:14 -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 3940187800 Nes - Core menu - add subneshawk 2020-04-18 10:03:11 -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
alyosha-tas 0d2daa24d5 O2Hawk: fix DJNZ, fixes kill the attacking aliens 2020-04-17 22:09:23 -04:00
alyosha-tas 8e7467f77b O2Hawk: fix collision detection 2020-04-17 18:52:45 -04:00
alyosha-tas 0e7e93b205 O2Hawk: various bug fixes 2020-04-17 18:38:44 -04:00
adelikat f090d75c9d use Emulator.IsNull 2020-04-16 12:25:42 -05:00
adelikat eb3ddab060 Cleanup IMovieSession method names to be a bit more conscise 2020-04-16 12:25:42 -05:00
adelikat 3f1ef8dd4d add a IMovieSession property to ToolFormBase and use it 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 3953b1de5a use desired property for checking for a queued movie 2020-04-15 16:09:34 -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 cc15bb2841 fix some object churning when input display is on 2020-04-14 17:47:49 -05:00
adelikat 03a7ea8438 IMovie.PopulateWithDefaultHeaderValues() - pass in dependencies instead of using Globals 2020-04-14 17:30:32 -05:00
adelikat ce4037fad8 cleanup PopulateWithDefaultHeaderValues() 2020-04-14 17:15:46 -05:00
adelikat 2b17c6d310 simplify some LogGenerator code 2020-04-14 16:44:37 -05:00
adelikat 831621b864 remove some unused code 2020-04-14 16:25:28 -05:00
adelikat 017573f4c6 IStringLog - remove unused method 2020-04-14 15:57:55 -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