Commit Graph

9214 Commits

Author SHA1 Message Date
adelikat 7ecf96772c tastudio/lua - implement tastudio.setlag() 2015-07-09 13:16:55 -04:00
adelikat 3541c9e975 Make the lag counter settable, and expose this functionality in lua 2015-07-09 13:05:30 -04:00
adelikat 9455aec767 Tastudio/lua - implement tastudio.onqueryitemicon() 2015-07-09 12:47:59 -04:00
adelikat b0ea42f5a7 Tstudio - some reorg 2015-07-09 12:35:48 -04:00
adelikat a7610bbe5b remove a .manifest file from version control, and add .manefest to the ignore list 2015-07-09 11:07:30 -04:00
feos bc321fedac keep DefaultMessageOptions instead of 2 _different_, _hardcoded_ units. 2015-07-09 02:07:21 +03:00
zeromus 83b2f70283 example of how to store default message positions so it can be used by default config and reset process too 2015-07-08 16:58:17 -05:00
feos 53c415a843 tastudio: keep track of rerecords, increment them in InvalidateAfter()
markers: fix input roll context menu command removing Markers
gpgx: updated dll
2015-07-09 00:48:04 +03:00
feos ea9acdbe8d genesis+plus+gx: fix (1 case of) broken determinism in savestates. io_regs was the only thing saved, input struct is what the client sends, and gamepad struct is constantly used but never saved. 2015-07-08 23:58:47 +03:00
zeromus 4b91330b75 the guy wants the thing says he doesnt need any more than 16 of the thing and neither does anyone else, so limit the thing to 16 2015-07-07 14:17:39 -05:00
zeromus c9dab721fb fix bug in GDIRenderer font cache that made fonts go wacky and get measured wrong and then TAStudio to layout differently each time 2015-07-07 14:05:44 -05:00
scrimpeh bcbc588e05 Apple II - Fix Memory and Input Callbacks interacting with savestates 2015-07-06 22:09:18 +02:00
scrimpeh 23d93cc1fe Apple II - Add Input Callbacks, Change definition of a lag frame 2015-07-06 21:15:48 +02:00
zeromus db1191dc48 emuhawk - add experimental prescale option to display manager 2015-07-06 12:31:30 -05:00
scrimpeh 60c3734e8c Ram Watch - Fix moving up and down blocks of identical Watches 2015-07-05 18:55:43 +02:00
scrimpeh f472b4802d Apple II Breakpoints - Fix Write Breakpoints 2015-07-05 17:12:46 +02:00
scrimpeh 43dd015b51 AppleII - Add MemoryCallbacks, Breakpoint Support, Set Registers in Debugger to proper bit size. 2015-07-05 17:09:07 +02:00
adelikat 0a6fb3dce2 remove the GPGX trace logger since it isn't wired up and we don't want it to display if it doesn't work 2015-07-05 09:13:44 -04:00
pjgat09 a064560f88 N64 - Added the GLideN64 plugin as a submodule 2015-07-04 18:29:36 -04:00
pjgat09 fd74723537 Fixed mupen64plus-video-glide64mk2 to work with the updated mupen64plus-win32-deps 2015-07-04 18:14:22 -04:00
pjgat09 30d0ae3f16 Added mupen64plus-win32-deps as a submodule 2015-07-04 18:10:47 -04:00
pjgat09 0a7eeffd78 Removed mupen64plus-win32-deps to be added later as a submodule 2015-07-04 18:09:40 -04:00
Tom Rochette d1bce27223 Add missing changes to BizHawk.Client.EmuHawk.csproj for the Lua sandbox. 2015-07-02 19:40:25 -04:00
adelikat 19423092cd Tastudio/lua - implement tastudio.ongreenzoneinvalidated 2015-07-02 14:51:42 -04:00
adelikat 105b8d3a64 Tastudio - cell height padding of 0 instead of 1 2015-07-02 14:37:28 -04:00
adelikat 2790dcbf0d lua - implement userdata.containskey() 2015-07-02 14:29:19 -04:00
Tom Rochette a783ef75f6 Simple Lua sandbox.
Uses an EnvironmentSandbox to restore the Environment.CurrentDirectory. Will also catch any script exception and redirect them to the Lua console.

With this change, I've tried to replace all the places where Lua is executed so that if an exception occurs, it is catched, sent to the console and a callback is executed if necessary.

This also fixes a small issue where any callback generating an exception would crash BizHawk.
2015-07-01 22:38:19 -04:00
adelikat c53cef6cf9 tastudio/lua - implement tastudio.onqueryitemtext 2015-07-01 19:46:14 -04:00
adelikat f847e905d2 tastudio/lua - add onqueryitembg event to the lua library, this is called during each cell's background color drawing callback, and gives the opportunity for lua to override the color. 2015-07-01 19:01:29 -04:00
nattthebear a0f3931257 Blah 2015-06-30 23:29:01 -04:00
Tom Rochette de98e0ed66 [#405] Set Environment.CurrentDirectory when executing Lua events within a WinForm.
Since events are not executed within the LuaConsole.ResumeScripts method, those did not have Environment.CurrentDirectory available for the executing script.

The fix is simple: when a lua script instantiates a LuaWinForm (through forms.newform), we store the current Environment.CurrentDirectory in the LuaWinForm object.
When a button or checkbox is triggered, it calls WinForm.DoLuaEvent which will set up the Environment.CurrentDirectory for the duration of the callback and then set it back to the initial Environment.CurrentDirectory.
2015-06-30 22:35:59 -04:00
zeromus 0341d24bc8 I think more stuff needed thread locking for more time in 7z library manager 2015-06-30 19:43:59 -05:00
adelikat e03da4f5fe Lua - add a userdata library, with basic api for a script to add arbitruary data to a dictionary. This dictionary is saved and loaded in savestates (if present). Scripts can use this to create counters and whatnot that need data saved in savestates 2015-06-30 18:54:42 -04:00
adelikat e50f81d54c Tastudio - remove a line of code that makes the emulator spaz out when mousewheeling up very fast, I don't think removing this breaks anything, I suspect it was only there from some defensive programming and overthinking 2015-06-29 22:08:31 -04:00
adelikat 8911049f68 Merge pull request #447 from TomzxForks/fixes/lua-console-output-resize
Add a split container to LUA console window.
2015-06-29 21:35:46 -04:00
ConHuevosGuey 200916bb8d Added Ninja Gaiden II collision viewer (LUA). 2015-06-29 19:13:47 -05:00
adelikat b991493c97 backing out of last change, it was not well thought out 2015-06-29 17:09:47 -04:00
adelikat 947f18d971 Hex Editor - super hack, allow keyboard events even when scrollbar has focus, to workaround the fact that the scrollbar mysteriously gets focus from numpad buttons 2015-06-29 17:06:46 -04:00
adelikat a2c73eb793 Remove some commented and useless 2015-06-29 16:23:59 -04:00
Tom Rochette c03a162bc1 Add a split container to LUA console window.
With the split container, resizing the window will properly reformat the output section as well as allow users to resize it.
2015-06-29 00:28:35 -04:00
ConHuevosGuey d97d94ecbc Made size nullable...now requires a size input. 2015-06-28 13:25:28 -05:00
ConHuevosGuey 229865c443 Added a 'Draw Axis' function to lua GUI library 2015-06-28 13:23:07 -05:00
ConHuevosGuey 3a9bb13277 Ninja Gaiden III collision box viewer 2015-06-28 12:34:17 -05:00
adelikat 13044547e4 Tastudio - fix issue #446 - don't greenzone between the mouse down and mouse up events when editing input 2015-06-28 10:43:45 -04:00
nattthebear ac52749941 Clean up and add entries to gitignore 2015-06-27 12:13:35 -04:00
adelikat cd4955fbe5 Tastudio - fix autoload 2015-06-27 07:49:37 -04:00
scrimpeh 716cf12f6a Debugger - Tiny insignificant fixes 2015-06-27 13:03:24 +02:00
zeromus ee2d0aafdf update psx to mednafen 0.9.38.5 2015-06-27 04:02:03 -05:00
scrimpeh 0e4a641a81 Debugger - Fix a lot of stuff regarding Breakpoints 2015-06-26 22:12:09 +02:00
nattthebear 98ad258966 fix dll paths in GPGXDynamic.cs 2015-06-25 17:24:19 -04:00