Commit Graph

235 Commits

Author SHA1 Message Date
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
mvl1986 73de95d65e LuaWriter LineNumbers now work with scrolling, fixed an exception that was happening if a keyword was longer than the length of the line it checked it against.
AutoCompleteView now resizes depending on how many items are in the list.

-mightyMar
2014-01-25 16:25:05 +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
goyuken 3c357a7d83 nes: try (and fail) to support some bad dumps of FAMICOM JUMP 2. meh. the good one works anyway.
batchrunner: keep track of number of lag frames and print to output
2014-01-21 19:08:11 +00:00
adelikat 8ab655d963 A better fix for something I broke 2014-01-21 16:31:12 +00:00
adelikat 9df0821fcd Lua Console - convert spaces to tabs and remove a todo 2014-01-21 16:25:51 +00:00
mvl1986 a177a111b9 Line 53:
changed: LuaImp = new EmuLuaLibrary(this);
into:    LuaImp = new EmuLuaLibrary();     

-MightyMar
2014-01-21 16:24:03 +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
mvl1986 cb600e5bf7 Updated the AutoCompleteView, now shows possible libraries, possible methods within libraries, replaces halftyped words and adjusts to what you typed. Also made it a bit easier to use 2014-01-20 16:33:45 +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 a2dd821474 Added new EmuLuaLibrary.String, contains decimal to hex string and binary string. 2014-01-19 16:36:43 +00:00
mvl1986 9963518715 Added sorting to the columns in the ListView 2014-01-17 11:51:52 +00:00
goyuken 6f05084b2c minor typo 2014-01-15 04:47:55 +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 2f28317f92 A round of code cleanup 2014-01-08 03:53:53 +00:00
adelikat 309626b8c8 lock down NES Sound config settings on quicknes, show Game Genie button on cheats dialog for it, do Toolbox logic 2014-01-07 01:12:48 +00:00
adelikat 803863b305 NES Game Genie Encoder/Decoder - support anything with system id "NES" not specifically the NES object, look for the "System Bus" not a hardcoded 2nd in domain in the list 2014-01-07 00:22:46 +00:00
goyuken 4191537359 revert r5763 2014-01-06 21:50:52 +00:00
goyuken d191575fd2 NES internal infrastructure 2014-01-06 21:33:30 +00:00
adelikat 8daccb972d Ram Search - fix behavior of the Memory Domain label 2014-01-04 16:19:00 +00:00
adelikat b445a7adf1 Virtual pads - Hook up 2 6 buttons and a Reset+Power Control pad to Genesis, fix Saturn vpad to clear Start button on clear, Support power button on NES control pad.
Wire up Reset and Power to Genesis mnemonic and input display systems.  This invalidated any previous movies recorded on this core (nobody should actually using an experimental core anyway)

Generic Config Settings - dont' show default icons!
2014-01-03 01:06:24 +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 aa93d8f04e Cheats - do AskSave() in Restart() 2014-01-01 15:56:47 +00:00
adelikat f9a847728c Cheats - fix bug where when editing a cheat, changing the address or domain was causing it to insert not update 2014-01-01 15:50:33 +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
adelikat fcbcbc2ac4 some stupid code cleanup while I'm at it 2014-01-01 02:16:47 +00:00
adelikat a3a8170c44 Check Global.Config.SupressAskSave in ToolManager instead of doing it in the tool dialogs themselves 2014-01-01 02:09:03 +00:00
adelikat 3784256e56 Cheats form - some more code refactoring/cleanup 2014-01-01 02:02:23 +00:00
adelikat a7bf93a85c Cheats - remove duplicate button and menu item, since duplicates aren't allowed. And some minor code cleanup while I'm at it 2014-01-01 00:07:24 +00:00
adelikat 7e24c75a3d tiny code cleanup in Hex Editor 2013-12-31 18:52:52 +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
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 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 70078b24f2 Remove the hacky Cheats_Restart() method and move the logic into the Restart method of ToolManager, also move over the generateDefaultCheatName to that object and make it static 2013-12-23 03:07:06 +00:00
adelikat 05e2f67771 Move some tool loading logic from mainform to toolmanager 2013-12-22 23:34:22 +00:00
adelikat 7acc64c37e Add Geneis Game Genie to toolbox, and re-enable the feature but INTERIM flag it 2013-12-22 20:38:36 +00:00
adelikat 2448ad0dda Wire up the Genesis Game Genie Encoder/Decoder to the GPGX core, but disable it since it doesn't seem to work right now 2013-12-22 20:25:43 +00:00
adelikat 5fff62d52b Add GBA Gpu Viewer to toolbox, and add snazzy gba icon 2013-12-22 15:39:11 +00:00
adelikat edd9e65e9e Toolbox - fix focus issue on load 2013-12-22 15:26:09 +00:00
adelikat 0e4c507d08 Toolbox - some more intelligent code 2013-12-22 03:41:10 +00:00
adelikat 7a61b53fa1 Toolbox - rip out text feature since the box is too small to see it now 2013-12-22 03:21:32 +00:00
adelikat 928e14f110 Add GB GPU viewer to toolbox, and clean up some toolbox behavior 2013-12-22 03:15:53 +00:00
adelikat 8616a42600 Add PCE BG Viewer to Toolbox 2013-12-22 02:27:25 +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
adelikat 720a19c2ad Toolbox - some code cleanup 2013-12-21 21:37:00 +00:00
adelikat 1e5ff72519 Hex editor - better scrollbar logic for really small domains that don't need a scrollbar 2013-12-21 20:06:52 +00:00
adelikat d45ba09f50 Hex Editor - a bit of code cleanup 2013-12-21 17:51:07 +00:00
adelikat 1ad3b83d83 Better updating of cheat status in various situations, and fix an exception thrown when unfreezing an address with the hex editor 2013-12-21 16:42:36 +00:00
adelikat 6d741f4bfc Cheats - add "View in Hex Editor" to the context menu 2013-12-21 15:01:12 +00:00
goyuken f5c69f279c slap some comments on the memory scanning thing that i committed yesterday 2013-12-20 16:41:21 +00:00
goyuken 1f4ff7b1ce i don't want to talk about it 2013-12-20 05:38:07 +00:00
adelikat 57c8b2f75f TAStudio - when dragging the frame column to select items, catch the "in betweens" when the mouse moves fast enough to move past some rows. 2013-12-20 03:28:25 +00:00
adelikat f81fe9898f Tastudio - implement Copy menu item, and show rows selected and clipboard count in status bar 2013-12-19 03:45:11 +00:00
adelikat b2210f3dfe TAStudio - do away with splicer section, and put it in the status bar instead 2013-12-19 03:03:35 +00:00
adelikat b0817aabef TAStudio - playing around with UI design 2013-12-19 02:52:27 +00:00
adelikat 95c619a0b7 Lua Console - a round of code cleanup 2013-12-19 01:17:53 +00:00
adelikat b2b8edb319 Fix removing of registered functions via Lua console 2013-12-19 01:02:50 +00:00
adelikat b604d81d10 Lua Console - refresh things better 2013-12-19 00:54:35 +00:00
pasky1382 ac97e62ed1 Remove registered functions when disabling lua scripts 2013-12-19 00:12:46 +00:00
adelikat 0582ef4c42 TAStudio - account for playback in previous commit 2013-12-17 18:32:48 +00:00
adelikat 9ddcfcce8b TAStudio - when recording, keep Current Frame marker in view 2013-12-17 18:22:03 +00:00
adelikat 3eabb42c16 TAStudio - fix default size brokenness, not sure why this fixes it, but it had to be done anyway, so whatevs 2013-12-17 18:03:49 +00:00
adelikat 68f522c5c9 TAStudio - use MarkerControl user control, doesn't do anything yet though 2013-12-16 03:23:28 +00:00
adelikat 01ea214332 TAStudio - make Marker user control 2013-12-15 19:16:52 +00:00
adelikat b837ddf36e TAStudio - tweak the marker dragging and support dragging of frame column to highlight 2013-12-15 17:19:22 +00:00
adelikat 9257cfdc79 Lua textbox - Fix behavior of numeric values when pressing up and down 2013-12-15 04:50:24 +00:00
adelikat a75e91af13 Tastudio - support dragging the marker through greenzone frames. Does nothing currently if you go outside the greenzone. 2013-12-15 04:45:46 +00:00
adelikat 1723f9dc92 Lua forms - make lua textboxes that are set to signed/unsigned/hex types increment/decrement with up/down arrows 2013-12-15 03:41:13 +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 5c9a604ae5 TAStudio - when loading a movie, set to playback mode, implement auto-switching to record mode at the end of a movie 2013-12-14 20:32:00 +00:00
adelikat 415985cd2e TAStudio - fixes to file opening and saving changes, implement autoload project 2013-12-14 19:51:07 +00:00
adelikat 69e8e42d61 TAstudio - implement input log loading 2013-12-14 18:46:59 +00:00
adelikat 518e53e361 TAStudio - implement Restore Defaults menu item (for the features implemented so far at least). Make dialog TopMost = true by default 2013-12-14 14:48:05 +00:00
adelikat 5fee952c3a TAStudio - Implement AskSave() and various client logic regarding file saving/loading 2013-12-14 14:40:33 +00:00
adelikat 35c3fcca16 Restart Rom when Tastudio is engaged, resorted to ugly hacks that will be rethought when things are more stable 2013-12-14 06:58:09 +00:00
zeromus 483cf96853 rename PathEntries.WatchPath etc. to PathEntries.WatchPathFragment to better convey the idea that it isnt a fully-qualified path, so its less likely to get used on accident 2013-12-13 05:20:50 +00:00
adelikat 7e67658f1c Remove Loaded property from IMovie and refactor accordingly, it was only needed for a hack that had faulty logic 2013-12-10 17:41:30 +00:00
adelikat 1f181f48db TAStudio - start the "New" menu item, but it doesn't ask to save changes, it also freezes the GUI for some reason 2013-12-10 16:37:41 +00:00
adelikat 4d770ab0f3 TAStudio - implement recent menu and Open file, but it is currently pointless since the input log parsing isn't implemented 2013-12-10 02:13:50 +00:00
adelikat fd149237ee TasMovie - implement saving of movie log into files, make header have the proper movie version (v2!), Change file "Movie" to "Header". TAStudio - implement Save and Save As menu items 2013-12-10 01:45:45 +00:00
adelikat 66691bf9ab TAStudio - set up a proof of concept change event handlers in MovieRecords and TasMovie, change events propogate from MovieRecord to TasMovie which will manage greenzone logic (todo) and other management issues, and then fire off an event that TAStudio will listen to manage UI needs 2013-12-09 21:40:27 +00:00
adelikat d3f088a0bc Intelligent input drawing 2013-12-08 19:42:07 +00:00
adelikat 22ff2bff04 TasListView - track the current and last cells pointed to, add a Cell changed event handler, add a Input Drawing flag, and track if the user is click dragging. TAStudio - hook up input drawing feature with toggle, still work to do as it doesn't work as intelligently as it should yet 2013-12-08 19:30:57 +00:00
adelikat 14184c9ae9 TAStudio - Basic input toggling via clicking cells in the listview 2013-12-08 18:44:41 +00:00
adelikat ac56fb0883 Start a TasListView object that inherits VirtualListView, make TAStudio use it, have it have properties for which Column and Row is currently being pointed to by the mouse. Row isn't calculated yet, but column is 2013-12-07 23:20:44 +00:00
adelikat 6873248ce8 Some cleaning up of logic of past commits, and separate MovieRecordList to its own file 2013-12-07 21:37:52 +00:00
adelikat ba2c345608 TAStudio - better column building and tracking of what has been pressed. Also now allows a variable number of players to be recorded. 2013-12-07 17:29:47 +00:00
adelikat 94de0b0376 TAStudio / TasMovie - Proof of concept that MovieRecords can hold an array of bool states and communicate with higher objects via IController 2013-12-07 01:50:52 +00:00