Commit Graph

109 Commits

Author SHA1 Message Date
adelikat f589a91479 Lua - fix client.setwindowsize() and client.speedmode() 2014-04-13 18:35:27 +00:00
adelikat 9c3a7fec37 Lua - add a gameinfo lua library with getromname(), getromhash(), getdisplaytype(), getindatabase(), getstatus(), getisstatusbad(), getboardtype(), and getoptions() methods 2014-04-13 14:22:13 +00:00
adelikat 5559024757 Lua - Rip out gui.alert() and refactor/simplify things as a result 2014-03-23 17:39:07 +00:00
adelikat 54363e4da1 Lua - fix gui.drawText() (and gui.drawString) 2014-03-23 17:24:06 +00:00
adelikat 1226603697 Lua - Fix gui.Alert() to at least work. However, in trunk the alert font was gimped into regular font with the opengl change, and this is probably for the best. Will remove this lua feature and alert font code in a later commit 2014-03-23 17:12:25 +00:00
adelikat 33fdf03af6 Lua - fix forms.newForm() 2014-02-23 22:47:45 +00:00
adelikat 63e8702242 Lua - gui.text() and gui.Alert() - strongly type the anchor parameters as a string, will still except 0, 1, 2, or 3 as it did previously, for which it will interpret them as string automatically 2014-02-17 01:57:25 +00:00
adelikat 4ca0f5792b rip out some lua console code I didn't mean to check in 2014-02-16 23:06:14 +00:00
adelikat 5849d2d80d make the Select All feature built right into VirtualListView instead of writing the same code over and over in the tool dialogs, also make said code faster on large lists 2014-02-15 19:15:04 +00:00
adelikat 05823d3022 fix ButtonCount lua script to use console.log instead of the now deleted console.output, Lua - remove some todos that had been done and some rather useless cleanup 2014-02-14 01:27:38 +00:00
zeromus 96da0880b4 work towards generalizing lua display layers. "emu" and "native" surfaces now work and are accessible from lua. 2014-02-14 00:55:18 +00:00
adelikat 23f7017651 Some code cleanup tinkerings in Client.Common 2014-02-03 20:48:01 +00:00
zeromus 2275ec234f massive displaymanager/renderpanel refactor. All useful logic is now compact and in DisplayManager. Also, remove the old filter infrastructure, its totally outdated now 2014-01-28 04:39:27 +00:00
adelikat 7fac499996 Lua - finish up documentation and strongly type some more params 2014-01-27 20:19:08 +00:00
zeromus 25cab541b1 assorted cleanup and quick restore of DIspBlurry and Vsync settings 2014-01-27 06:03:18 +00:00
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
zeromus a2ba761ae1 BizwareGL! 2014-01-27 00:02:21 +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
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 5f9757d7d0 Lua - finish up refactoring remaining lua libraries 2014-01-26 16:15:45 +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 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 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
adelikat 8ab655d963 A better fix for something I broke 2014-01-21 16:31:12 +00:00
adelikat 186503c041 Some formatting cleanup on EmuLuaLibrary, nothing useful here 2014-01-21 00:43:57 +00:00
adelikat 614d457de4 Lua - Implement client.clearautohold() 2014-01-21 00:36:22 +00:00
pasky1382 08504fc25a Added more string lua functions 2014-01-20 17:06:09 +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 a2dd821474 Added new EmuLuaLibrary.String, contains decimal to hex string and binary string. 2014-01-19 16:36:43 +00:00
adelikat 1626e8b43e oops 2014-01-02 13:51:14 +00:00
adelikat 3fd6da23a6 lua - add client.get/set displayfilter() and get/set scanlineintensity() 2014-01-02 01:11:00 +00:00
adelikat fd56efd33a Some renaming of Save/Load state functions and variables to make them less confusing 2013-12-30 16:49:13 +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
adelikat 213e02ffef Lua - forms.textbox() - add a fixed width option 2013-12-30 14:58:09 +00:00
adelikat dae86e770c Mainform - a round of cleanup 2013-12-29 23:35:42 +00:00
adelikat f122105b42 oops, put Rewinder in Global not GlobalWin 2013-12-27 01:19:38 +00:00
adelikat f090597fbe make MainForm.Rewind.cs into a separate class instead of a partial class of Mainform. Still dependent on the Mainform context so is still a part of the EmuHawk project for now 2013-12-26 23:12:41 +00:00
adelikat 302e71edc3 Rework some input stuff in preparation for moving it to common 2013-12-24 21:37:51 +00:00
adelikat 05e2f67771 Move some tool loading logic from mainform to toolmanager 2013-12-22 23:34:22 +00:00
adelikat 91063b7ffd Lua forms library - implement forms.dropdown(), forms.checkbox(), and forms.ischecked(). Add support for dropdowns in forms.gettext() (returns the string value of the selected item) 2013-12-15 02:50:50 +00:00
adelikat 1818e6f5fc Lua - forms.textbox() - add multiline parameter 2013-12-02 03:41:29 +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 b3946082a7 Some code refactoring, mostly in an attempt to pick away at the beast that is Mainform.cs 2013-11-27 23:35:32 +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 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 345b628dad Some more misc code cleanup 2013-11-25 00:55:56 +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 175ed75553 Lua Console - autoscroll the output window as text gets added 2013-11-17 15:55:13 +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 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 589758f74d rename GlobalWinF to GlobalWin, yeah, I'm being nitpicky 2013-11-03 16:07:58 +00:00
adelikat c669680e07 Rename Multiclient folder 2013-11-03 04:05:56 +00:00