Commit Graph

5067 Commits

Author SHA1 Message Date
adelikat 024e005884 Multiclient - Created a ToolManager class to manage winform tools and simplify and unify basic functions such as UpdateValues and Restart. Also smartly creates and disposes the tools intelligently, which minimizes ram usage on start up. For instance, calls to UpdateValues() don't create an instance of the object. Also, the instance of ToolManager is a Global instance called Tools, as opposed to all the tools being public fields on Mainform. Also, created IToolForm interface that all tool dialogs must implement. Refactored Ram Watch to use this new system. 2013-11-02 19:28:45 +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 a11019ee6c Fix bugs in things that use HexTextBox, and some bugs that made the Encoder part of NES GameGenie Encoder/Decoder not work 2013-11-02 00:44:55 +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 380fc781e3 Lua - implement client.paint() 2013-11-01 15:47:37 +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 2d643f78b1 rename lua functions that have changed in all checked in lua scripts 2013-11-01 15:19:35 +00:00
adelikat a8079f5170 port some lua libraries to client.common 2013-11-01 14:51:51 +00:00
adelikat c7fbcbca40 do away with LuaCommon.cs 2013-11-01 00:06:32 +00:00
adelikat 3324759799 move some lua files to client.common 2013-10-31 23:55:17 +00:00
adelikat ae34ccce0a move the gui library to its own function (all libraries are separate objects now!), add lua function: gui.clearGraphics() 2013-10-31 18:43:01 +00:00
adelikat 4bb60ec8c9 move emu library to its own object, remove emu_onsnoop (should use event library instead), moved many multiclient only functions into the client library instead (todo: document those) 2013-10-31 18:09:40 +00:00
adelikat 1cd62c2df1 slight fix to print method 2013-10-31 17:19:07 +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 092b87e267 forms library made into its own object 2013-10-31 16:45:08 +00:00
adelikat 21a21ac7b7 make savestate library its own object, also removed savestate.registersave and savestate.registerload (users should now use the events library instead). Todo: update documentation and remove references to these in any checked in lua scripts that might use them 2013-10-31 16:20:45 +00:00
adelikat 18f0704a7c turn memory lua libraries into their own objects 2013-10-31 16:10:20 +00:00
adelikat 6db76dd265 Make some more lua libraries into their own objects 2013-10-31 13:07:42 +00:00
adelikat 6e3d55372f a better way to set up lua libraries, including a proof of concept for callbacks (in this case passing in a method for logging to an output window, but there can be other applications as well) 2013-10-31 00:31:25 +00:00
zeromus 0db498ae58 add some new palette file for NES someone wanted 2013-10-30 08:11:09 +00:00
adelikat fcfdf1ac40 Make some more lua libraries into their own objects 2013-10-29 16:03:06 +00:00
adelikat 3e1c28f26c Lua - Refactor bit library to be its own class, proof of concept for the remaining libraries 2013-10-29 13:52:59 +00:00
adelikat 5e8947a094 oops 2013-10-28 21:34:55 +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 620070fdb6 remove useless .tools namespace and references to it 2013-10-28 13:54:20 +00:00
adelikat 38d9248742 really delete LuaText 2013-10-28 13:50:18 +00:00
adelikat 8b173a26f4 2013-10-28 13:48:17 +00:00
adelikat bc5a563d3f fix compile error for visual studio 2010 in pce_debugger project, and remove it from the solution file since we aren't using it and I don't want to have to fix random problems like that (left the project and files in SVN) 2013-10-28 13:23:24 +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