Commit Graph

200 Commits

Author SHA1 Message Date
adelikat 67bb7cbda6 Hotkeys - add an auto-complete search box 2013-08-05 13:23:17 +00:00
adelikat 1b2ce4e212 Lua Console - add a Registered functions dialog that shows registered lua functions registered functions (currently only supports frame and savestate events 2013-08-05 00:26:19 +00:00
adelikat 47a3413f54 Lua - fix event functions onframestart/end and onsavestateload/save to receive a name optionally, and return a guid. Added new functions event.unregisterbyname() and unregisterbyid that receive the name of a (named) function or a guid respectively and unregisters them. 2013-08-04 23:33:03 +00:00
adelikat 40e785ecea Lua - change event register functions to support multi-functions 2013-08-04 22:31:23 +00:00
adelikat fe09e0e83e Lua - add float controls to joypad.get() 2013-07-30 18:39:10 +00:00
adelikat 5d23b2a406 Lua - improve console.log() to print out lua tables. Useful for seeing the data coming from things like joypad.get() 2013-07-30 17:55:38 +00:00
adelikat 77a4eb098f Add Rewind Settings dialog and remove the old Rewind enable menu item. New dialog let's the user set the rewind frequency and/or enable/disable rewind for small, medium, and large savestates separately 2013-07-21 20:39:11 +00:00
masterofpuppets152001 d3efbb6d3b Lua: Added forms_openfile(filename, path, filter) to LuaImplementation.cs, usage ex: forms.openfile(nil,"C:") or forms.openfile(nil,nil,"Movie Files(*.SMV;*.BKM;*.FMV) etc... 2013-05-14 02:08:05 +00:00
pjgat09 a0f470b1bb Lua: Added joypad.setanalog, with the same calling format as set but with float values instead of bools. Still not sure that the analog wiring is the best, but this works for now. 2013-05-12 02:43:33 +00:00
goyuken 0302820db5 implement binary\text savestate type switching in multiclient. 2013-05-06 21:41:21 +00:00
zeromus beb0452275 2013-05-06 05:14:52 +00:00
zeromus 2316721200 add memory.getcurrentmemorydomainsize 2013-05-06 04:59:59 +00:00
masterofpuppets152001 bad1d9502c Added lua command client_xpos and client_ypos 2013-04-18 00:54:04 +00:00
adelikat e32eaeeb9a More code cleanup 2013-04-16 00:19:31 +00:00
adelikat 7199b64a95 More multiclient refactoring 2013-04-15 02:14:14 +00:00
adelikat 1c33b92bf1 NES - separate first/last scanline settings for NTSC vs PAL (default of 8,231 NTSC and 0,239 for PAL) 2013-03-25 01:59:34 +00:00
adelikat 496f645b48 Lua - add snes library getlayer_set_bg_1(), setlayer_set_bg_1(), etc to toggle/get all layer options 2013-03-25 00:49:50 +00:00
adelikat 77846acf01 Lua - joypad.set - implement false to force input off, and a string param to serve as inverse 2013-03-23 20:34:25 +00:00
adelikat cd03d2fe99 Slight tweak to movie frame property 2013-03-17 15:39:33 +00:00
adelikat 5df510fb4f Lua - add a null check that maybe completely fixes input.set(), also add a null check when attempting to resolve the lua path that was breaking Lua Console when auto-loading a lua session 2013-03-09 20:31:04 +00:00
adelikat 4cd34a4fda I fail today 2013-03-02 15:48:49 +00:00
adelikat 3f740a86b2 nevermind 2013-03-02 15:46:26 +00:00
adelikat cf75e3715e oops again 2013-03-02 15:45:47 +00:00
adelikat 9576428e36 oops 2013-03-02 15:42:32 +00:00
adelikat 7cccb9a0a8 Lua - "Fix" parameter order of gui.drawText() 2013-03-02 15:40:59 +00:00
adelikat 619a36fb4c Lua - implement gui.drawText() - updates at the same time as other draw functions and is in emulator space instead of client space 2013-03-02 15:19:14 +00:00
adelikat 54b83bcad6 Lua - implement client.pause_av() and client.unpause_av() 2013-02-26 00:36:13 +00:00
goyuken 726d497997 lua: gui.text() behaves more consistently with different window sizes 2012-12-22 01:00:12 +00:00
adelikat 64ced7533b Lua - implement client.getwindowsize 2012-12-21 23:50:29 +00:00
goyuken e8a54aaeed luaimplementation: input.getmouse(): button fields are now bools. position fields are now in emulated screen coordinates. no, it doesn't quite work right for some cases of window sizing... so don't do that! 2012-12-20 21:40:03 +00:00
zeromus a4b442abda unify coreinputcomm and coreoutputcomm. there is a slight chance your console will be messed up until i fix a teeny tiny something, since i didnt test them all, since with more recent cores i dunno what roms are working anyway. let me know if i broke anything. 2012-12-10 00:43:43 +00:00
goyuken e95efcb91b throttling UI is now set up to be done in one of three ways: sound, vsync, timer. in addition, there's an option to use vsync even when not throttling to it (but this doesn't really work too well...) 2012-11-12 17:57:11 +00:00
adelikat 5382a348dc Lua - fix savestate.loadslot() 2012-10-27 00:35:02 +00:00
adelikat a0111d1c08 Lua - implement client.screenshottoclipboard() and client.setscreenshotosd() 2012-10-27 00:19:43 +00:00
adelikat 4193ddfa5d Lua - implement client.screenshot() 2012-10-26 23:48:28 +00:00
goyuken 5661205bda event.onmemoryread(function f) : f is now passed the address in question. similarly for onmemorywrite 2012-10-14 15:19:31 +00:00
adelikat 6fedb67949 Fix the Write callback for the MemoryCallBackSystem and refactor the object more appropriately 2012-10-14 14:08:25 +00:00
pasky1382 918a067ab0 Added default colors (white) to other drawing functions. 2012-10-13 21:40:00 +00:00
adelikat 091125b181 another useless whitespace commit 2012-10-13 21:22:30 +00:00
adelikat 012d9007af Lua - change drawBox so that the line color is an optional parameter (white by default) 2012-10-13 20:57:02 +00:00
adelikat 557fb150c3 Lua - implement onmemoryread and onmemorywrite for the NES and PCE cores 2012-10-13 18:59:09 +00:00
goyuken 1793483aa9 make lua loadstate not trigger impossible callbacks when it runs, so it can actually work without killing the script. there are still other callbacks might not make sense? 2012-10-13 12:44:52 +00:00
adelikat 30098b0ab1 Remove emu.registerbefore and emu.registerafter in favor of event.framebefore() and event.frameafter() 2012-10-12 20:55:01 +00:00
adelikat b65064eb13 Lua - start an Event library and implement event.onloadstate(), event.onsavestate(), event.onframestart(), event.onframeend, event.oninputpoll(), All of these are aliases of other functions 2012-10-12 20:19:26 +00:00
adelikat ab761066e9 Lua - rehook up emu.registerbefore() and emu.registerafter(), but they have memory leaks, don't use them yet 2012-10-12 14:33:54 +00:00
adelikat be594adb35 Lua - disable emu.registerbefore() and emu.registerafter() for now 2012-10-07 00:30:43 +00:00
goyuken ea32688bf8 on_snoop(nil) will unregister the callback 2012-10-06 13:37:31 +00:00
goyuken b545d79fb6 lua: add emu.on_snoop() 2012-10-06 13:34:04 +00:00
adelikat a38e574695 Lua - implement mainmemory.writebyterange() 2012-09-29 02:26:51 +00:00
adelikat ed832036c1 Lua - Implement mainmemory.readbyterange() 2012-09-29 01:57:25 +00:00