Commit Graph

1666 Commits

Author SHA1 Message Date
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
adelikat 38d6555763 Some stuff 2013-12-06 18:27:06 +00:00
adelikat 98f1e02df3 TAstudio - start capturing states and lag, basic background color logic, start item text logic 2013-12-06 15:47:23 +00:00
adelikat 0c3818a37e TAStudio - add user controls for various sections of the dialog, they are just stubs at this point 2013-12-05 20:06:06 +00:00
adelikat 5384fcfdd2 TAStudio - start new recording on load, and generate columns dynamically based on the core currently loaded. Currently only does 1 player's worth of columns. 2013-12-05 19:18:20 +00:00
adelikat 2de37ac57a Fix address freezing from the Ram Watch dialog 2013-12-03 19:50:10 +00:00
adelikat 1818e6f5fc Lua - forms.textbox() - add multiline parameter 2013-12-02 03:41:29 +00:00
adelikat 3f79bbfd56 TAStudio - create a TasMovie object on load, start implementing some tasmovie things, if there is a move active, warn them that they will lose their work when they open tastudio. Swap global movie back to a regular movie on tastudio close 2013-12-01 22:29:38 +00:00
adelikat 1390b1a7e3 Start MovieRecord and TasMovie objects, they are just stubs right now 2013-12-01 20:55:52 +00:00
adelikat 9ab2be558c rip out existing tastudio logic and replace it with a skeleton project that does nothing 2013-12-01 04:00:02 +00:00
adelikat e686e595b9 Refactor use of Movie Frame count - also fix play movie to show infinite movie's frame count as "Infinity" 2013-11-30 03:10:05 +00:00
adelikat c95732ed31 Movie - don't expose the log directly, clean up, and remove StateVisualizer since I've given up on working on it! 2013-11-30 02:33:26 +00:00
adelikat 29a0fa49f8 Simplify IMovie and refactor some code to allow that, this also disables more functionality in TAStudio but it is disabled in trunk currently anyway (pending a rewrite). Also a bunch of pedantic code cleanup in tool dialogs 2013-11-29 19:55:05 +00:00
adelikat 0ed9d832c7 Trace Logger - some code clean up, some tiny speedups, and implement a few small tweaks like Always on Top, and Select All 2013-11-29 00:35:05 +00:00
adelikat 9ccc214667 Make an extension method ShowHawkDialog() to use for modal dialog calls that does the Sound Stop/Start methods (and potentially any other EmuHawk specific logic that needs to be done). Use this in the bazillion places we were calling StopSound and StartSound. 2013-11-28 22:39:00 +00:00
adelikat d6954e4209 Ram WAtch and Hex Editor code cleanup 2013-11-28 22:06:38 +00:00
adelikat bbcc7f3b5f MemoryViewer.cs isn't being used anymore 2013-11-28 20:05:35 +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 a3917f6052 Oops 2013-11-28 14:58:15 +00:00
adelikat 3ddf1f394b Refactoring of Hex Editor, and support poking of 4-byte addresses (how was that left as todo this whole time?) 2013-11-28 14:43:27 +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 9e521a1f14 Some nitpicky code clean up on lua console, nothing important here 2013-11-27 21:03:48 +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 d33d515ae9 Lua Console - don't stop scripts on restart 2013-11-25 23:45:59 +00:00
adelikat af6369e14c Fix behavior of remove in Ram Watch and Cheats too 2013-11-25 23:41:08 +00:00
adelikat 3d48a0b39e Lua Console - fix behavior of Save Changes nag, fix deleting of items 2013-11-25 23:38:10 +00:00
adelikat 5bbed4a58f Fix behavior of Movie Up/Down in tool dialogs 2013-11-25 23:24:26 +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 720cf763cd More code refactoring 2013-11-25 02:08:45 +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 544f4855fa Fix Ram Watch on screen feature so that it still works when Ram Watch is closed 2013-11-24 16:00:10 +00:00
adelikat b42492ec02 Various Ram Search dialog fixes 2013-11-23 21:19:52 +00:00
adelikat a7a28c000a Some low-hanging fruit in the IMovie refactor 2013-11-23 18:18:58 +00:00
adelikat 1372fa258f Start an IMovie interface as a first step towards a major movie object refactor. Also disable TAStudio, in preparation for a complete rewrite. Disabling is necessary because a lot of movie functionality will be ripped out that will render the tool useless for now. 2013-11-23 17:26:33 +00:00
adelikat c24133fbee Ram Watch - fix on screen display 2013-11-20 02:14:29 +00:00
adelikat e98da5856f misc code refactoring 2013-11-20 01:37:54 +00:00
adelikat df622ec9f1 Ram Watch - clode cleanup 2013-11-20 01:17:01 +00:00
adelikat 701392f43c Cheats - fix updating values on dialog load 2013-11-19 19:28:37 +00:00
adelikat fc19fe40a9 Lua console - small nitpicky code cleanup, nothing useful here 2013-11-17 17:17:18 +00:00
adelikat f147cdf75c Lua Console - F12 works now if focused on the output window 2013-11-17 16:58:24 +00:00
adelikat b2e341e2df Lua Registered Functions dialog - fix bug where Call and Remove were affecting the wrong scripts 2013-11-17 16:43:12 +00:00
adelikat 175ed75553 Lua Console - autoscroll the output window as text gets added 2013-11-17 15:55:13 +00:00
adelikat 79b2e03d84 Previous commit was a lie, it implemented ICollection instead, therefore change the name of the object to CheatCollection 2013-11-16 16:30:20 +00:00
adelikat 611e21dd47 Ram Search - fix behavior of Restore Default settings 2013-11-16 15:03:37 +00:00
adelikat 3d9faa87c5 Ram Search - fix defaulting to fast mode 2013-11-16 14:46:57 +00:00
adelikat e81e4238de really fix numerics in n64 virtual pad 2013-11-16 14:35:42 +00:00
adelikat 8186e1eddf fix typing into numeric boxes on N64 virtualpad 2013-11-16 04:21:47 +00:00
adelikat d840c9fb8c analog control panel - fix bug that was causing things to not update on mouse move 2013-11-16 03:27:43 +00:00
adelikat cce98bcfe4 VirtualPads - allow smaller minimum size, add a clear button for people who don't think to right-click 2013-11-16 02:36:42 +00:00
adelikat c076931d0c clean up NES namespace 2013-11-14 13:15:41 +00:00
adelikat 9266cafd2a Another round of BizHawk.Emulation namespace changes 2013-11-13 23:36:21 +00:00
adelikat dd3df013fb cleaning up some Bizhawk.Emulation namespaces 2013-11-13 03:32:25 +00:00
adelikat aaf5f17df8 Changed my mind about the namespace in previous commit, as we decided some time ago, cores should be in BizHawk.Emulation.Cores.X namespaces 2013-11-12 18:59:56 +00:00
adelikat e0da7792f4 Emulation - move Calculator folder up one level to be equal to console and computer, fix namespaces accordingly 2013-11-12 18:55:09 +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 b52ec7e647 Lua Registered Functions dialog - open up in a reasonable location, support multiple selection on Call and Remove buttons. Support hotkeys - Space or Enter = Call, Delete = remove 2013-11-10 23:16:18 +00:00
adelikat 9feb4d0871 Lua Console - make Registered Lua functions hotkey F12 instead of Shift+F12, make Registered Lua Functions dialog modeless 2013-11-10 22:05:03 +00:00
adelikat 2e51e7ad4f Registered Lua Functions dialog - fix so Remove removes MemoryRead/Write events, add a Remove All button 2013-11-10 21:56:02 +00:00
adelikat ded77beb65 Lua - OnInputPoll() - hooked up to the registered lua functions system 2013-11-10 19:19:58 +00:00
adelikat 28a73c8174 move GetEmuVersion() to VersionInfo and refactor a whole bunch of stuff as a result 2013-11-10 02:55:11 +00:00
adelikat 9e5e477467 move emuversion, releasedate, and interim constants from MainForm to VersionInfo so that they are available to all projects (we can now "interim" things in all projects) 2013-11-10 02:32:47 +00:00
adelikat fa35f3fef4 port Ti83 tooltip fix to 1.5x branch 2013-11-09 02:00:57 +00:00
adelikat 7d4e831861 restore Ti83 keypad tooltips 2013-11-09 01:55:45 +00:00
adelikat 2932a3a83c EmuHawk - separate config dialogs from the tools folder into appropriate folders in the config folder 2013-11-09 00:20:39 +00:00
adelikat 999c884f13 Refactor WatchValueBox to better handle the Nullable property, fixes a lot of issues in the cheat form among other places 2013-11-08 23:55:45 +00:00
adelikat 8562276320 Change the default Position property of every winform from windows default to center parent 2013-11-08 18:43:24 +00:00
adelikat 10b609cb6e Hex Editor - fix so context menu items dependent on addresses don't if no address is highlighted (prevents some exceptions being thrown when user attempts to use them) 2013-11-07 23:14:04 +00:00
adelikat 0b71e4d08c Some fixes to the ToolManager and make cheats not redraw every frame 2013-11-07 20:33:29 +00:00
adelikat 0adffa65c1 Use ToHexString() extension is more places 2013-11-07 18:15:17 +00:00
adelikat 17c68d34d0 make the word "autoload" consistently spelled/capitalized/hyphenated across all menus 2013-11-07 16:11:21 +00:00
adelikat 1061add64f Refactor MemoryDomains in IEmulator, make a MemoryDomainsList object rather than IList<MemoryDomain>, remove MainMemory from IEmulator and make it a property of this new collection object, also add indexing by name. Refactor cores and tools as needed 2013-11-06 02:15:29 +00:00
adelikat 6f29976e9d Cheats - fix bug where compare is 0 when clicking a cheat with a null compare value, refactor CheatList.Add() to be upsert logic 2013-11-05 23:14:22 +00:00
adelikat 92f8f9982c When adding a cheat, if it already exists, update the existing instead of doing nothing! 2013-11-05 19:53:49 +00:00
adelikat 76de0c4bdd Cheats - default compare box to empty, not 0 2013-11-05 19:46:27 +00:00
adelikat 4aae8a1311 Cheats - implement editing (oops, it was released without it!), fix value display (was showing the actual ram value, not the cheat's override value), don't flag changes if erroneously adding an existing cheat. 2013-11-05 19:33:06 +00:00
adelikat 9bbd8a07a6 fix an oops in last commit, and fix adding cheats via Cheats cheat form 2013-11-05 17:07:34 +00:00
adelikat 8a2a673528 Rename CheatForm.cs to Cheats.cs 2013-11-05 16:40:54 +00:00
adelikat 0a0487850d Fixes to ram watch and cheats closing events and restarting and asking to save changes, some of these are regressions from refactoring, some from the rewrite of these tools, and some have been this way since day 1 2013-11-05 16:37:05 +00:00
adelikat 29dffc9bca fix some false Ask to save changes nagging done by the cheat form 2013-11-04 21:02:36 +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 be547db4a1 Move MemoryDomain to its own file, and move the Endian enum into it, also clean up the class a bit, and refactor things as necessary 2013-11-04 02:11:40 +00:00
adelikat 9751fd5a1a Move interfaces and base implemenations from emulation to emulation.common 2013-11-04 01:39:19 +00:00
adelikat 3843acb2d9 Move some stuff to Client.COmmon 2013-11-03 16:47:21 +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