Commit Graph

351 Commits

Author SHA1 Message Date
adelikat 7417ea7b8f Lua - more documentation and more strong typing of parameters, more fixups to display of parameter types in the Lua functions list 2014-01-27 03:16:05 +00:00
adelikat ce9f282d67 Lua - clean up a lot of params by making them strongly typed numbers instead of object, and simplify a lot of logic as a result 2014-01-27 01:15:56 +00:00
zeromus 055c08179f reorganize some dlls into References directory, im tired of seeing all these things in the project root 2014-01-27 01:11:39 +00:00
adelikat 157f092aa2 Lua clean up Bit and Client libraries by using strongly typed numbers as a proof of concept that we can 2014-01-26 20:36:00 +00:00
pasky1382 c6811542fa Added a couple lua descriptions 2014-01-26 20:05:56 +00:00
adelikat 853c82d111 Lua Functions list - make params look pretty, including strongly typed variables when possible 2014-01-26 20:05:45 +00:00
adelikat 70feebf229 Add documentation to as many lua function as I can sanely do in one sitting 2014-01-26 18:36:27 +00:00
adelikat 91fdad9d45 LUa - whack now unused code 2014-01-26 16:21:20 +00:00
adelikat bce8320b85 Lua - new Register method on some more libraries 2014-01-26 13:30:45 +00:00
adelikat 583be2516c Lua - new registration system added to NES and SNES libraries 2014-01-26 03:26:52 +00:00
adelikat ac9e4c1d3d Lua - same to movie library 2014-01-26 02:50:26 +00:00
adelikat 988ed03198 ditto for Memory library 2014-01-26 02:43:28 +00:00
adelikat 94d20e92f4 Lua - new register system for Main Memory library and a bunch of cleanup for that lib 2014-01-26 01:48:32 +00:00
adelikat c6859a6d4f Lua ditto for joypad library and slight fix documentation 2014-01-26 00:01:40 +00:00
adelikat ee79c55009 oops, forgot to add this new file 2014-01-25 21:46:20 +00:00
adelikat c66e529fb7 lua - ditto to Events library 2014-01-25 21:37:25 +00:00
adelikat 65d50ca329 Lua - refactor emu library to use the new registration method, documentation is all "TODO" 2014-01-25 21:10:51 +00:00
adelikat 06c0417f96 some Lua documentation related cleanup and support column sorting on Description in Lua Functions list 2014-01-25 20:27:51 +00:00
adelikat e22227160d show descriptions in Lua functions list 2014-01-25 20:04:26 +00:00
adelikat ee1cea5d08 Lua - even better way to build lua libraries, now methods will have attributes for the name, and description of each method. Someone needs to put in descriptions now. Bit library is the only one done as of this commit 2014-01-25 19:49:29 +00:00
adelikat 4701b319be Lua - add a new way to do reflection to get method names, now the function list simply needs to match the method name, and the method name does not need to redundantly specificy the library name. Only the Bit library hooked up currenlty. 2014-01-25 15:05:53 +00:00
mvl1986 0a494c386e LuaConsole now updates when a new Luascript is saved in the LuaWriter.
LineNumbers can now be shown in the Writer, only updates when a selectionchanged event occurs, not on the scrolling of the screen.

Option to toggle LineNumbers on and off

-MightyMar
2014-01-24 12:44:55 +00:00
adelikat e3d26fc2e7 MOvie LibRetro files from Emulation.Common to Emulation.Cores in preparation for moving some other things too. In RomLoader don't do HardReset() on the C64 core 2014-01-21 23:54:30 +00:00
pasky1382 4012f93f31 Added bit.clear() bit.set() to lua, and LuaULong() 2014-01-21 17:28:54 +00:00
adelikat 74b88584be Ram Watch/Search - fix bug where signed and unsigned are saved backwards 2014-01-21 00:21:19 +00:00
pasky1382 033620a478 Cleanup and added byteswapping functions for lua. 2014-01-20 17:38:31 +00:00
pasky1382 bff34dd379 Cleanup. 2014-01-20 17:15:30 +00:00
pasky1382 90d8aedbd5 forgot a function. 2014-01-20 17:07:48 +00:00
pasky1382 08504fc25a Added more string lua functions 2014-01-20 17:06:09 +00:00
pasky1382 83591cda67 Oops 2014-01-20 15:26:44 +00:00
zeromus 3ab8e60d1b add FloatingWindow concept to RamSearch tool, which lets you control how it sorts along with the main emuhawk window. it's not entirely ordinary for this to be controllable, but it should certainly be appreciated 2014-01-20 05:14:36 +00:00
zeromus 7a07a910f8 temporarily fix build by removing lua string library which has a missing file 2014-01-20 05:13:43 +00:00
pasky1382 1a0e98b7ad Lua bit.checkbit() function, returns if a specified bit is on/off. 2014-01-19 17:42:21 +00:00
pasky1382 2d169cdb7d added LuaLong function 2014-01-19 16:58:21 +00:00
pasky1382 a2dd821474 Added new EmuLuaLibrary.String, contains decimal to hex string and binary string. 2014-01-19 16:36:43 +00:00
goyuken 7668b15052 add a new tool to mainform, the batch runner. it's only enabled in INTERIM. it allows you to mass instantiate a bunch of emu cores and look for failure to load or exceptions on frame advance. it doesn't do all that much, but can easily be extended if any other devs are interested in it 2014-01-15 02:16:06 +00:00
adelikat 864d3ede2f Nitpicky cleanups on movie 2.0 code 2014-01-11 15:05:41 +00:00
adelikat 7394cfd33f More reorg 2014-01-10 23:14:36 +00:00
adelikat c0295316f5 Some Movie 2.0 reorg 2014-01-10 23:08:56 +00:00
adelikat 0164db5532 Remove a no longer needed file 2014-01-10 22:56:59 +00:00
adelikat 34fd1ec10a Movies 2.0 - fix some stuff 2014-01-10 02:01:57 +00:00
adelikat 128f81bbb0 oops 2014-01-10 01:18:19 +00:00
goyuken 1f1bb93360 quicknes: some settings stuff, not all finished 2014-01-09 23:50:10 +00:00
adelikat 15d0e1adb6 TasMovie - round 1 of replacing mnemonic system with an IMnemonicGenerator system, this breaks stuff, but nothing anyone should have been using. 2014-01-09 02:17:59 +00:00
adelikat 2f28317f92 A round of code cleanup 2014-01-08 03:53:53 +00:00
adelikat 983346af38 support quicknes in lua nes.addgamegenie() and nes.removegamegenie() 2014-01-07 01:43:31 +00:00
goyuken 9546d11f40 quick and dirty core selection setting for NES 2014-01-07 00:34:40 +00:00
adelikat 86024d2347 new movie mnemonic generators - some more baking of ideas, a basic mockup of NES done. Note: none of this is hooked up to anything yet 2014-01-06 22:28:53 +00:00
adelikat 4ba9f332f5 Fix error message when failing to find the PCE Bios file 2014-01-06 17:49:05 +00:00
adelikat ef79734170 movies - start another rewrite of mnemonic generation 2014-01-06 03:59:00 +00:00
goyuken b85d9d9d91 WARNING: use NES core only at low volume and no headphones 2014-01-05 20:58:36 +00:00
goyuken 0997e80017 boop 2014-01-03 02:40:17 +00:00
adelikat a519ae025f This should have fixed genesis mnemonics to be 2 player 2014-01-03 02:29:42 +00:00
adelikat b67e97f9aa Ram Search - fix change count logic and previous value as previous frame 2014-01-02 17:56:57 +00:00
goyuken 5fa141b3ef pathmanager: ad hoc support for unknown systemIDs, which are all labeled as INTERIM 2014-01-02 02:18:16 +00:00
adelikat 6252c58a3f Ram Search - don't attempt to binary search if the list is not sorted! This fixes exceptions thrown when using column click. The consequence is that preview mode is significantly slower after sorting by anything other than Address ascending, only really impacts large domains such as N64 domains 2014-01-01 21:56:35 +00:00
goyuken 8ed0265c9d remove a bit of hackish stuff in the new RomLoader by offloading mainform-appropriate work back to mainform 2014-01-01 21:24:58 +00:00
adelikat 377ab3b4ea Fix Hex Editor to show cheat value on frozen addresses, and some fix ups in misc bugs that also contributed to this problem. Note: hex editor still will show some dubious behavior when viewing in one byte size and having cheats in another, that kind of mess will have to be sorted out in another commit 2014-01-01 03:19:08 +00:00
goyuken a399dbe91e NES: Move boardproperties into movie 2.0 syncsettings objects, and add a rudimentary UI for changing them 2014-01-01 03:03:10 +00:00
adelikat 57f62d13f1 RamSearchEngine - tiny code cleanup using Enumerable.Repeat because I just learned of it and it is nifty 2013-12-31 20:41:42 +00:00
adelikat f195416713 Ram Search - when creating a new list, allocate the list to number of addresses to be added, not the size of the domain (meaning, factor in the byte size and CheckMisAligned settings). 2013-12-31 16:59:38 +00:00
zeromus 436881beaf lua: better typecasting for LuaInt and LuaUInt that doesnt throw overflow exceptions; and, render to a null image when the lua script manager Resume process hasnt begun (setting up a render target) but lua scripts run (due to loadstate, for example) 2013-12-30 16:36:15 +00:00
goyuken a1c0a1956b fix compile error 2013-12-30 02:42:00 +00:00
adelikat 7482cfdc5e a round of code cleanup in Client.Common 2013-12-30 01:58:44 +00:00
adelikat 16f7c7fcdc A round of code cleanup on Rewind and some other misc things in Client.Common 2013-12-30 01:17:11 +00:00
adelikat 134783ff36 a round of code cleanup on RomLoader 2013-12-29 23:54:40 +00:00
goyuken 4ccc31da44 cleanup of removed items in config, corecomm 2013-12-27 22:26:59 +00:00
goyuken 75d39ac60f SNES: connect to new settings system.. everything should work? 2013-12-27 17:59:19 +00:00
adelikat 098fca2895 Ram Search - make manual removal of addresses undo-able, slight cleanup of Start method 2013-12-27 16:48:47 +00:00
adelikat 2d51ac5d13 Move a function from mainform to moviesession 2013-12-27 14:39:01 +00:00
goyuken a005767463 random cleanup 2013-12-27 04:41:50 +00:00
goyuken e3165459d8 saturn to new settings system 2013-12-27 03:02:28 +00:00
adelikat f122105b42 oops, put Rewinder in Global not GlobalWin 2013-12-27 01:19:38 +00:00
adelikat b5d3f68126 Move rewind code to client.common 2013-12-27 01:14:17 +00:00
goyuken 2171d4cd00 n64: support new settings system. regression: n64 video plugin settings are no longer stored in movie 1.0 files nor read from them 2013-12-26 23:04:22 +00:00
goyuken 9fe0525746 settings load cleanup 2013-12-26 20:19:28 +00:00
adelikat c23a61e0e6 Merge natt's sync setting changes back, some ugliness needs to be cleaned up 2013-12-25 19:47:44 +00:00
adelikat db5684b4db Create a RomLoader object in Client.Common and port over a bunch of code from EmuHawk. Still a lot of refactoring, and probably more logic can be moved to common, and things need cleanup, and there is possibly bugs.
This commit breaks coleco rom loading, to settle a merge conflict with the previous commit
2013-12-25 19:09:53 +00:00
goyuken cff6a517f5 coleco to new settings system 2013-12-24 23:32:43 +00:00
adelikat e711a6ec6f Move SwapBackupSavestate() from EmuHawk.Mainform to Client.Common.SaveSlotManager 2013-12-24 22:20:18 +00:00
adelikat dd63395f67 move some stuff from EmuHawk to Client.Common 2013-12-24 21:59:41 +00:00
adelikat 302e71edc3 Rework some input stuff in preparation for moving it to common 2013-12-24 21:37:51 +00:00
goyuken 82c82b681a connect a26 to the new settings setup. unlike all those before it, the menus have changed a bit, but all of the functionality is still there. in movie 2.0, a26 will store the two difficulty switches and the bw\color switch as syncsettings 2013-12-24 20:50:53 +00:00
goyuken bdfbafdfca SMS: support new settings infrastructure. this adds enableFM and allowOverclock as sync relevant settings for movie files (but of course, they won't end up in Movie 1.0 files) 2013-12-24 01:06:17 +00:00
goyuken 50e3691181 new setting system: misc cleanup 2013-12-23 21:54:10 +00:00
goyuken 2558e76b5d fix rewind on N64, gpgx.debug 2013-12-23 20:34:02 +00:00
goyuken d37796ab1c more new core config framework; this time GAEMBOY 2013-12-23 02:51:41 +00:00
goyuken f992672051 NES add sound volume settings to config object 2013-12-22 21:47:16 +00:00
goyuken 0347fc5eef core settings stuff etc 2013-12-22 20:41:21 +00:00
adelikat 4584b0a054 Path Config - fix defaults button, remove "DEBUG" tab and some code cleanup 2013-12-22 18:36:27 +00:00
goyuken 0cd5af1843 rework NES palette config in new core config system 2013-12-22 06:55:34 +00:00
goyuken a5cdee3780 pce: connect to new settings system 2013-12-22 05:58:24 +00:00
goyuken 0b8adc6113 fix some massively fubar config stuff from r5653 2013-12-22 02:47:35 +00:00
adelikat 089f6bbd3d Toolbox Improvmeents - focus first icon to allow quick access via keyboard, close when user selects a tool, esc closes dialog, resize intelligently based on number and size of icons, minimize size of icons and flow horizontally with overflow, show selected icon tooltip text on dialog text property, also change hotkey to shift+T 2013-12-22 01:49:52 +00:00
goyuken bd205f47dc update our newtonsoft json.net to version 5.0 release 8. this fixes up abstract class handling so that the CoreSettings can work correctly.
tweak Binding, RecentFiles, and PathEntry to work with the new serializer.  on updating to this revision, you should be able to keep all config.ini settings except for hotkey bindings, path layouts, and recent files list.
start implementation of new CoreSettings and CoreSyncSettings.  at the moment, it's only partially done for NES.
2013-12-22 00:44:39 +00:00
goyuken 43d5bd7b7e fix compile problem, sorry 2013-12-21 18:34:13 +00:00
adelikat 8d680d79a5 Cheats - fix weird behavior caused by the Cheat changed event handler not being wired up on file load 2013-12-21 17:18:08 +00:00
adelikat b2b8edb319 Fix removing of registered functions via Lua console 2013-12-19 01:02:50 +00:00
goyuken 8bd8af15fe clean up the binary save state api a bit 2013-12-17 21:26:15 +00:00
adelikat 4bfdfd31c6 add Genesis controller to controller config for GPGX, and oops, mnemonics now do 2nd player controller 2013-12-17 01:46:23 +00:00