Commit Graph

1048 Commits

Author SHA1 Message Date
adelikat d71ec20df7 IMovie - more usage of MnemonicsGenerator to communicate input 2013-12-03 15:22:13 +00:00
adelikat b80f5a07ea Communicate with IMovie via MnemonicsGenerator objects 2013-12-03 02:10:17 +00:00
zeromus a2b3201912 run filter intensity through Global.Config.TargetScanlineFilterIntensity 2013-12-03 01:52:36 +00:00
adelikat 56897e70a3 TasMovie.cs - implement some easy stuff 2013-12-03 01:43:02 +00:00
adelikat 1c22123da4 IMovie - refactor string GetTime() into TimeSpan Time, refactor accordingly, Fixing column size issues in Play movie dialog that was preventing the user from seeing the entire time without manually resizing. 2013-12-02 21:57:48 +00:00
adelikat 62db53d28c remove some unneeded things from IMovie 2013-12-02 19:54:10 +00:00
adelikat 0e6473987b Remove Rerecords from IMovie since it is a part of IHeader, therefore redundant and conceptually inappropriate. Also some low hanging fruit on implementing TasMovie.cs 2013-12-02 17:50:29 +00:00
adelikat db43c85715 put [Input] tags on MovieRecordList ToString() method. Make MovieRecordList store its own Guid to put inside the input tags 2013-12-02 14:59:38 +00:00
adelikat 075a1fb077 TasMovie.cs - more stubbing out of stuff 2013-12-02 04:24:45 +00:00
adelikat 3f79bbfd56 TAStudio - create a TasMovie object on load, start implementing some tasmovie things, if there is a move active, warn them that they will lose their work when they open tastudio. Swap global movie back to a regular movie on tastudio close 2013-12-01 22:29:38 +00:00
adelikat 1390b1a7e3 Start MovieRecord and TasMovie objects, they are just stubs right now 2013-12-01 20:55:52 +00:00
adelikat 9ab2be558c rip out existing tastudio logic and replace it with a skeleton project that does nothing 2013-12-01 04:00:02 +00:00
adelikat 316aa56ce9 Some more movie progress and fix exception thrown on startup 2013-12-01 01:55:41 +00:00
adelikat 2d51026883 some more movie cleanup - moving properties from Movie to MovieHeader since they are more appropriate there 2013-11-30 03:23:19 +00:00
adelikat e686e595b9 Refactor use of Movie Frame count - also fix play movie to show infinite movie's frame count as "Infinity" 2013-11-30 03:10:05 +00:00
adelikat 3eb3b41199 Some more movie code refactoring - better naming and less passing around writer objects 2013-11-30 02:50:54 +00:00
adelikat c95732ed31 Movie - don't expose the log directly, clean up, and remove StateVisualizer since I've given up on working on it! 2013-11-30 02:33:26 +00:00
adelikat 4cb01d8ed4 Finish up Movie Header refactor 2013-11-30 02:20:34 +00:00
adelikat ec11efb784 Round 1 of Movie Header refactor, make a IMovieHeader, and a static class HeaderKeys, simplify MovieHeader a ton as a result 2013-11-29 23:18:46 +00:00
adelikat a8b355c7d2 Movie - movie SubtitleList object into the Header object 2013-11-29 20:26:24 +00:00
adelikat 29a0fa49f8 Simplify IMovie and refactor some code to allow that, this also disables more functionality in TAStudio but it is disabled in trunk currently anyway (pending a rewrite). Also a bunch of pedantic code cleanup in tool dialogs 2013-11-29 19:55:05 +00:00
adelikat 0ed9d832c7 Trace Logger - some code clean up, some tiny speedups, and implement a few small tweaks like Always on Top, and Select All 2013-11-29 00:35:05 +00:00
adelikat d6954e4209 Ram WAtch and Hex Editor code cleanup 2013-11-28 22:06:38 +00:00
adelikat d37f186107 Hex Editor - a bunch of clean up, refactoring, rethinking of stuff, and some slight bug fixes 2013-11-28 20:02:32 +00:00
adelikat 27cc689176 Merge r5447 to trunk 2013-11-27 21:45:50 +00:00
adelikat 788aea970e Lua Console - when removing a script, remove its registered function. Currently however, this behavior will only happen if the script is currently running. If you disable it and then remove it, the functions remain. 2013-11-26 01:21:24 +00:00
adelikat 3d48a0b39e Lua Console - fix behavior of Save Changes nag, fix deleting of items 2013-11-25 23:38:10 +00:00
adelikat 5bbed4a58f Fix behavior of Movie Up/Down in tool dialogs 2013-11-25 23:24:26 +00:00
adelikat 92c34c8c2d Refactor Lua Console code to move most of the logic to a custom LuaFile list object. Also fix number of bugs in the process 2013-11-25 21:01:38 +00:00
adelikat 7b244cc87c Lua Console - a round of code cleanup. Some small fixes happened as a result of this cleanup 2013-11-25 00:44:18 +00:00
adelikat a7a28c000a Some low-hanging fruit in the IMovie refactor 2013-11-23 18:18:58 +00:00
adelikat 1372fa258f Start an IMovie interface as a first step towards a major movie object refactor. Also disable TAStudio, in preparation for a complete rewrite. Disabling is necessary because a lot of movie functionality will be ripped out that will render the tool useless for now. 2013-11-23 17:26:33 +00:00
adelikat e5d5a4ec90 Fix Post-Movie loadstating 2013-11-23 00:13:36 +00:00
adelikat 7a1f28b5a9 A fix to PathManager, get the executable path, not the dll path 2013-11-20 20:10:10 +00:00
adelikat df622ec9f1 Ram Watch - clode cleanup 2013-11-20 01:17:01 +00:00
adelikat 5fb8ceb377 Fix a bunch of exceptions in Path Config dialog 2013-11-16 22:42:07 +00:00
adelikat 51f340fa76 Play Movie Dialog - add Fps and Frame count to the Details grid 2013-11-16 21:49:47 +00:00
adelikat ef79dccc43 refactor how movies are calculated to separate framerates into a dictionary 2013-11-16 21:05:59 +00:00
adelikat bc3576eddb Move PathEntry and PathEntryCollection to a separate file 2013-11-16 17:59:09 +00:00
adelikat 79b2e03d84 Previous commit was a lie, it implemented ICollection instead, therefore change the name of the object to CheatCollection 2013-11-16 16:30:20 +00:00
adelikat a4d3e68f66 Implement IList on CheatList object 2013-11-16 16:24:45 +00:00
adelikat 39ca14dda1 WatchList object - implement IList (previously only implemented IEnumerable but already had most of the IList methods anyway) 2013-11-16 16:17:19 +00:00
adelikat 611e21dd47 Ram Search - fix behavior of Restore Default settings 2013-11-16 15:03:37 +00:00
adelikat ba876d9765 Ram Search - default to unsigned for N64 and GBA, not float. Float as the default wasn't supposed to make it into a release. 2013-11-16 04:29:43 +00:00
adelikat ad848c5e96 Fix bug in MovieHeader that throws an exception in the Play Movie dialog if a movie with Board Properties is loaded (this is just a work around to a problem caused by a bad design!) 2013-11-15 16:52:29 +00:00
adelikat 7e45f13282 Change project name BizHawk.Emulation to BizHawk.Emulation.Cores 2013-11-15 14:05:47 +00:00
adelikat f3344863ac When loading a ram watch file, default to main memory when unable to find the domain saved in the file 2013-11-14 19:39:57 +00:00
adelikat c076931d0c clean up NES namespace 2013-11-14 13:15:41 +00:00
adelikat 9266cafd2a Another round of BizHawk.Emulation namespace changes 2013-11-13 23:36:21 +00:00
adelikat dd3df013fb cleaning up some Bizhawk.Emulation namespaces 2013-11-13 03:32:25 +00:00
adelikat 5d65b0ef77 implement Lua - event.onmemoryexecute(), currently only works with the NES core 2013-11-12 01:51:07 +00:00
adelikat fb78215590 Lua - Implement emu.getregister() and emu.getregisters(). Only implemented in NESHawk right now 2013-11-11 03:20:33 +00:00
adelikat 2e51e7ad4f Registered Lua Functions dialog - fix so Remove removes MemoryRead/Write events, add a Remove All button 2013-11-10 21:56:02 +00:00
adelikat e7a481e6c4 Lua - OnMemoryRead() and OnMemoryWrite() - support multiple events, hook to the registered functions system, add ability to name function, return a GUID. 2013-11-10 21:20:55 +00:00
adelikat ded77beb65 Lua - OnInputPoll() - hooked up to the registered lua functions system 2013-11-10 19:19:58 +00:00
adelikat ea24f236fb Lua - event.OnInputPoll() - allow multiple functions to be registered 2013-11-10 18:15:32 +00:00
adelikat 28a73c8174 move GetEmuVersion() to VersionInfo and refactor a whole bunch of stuff as a result 2013-11-10 02:55:11 +00:00
adelikat bc34dfe932 move controller default logic from controller config winform to client.common config object and hook it back up to the client 2013-11-09 01:12:46 +00:00
adelikat 03e9381adc Clean up assembly info stuff in all projects 2013-11-08 15:56:58 +00:00
adelikat 2e32c22c00 set up subwcrev stuff to client.common, and set up assembly info for it, and fix assembly info for emuhawk 2013-11-08 15:34:47 +00:00
adelikat 9dbcfdffd1 oops, forgot to check this in 2013-11-07 22:56:10 +00:00
adelikat 0adffa65c1 Use ToHexString() extension is more places 2013-11-07 18:15:17 +00:00
adelikat 085719bf44 Fix lua 2013-11-07 17:49:00 +00:00
adelikat 121cd4fb58 Oops, throttle is not a good thing to put into Client.Common, it has window specific things 2013-11-07 17:11:08 +00:00
adelikat 6f1090c87f refactor cheatlist and watchlist to use MemoryDomain name indexing 2013-11-06 02:25:27 +00:00
adelikat 1061add64f Refactor MemoryDomains in IEmulator, make a MemoryDomainsList object rather than IList<MemoryDomain>, remove MainMemory from IEmulator and make it a property of this new collection object, also add indexing by name. Refactor cores and tools as needed 2013-11-06 02:15:29 +00:00
adelikat 6f29976e9d Cheats - fix bug where compare is 0 when clicking a cheat with a null compare value, refactor CheatList.Add() to be upsert logic 2013-11-05 23:14:22 +00:00
adelikat 92f8f9982c When adding a cheat, if it already exists, update the existing instead of doing nothing! 2013-11-05 19:53:49 +00:00
adelikat 4aae8a1311 Cheats - implement editing (oops, it was released without it!), fix value display (was showing the actual ram value, not the cheat's override value), don't flag changes if erroneously adding an existing cheat. 2013-11-05 19:33:06 +00:00
adelikat 9bbd8a07a6 fix an oops in last commit, and fix adding cheats via Cheats cheat form 2013-11-05 17:07:34 +00:00
adelikat 5c22d7433c Cheats - fix insert separator 2013-11-05 16:53:24 +00:00
adelikat 2da8696b8d fix some cheat related things I broke when refactoring it 2013-11-05 15:36:18 +00:00
adelikat 29dffc9bca fix some false Ask to save changes nagging done by the cheat form 2013-11-04 21:02:36 +00:00
adelikat 56cb2ba538 Refactor CheatList and Cheats to have changed event handlers, and have the client wire up an event handler to update all the relevant dialogs. 2013-11-04 15:52:59 +00:00
adelikat bc5807a07c move a search extension out of RamSearchEngine into the extensions class in BizHawk.Common 2013-11-04 02:18:40 +00:00
adelikat be547db4a1 Move MemoryDomain to its own file, and move the Endian enum into it, also clean up the class a bit, and refactor things as necessary 2013-11-04 02:11:40 +00:00
adelikat 9751fd5a1a Move interfaces and base implemenations from emulation to emulation.common 2013-11-04 01:39:19 +00:00
adelikat 026072ee68 moe IPS.cs from Emulation to Client.Common, until it is needed by cores 2013-11-04 01:17:59 +00:00
adelikat 348171bdc5 start Emulation.Common project and move the Emulation/Database folder files to it 2013-11-04 01:06:36 +00:00
adelikat 7b03fc0bc0 Move Buffer.cs and Util.cs from BizHawk.Emulation to BizHawk.Common, and add 1234832983 usings 2013-11-04 00:36:15 +00:00
adelikat fe7da7c5b5 move disc stuff out of BizHawk.Emulation into a new project BizHawk.Emulation.DiscSystem, updated namesspaces in those files, set up other projects with the right references and usings 2013-11-03 23:45:44 +00:00
adelikat ed5cfe39a6 1.5x and trunk - fix scrub input hotkey, on trunk a slight refactoring now that more things are in client.common 2013-11-03 16:53:05 +00:00
adelikat 3843acb2d9 Move some stuff to Client.COmmon 2013-11-03 16:47:21 +00:00
adelikat fd89c0cff4 trunk and 1.5x branch - turn off rewind for "medium" states, as SNES problems still occur with default settings and it isn't worth it, also change the default rewind frequency to 4 (if the user does turn it on, this frequency still gives smooth rewind) 2013-11-03 16:23:47 +00:00
adelikat 26ffd9f4e3 EmuHawk - don't use PathManager to resolve the exe directory during main now that it is in a dll, it can find its own path itself 2013-11-03 16:05:49 +00:00
adelikat cd856a0011 move output folder up one level 2013-11-03 14:06:46 +00:00
adelikat af58a07889 Rename Bizhawk.MultiClient to BizHawk.Client.EmuHawk including namespaces and projects. Rename executable to EmuHawk.exe 2013-11-03 03:54:37 +00:00
adelikat 187e169de9 a round of cleanup on MianForm.cs, and an attempt to start organizing methods and variables to make it easier to pull out logic in future refactoring 2013-11-03 02:51:21 +00:00
adelikat 1525f4a4bd oops 2013-11-02 01:59:48 +00:00
adelikat b3b21abe08 Move NES lua library to Client.Common 2013-11-02 01:56:00 +00:00
adelikat f7138e6514 move NES game genie encoding/decoding logic into specialized classes in client.common and refactor the dialog and lua functions accordingly 2013-11-02 01:48:35 +00:00
adelikat ea2df2e91b move snes lua library to common 2013-11-01 23:49:44 +00:00
adelikat d902981f54 move some FirmwareManager things to client.common 2013-11-01 23:17:30 +00:00
adelikat a3e306e18d Move joypad lua library to common, and move some stuff to Global in order to do so 2013-11-01 22:56:55 +00:00
adelikat 0eaf6bd33c a fix to GetExeDirectoryAbsolute() that was breaking path generation 2013-11-01 22:37:05 +00:00
adelikat f3bb7421ed detangle and move some savestate code to client.common 2013-11-01 20:53:47 +00:00
adelikat 80c6ecb57a Rename SavestateManager to SaveSlotManager since that is more precisely the job it does. 2013-11-01 19:55:03 +00:00
adelikat 3cda83c2bc Move a bunch of logic from MainForm.Movie.cs to MovieSession.cs which is more conceptually appropriate, this also means that movie handling logic (including complex movie loadstate logic) is moved to Client.Common 2013-11-01 18:52:26 +00:00
adelikat d391d275ef Move Movie lua library to client.common, and some refactoring necessary to do so 2013-11-01 15:43:15 +00:00
adelikat fe9d8ed881 refactor - move readonly flag from MainForm.cs to Global.cs 2013-11-01 15:35:30 +00:00
adelikat a8079f5170 port some lua libraries to client.common 2013-11-01 14:51:51 +00:00
adelikat 3324759799 move some lua files to client.common 2013-10-31 23:55:17 +00:00
adelikat d7d83c9275 move event library to its own object, slight tweak to anonymous function name, double clicking on registered functions dialog invokes the method clicked 2013-10-31 16:58:56 +00:00
adelikat b2c2de2064 lua related code cleanup 2013-10-28 20:57:25 +00:00
adelikat 8b30b4290a Cleanup of Lua stuff - rename LuaImplementation to EmuLuaLibrary, broke all the lua library functions into separate files by library, move nested classes to their own files in client.common 2013-10-28 19:13:01 +00:00
adelikat 8b173a26f4 2013-10-28 13:48:17 +00:00
adelikat 4dcbd554d3 tiny code cleanup, nothing useful here 2013-10-28 02:11:24 +00:00
adelikat d864929ad4 Add Subtitle Form - fix bug where Y wasn't being saved. SubtitleList - refactor to inherit List<Subtitle> and extend with the 2 useful methods it has beyond basic List functionality. 2013-10-28 01:31:30 +00:00
adelikat 48ffc8b9fb clean up multitrack object 2013-10-28 01:06:51 +00:00
adelikat bef10dc175 clean up movie saving, dont' pass around a streamwriter 2013-10-28 01:04:38 +00:00
adelikat 21bab46674 oops, but it shouldn't have to do this... 2013-10-28 00:47:12 +00:00
adelikat 795c624ab2 some simplifying of movie code 2013-10-28 00:44:01 +00:00
adelikat dfa37303bc Rip out crusty sorting code from Movie.cs and have the UI do it in LINQ instead 2013-10-28 00:21:00 +00:00
adelikat 9b846f8613 simplify some movie code, couple minor tweaks to the add subtitle form 2013-10-27 22:13:08 +00:00
zeromus 0acbb11e97 move HawkFile to BizHawk.Common along with a small web of dependencies and then add "using BizHawk.Common" to 100 files 2013-10-27 22:07:40 +00:00
zeromus ee70aefd3a lay some groundwork for decoupling HawkFile from 7z. not actually reorganized yet, but we can let it gestate for a while and it will be simple to move HawkFile to Bizhawk.Common when someone needs it 2013-10-27 21:29:18 +00:00
adelikat dd4bc8dd59 Move MovieImport.cs to Client.Common 2013-10-27 18:18:58 +00:00
adelikat 79a9e7cdc4 more warning cleanups including some bad configurations in client.common and pcedebugger projects 2013-10-27 18:01:36 +00:00
adelikat 9473f6840b Client.Common code refactoring and some misc things to do 2013-10-27 17:47:54 +00:00
adelikat 3f410a771c small code cleanups and deal with some warnings 2013-10-27 17:07:37 +00:00
adelikat 7e49c9457d Move stuff from GlobalWinF to Global 2013-10-27 16:26:37 +00:00
zeromus fa40ae718f reapply edits and cleanup 2013-10-27 07:54:00 +00:00
zeromus 11dbb0e1c8 reapply moves with merge tracking 2013-10-27 07:52:20 +00:00
zeromus 179dbd4124 revert back to r5156 2013-10-27 07:45:59 +00:00
adelikat c5b2f284b5 Starts some mainform code cleanup, and add some menu tweaks: loadstate submenu - disable non-existent slots, savestate submenu - bold slots that already have savestates saved to them 2013-10-26 15:57:43 +00:00
adelikat cf6e72aad4 Move controller binding to client.common, and some global stuff 2013-10-25 17:14:24 +00:00
adelikat 40f143e4ad move xmlgame to client.common and refactor it a bit in order to achieve that 2013-10-25 17:08:18 +00:00
adelikat 0edfc03e34 fix SaveStateManager, oops. Also move BinarySavestate to client.common 2013-10-25 16:53:34 +00:00
adelikat 3e429736d5 Move PathManager and SavestateManager to Client.Common, also remove the dependency for System.Web in PathManager by doing a more logical way of getting the executing assembly path 2013-10-25 16:00:34 +00:00
adelikat aa9bfa8e99 Move RamSearchEngine to Client.Common 2013-10-25 15:44:41 +00:00
adelikat f72303f326 Move watchlist to common 2013-10-25 13:27:20 +00:00
adelikat 46a888e6d4 Remove some 7z Test files that are now no longer needed 2013-10-25 12:52:53 +00:00
adelikat 3008020a4b fix 7z loading 2013-10-25 03:04:27 +00:00
zeromus 6616a75cfb etc 2013-10-25 00:59:34 +00:00
zeromus 249ddea268 revert to pre-refactor state. its a WIP, dont judge 2013-10-25 00:34:01 +00:00
adelikat 28023e8882 Fix debug mode of Client.Common 2013-10-24 23:46:46 +00:00
adelikat 5ee6ffabe0 Move RomGame to client.common and set common to allow unsafe code 2013-10-24 23:24:46 +00:00
adelikat f1089e214c Move 7z stuff and HawkFile to client.common 2013-10-24 23:04:29 +00:00
adelikat 80f0c75a41 Movie MovieSession to Client.Common 2013-10-24 22:26:28 +00:00
adelikat 11d2997db7 Refactor movie to get out all the client specific code, the solution usually was to move code into the tool that was calling it since the function itself had little to do with the movie object, move the movie object to client.common 2013-10-24 21:44:12 +00:00
adelikat 1b6b53f687 move some more movie classes to Client.Common 2013-10-21 21:55:19 +00:00
adelikat bce6ec3dd6 add some movie related objects to client.common, and refactor some things too 2013-10-21 01:50:58 +00:00
adelikat f04efe0294 Move Firmware manager classes to Client.Common 2013-10-21 00:48:20 +00:00
adelikat 774702f1ba Client.Common - move files around and break the binding classes into their own file 2013-10-21 00:39:30 +00:00
adelikat 2f7df4a776 some Client.Common Code cleanup 2013-10-20 18:21:51 +00:00
adelikat 59386b59f1 Move Cheat and CheatList to Client.Common and refator a bunch of things as a result 2013-10-20 18:02:43 +00:00
adelikat 597540aadd more project stuff 2013-10-20 16:38:44 +00:00
adelikat 6c54faa7ab Rename Client.Core to BizHawk.Client.Common, and change all namespaces, reorganize some files, remove the LuaHawk project as it was a bad idea, change namespace in the PCE_Debugger project 2013-10-20 16:19:59 +00:00