Commit Graph

374 Commits

Author SHA1 Message Date
adelikat ba5551d29b smartly hande the text property on the Gb/GG game genie dialog (only show one of the cores not a slash) 2014-05-26 12:34:52 +00:00
adelikat 0782c9820d Lua - implement event.onexit() - fires when the calling script stops execution, supports multiple callbacks per script 2014-05-26 03:08:16 +00:00
adelikat 4086eee72d Load Rom - actually pass in the deterministic emulation flag, and change the logic so that the client derives determinstic emulation (currently just if a movie is active), but can be passed in an override if calling code wanted to. 2014-05-24 22:06:08 +00:00
adelikat 5ebc0f5428 Lua Console F1 hotkey assigned to Lua Functions list 2014-05-24 16:54:00 +00:00
adelikat 8dc56b312e Lua Function List dialog - add a filter box 2014-05-24 13:19:24 +00:00
adelikat ce6cd2ec5f rip out the lua writer dialog and deeming it a failed experiment. Lua Console - re-implement the new script dialog so that it calls a save file dialog, and if the user picks a file it creates a new lua script with a minimal while loop, and then invokes a new process with this newly created file for quick editing 2014-05-24 01:59:59 +00:00
adelikat a89efe9c27 Lua - make form windows have a start position of "Center Parent" 2014-05-22 01:03:18 +00:00
adelikat b406146ae4 Fix "watch file" to "Lua script file" in save dialog on Lua Writer. To do: delete lua writer 2014-05-21 13:18:54 +00:00
adelikat e88b7cc93e one more tweak to make lua library constructors unified 2014-05-21 01:15:52 +00:00
adelikat 17568997bf Lua - unify constructors and have all libraries receive a lua context and an output callback, simplify some convolved registration code 2014-05-21 00:17:35 +00:00
adelikat 6401e6d719 Refactor LuaLibraryBase to have a Lua context rather than misc libraries being in charge of that when needed. Still todo: clean up the inconsistent constructor logic, vs setting these as public properties 2014-05-20 20:34:51 +00:00
adelikat f19d15d1ed Lua - add a Log callback to the LuaLibraryBase class instead of having misc libraries have to build out this behavior when they need it 2014-05-20 20:25:18 +00:00
adelikat 94b9761b31 Trace Logger - apply the new line hack done for clipboard to the save to file option 2014-05-20 18:38:25 +00:00
adelikat 4ee4088c4c read/write byte range functions - range check, and log warnings if user attempts to access outside the domain range, rather than throw a vague lua exception and crash 2014-05-19 01:42:41 +00:00
adelikat 059952f0a4 Change memory.getmemorydomainlist() to return a lua table instead of a string 2014-05-19 01:06:44 +00:00
adelikat 3d10d67fea Implement bizstring.split() 2014-05-18 21:06:16 +00:00
adelikat b4deb97587 Remove the same bogus logic that was in the mnemonic system for parasing analog input, this time in another bogus place bogusly copy/pasted and equally bogus logic, fixes N64 virtualpad playback behavior 2014-05-18 00:40:32 +00:00
adelikat d33a545605 Virtual Pads - Fix out of range exception when virtual pad is open, a movie is playing, and the movie goes into finished mode 2014-05-18 00:09:01 +00:00
adelikat 1895e15ea5 Create StatusStripEx similar to MenuStripEx and ToolStripEx to allow click through, and replace all our status bars with it 2014-05-17 00:42:28 +00:00
adelikat f88640fddb N64 VirtualPad - when a movie is active show the previous frame's line on the analog control 2014-05-16 13:40:21 +00:00
adelikat 55b4dcd53c gui.text - remove hacks that attempt use window size. Better logic is to be pure client space, and let gui.drawText do anything else 2014-05-14 23:44:46 +00:00
adelikat d5c2271c55 Toolbox - don't show nes debugger in non-interim 2014-05-12 20:58:34 +00:00
adelikat fd5c40d3f4 Virtual Pads - support Dual Gameboy pads, don't allow the switching of multiplayer unless the system has mutliplayer 2014-05-11 23:30:49 +00:00
adelikat 1e48111092 Virtual Pad - ability to toggle between single player and multiplayer and remember the setting in the config 2014-05-11 23:08:34 +00:00
adelikat abac70d592 VirtualPad - some code cleanup on last commit 2014-05-11 22:32:16 +00:00
adelikat 0abaeebb9d Virtual Pads - fix Updating when movie is playing, and by removing a lot more code than I wrote 2014-05-11 22:27:20 +00:00
adelikat 360c05c2c8 Dual GB XML Creator - if file already exists, ask before overwriting 2014-05-11 19:00:44 +00:00
adelikat edb90839d0 Dual GB XML Creator - a "Use Current Rom for all" button for the uberlazy 2014-05-11 18:53:32 +00:00
adelikat 5abd6f8387 Remove save button, no point in it compared to save and run, Use current Rom button should only be enabled on Gameboy core! 2014-05-11 18:34:20 +00:00
adelikat 77e1d31217 Dual GB xml creator - add a "Save and Run" button 2014-05-11 18:30:00 +00:00
adelikat 5430c395d0 Dual GB XML Creator - add a "Current Rom" button that is enabled when possible 2014-05-11 18:13:32 +00:00
adelikat cfb8b463c3 Icons for some gameboy dialogs 2014-05-11 17:48:17 +00:00
adelikat 14799b5450 DualGBXMLCreator - move from config to tools folder 2014-05-11 16:49:45 +00:00
adelikat 653fb0ff38 Ram Watch - set the CurrentFileName property during LoadFile, fixes some subtle bugs that resulted from a loaded watch with an empty name 2014-05-11 12:09:41 +00:00
adelikat d9ec48bb49 VirtualPads - move "Add Controller" to being a menu item instead of a clickable sub menu cuz that's weird. And change its name to "Multiplayer mode" as that is more specific to what it is doing (it adds all controllers beyond player 1, not just another one) 2014-05-08 20:46:32 +00:00
xmikecampx7 ae655b9dbc Added back default Max/Min values for N64 VirtualPad, so that it properly loads without the need to set Max/Min. 2014-05-08 17:40:01 +00:00
zeromus d1fab20576 nes ppu viewer: update labels without requiring mouse movement while processing periodical graphical update (hover over a sprite and watch the parameters change in realtime) 2014-05-08 04:59:45 +00:00
adelikat ff51a948f6 Trace Logger - make sure there isn't an extra line between instructions when copy/pasting 2014-05-06 17:53:21 +00:00
adelikat 81a841057c Ram Watch - convert message label into a Status bar with a error icon with similar functionality as ram search 2014-05-04 16:01:46 +00:00
adelikat e5b3138d15 Ram Watch, Ram Search - don't crash on out of range addresses (such as when the user leaves ram watch open and changes cores), highlight out of range addresses and warn user. On Ram Search - give the option to remove these addresses from the list. 2014-05-04 15:30:18 +00:00
adelikat c432fab579 Fix Ram Watch on screen display I broke some commits back 2014-05-04 14:22:11 +00:00
adelikat 0b6795fffc Some misc cleanup of redundant qualifiers 2014-05-04 14:10:28 +00:00
adelikat 650607cfd7 Put Lua FrameBefore and FrameAfter event firing into the event loop instead of tools, so that it isn't bypassed when turboing. Probably works, couldn't test. 2014-05-03 11:59:11 +00:00
gochaism 0a9039fc60 Set SystemIcons.Application to Lua form icon. 2014-05-02 00:44:14 +00:00
gochaism 3fd9113f0d Disable maximize/resize of Lua forms, since user cannot do anything on resize anyway. 2014-05-02 00:38:48 +00:00
gochaism a84b4126f2 Lua: Make console.log(...) a little more prettier. 2014-05-01 00:25:14 +00:00
adelikat 9d7c92fb6e Oops 2014-04-29 21:25:17 +00:00
adelikat 8f35b29a5c Remove extra newline in console.log/print 2014-04-29 20:39:19 +00:00
gochaism 38a0a3593e Lua: Update print and console.log to take variable arguments. 2014-04-29 05:07:43 +00:00
adelikat 8c1c034090 Lua - make Print() be an alias of console.log() 2014-04-29 01:24:06 +00:00