Commit Graph

151 Commits

Author SHA1 Message Date
brandman211 3b54bd268a -Useful refactoring!
--prevList, undoPrevList, and redoPrevList removed. All of the definitions for previous are now stored in separate data items.
---Should yield small speed increases.
---Makes it easier to port these definitions to Ram Watch eventually.
---Auto-aligns data, making it impossible for issues, such as the original values not aligning with the correct values because the prevList wasn't recreated, impossible.
---Makes it possible for the field to automatically update when the definition is changed (Implemented).
--Value/PrevToString() now use the same code.
--Reduces redundancy.
---This was a problem as PrevToString wasn't taking into account the data type, whereas Value was. This is now fixed.
-Watch now stores the data for the "last change" previous definition. Now I just have to set up the option in the GUI.
2012-06-09 01:56:56 +00:00
brandman211 eefb41f0b3 -Added message saying that the data type has been converted when you change the data type.
-Moved the "Included mis-aligned" box to data size where it should be.
2012-06-08 18:59:20 +00:00
brandman211 e5972f1368 Fixed Issue 44. I created two new lists, undoPrevList and redoPrevList which are updated / restored in the same places as their counterparts with prevList instead of searchList. 2012-06-08 06:23:33 +00:00
brandman211 3aaf57802c Fixed Issue 43. In hindsight, the problem was very obvious: "Since last frame" uses searchList while the other options use prevList, and only the former ever got sorted! 2012-06-08 05:15:07 +00:00
brandman211 4a6fed75d9 ConvertListDataType now converts all of the lists. 2012-06-08 02:25:24 +00:00
brandman211 67a9f86c78 -Fixed GetSpecificValue(), which means that signed searching works now.
-Upon changing data type, the contents of the specific value box converts accordingly.
2012-06-07 23:17:22 +00:00
brandman211 38d22b8549 Exlude => Exclude. >_< 2012-06-07 20:24:29 +00:00
adelikat c8d07a5078 Ram Watch/Search - add System ID to .wch files 2012-06-07 03:16:25 +00:00
adelikat 393dd9dcfe Ram Watch/Search, Hex Editor - set endian based on the endianness of the memory domain by default 2012-06-02 21:48:09 +00:00
adelikat a74fbb84fe Fix Ram Poke for Ram Watch/Search dialogs 2012-06-02 21:07:29 +00:00
adelikat 2e5547806d Ram Search - add View In Hex Editor menu item to the context menu 2012-06-02 14:38:35 +00:00
adelikat c7ec2aed6c NES Nametableviewer - Screenshot to clipboard option 2012-03-09 19:07:16 +00:00
taotao54321 3017dacdf1 SetMemoryDomain() called StartNewSearch(), so fixed it
It broke LoadSearchFile()
2012-03-09 18:50:26 +00:00
andres.delikat 31a85ab785 Ram Poke - pass in a memory domain and poke addresses in that domain instead of defaulting to main memory. Format address & value numbers in output message appropriately 2011-09-17 15:04:08 +00:00
andres.delikat 3e8a7e61c2 Ram Search - Redo menu item, slight tweaks to search menu items 2011-09-16 23:44:39 +00:00
andres.delikat 94aca60998 Cheat Window/Ram Search/Ram Watch - switch key up events to key down, add Ctrl+A select all to cheat window & ram watch 2011-09-16 23:29:36 +00:00
andres.delikat 665c9c5fbd Ram Search - search list - Ctrl + A hotkey for selecting all values 2011-09-14 23:57:28 +00:00
andres.delikat 7cfdad7bd0 Ram Search - Implement redo button. Enable/Disable Undo & Redo buttons when applicable 2011-09-14 23:36:36 +00:00
andres.delikat 0022b60b4f Watch object - update the PeekAddress() function to update the prev and changecount values. Fix Ram Search and Ram Watch UpdateValues() functions based on this change 2011-09-12 23:36:27 +00:00
andres.delikat 33a8d1ee0c Ram Search - refactor QueryItemText to use the new built in ToString methods of the Watch object 2011-09-12 23:29:04 +00:00
andres.delikat ffc28123b3 Hex Editor + Ram Search - Stop sound on modal dialog calls 2011-09-12 23:21:39 +00:00
andres.delikat b977ca94e9 Ram Search - Fix crash bug when user would click Save and then cancel the save dialog 2011-09-10 21:06:50 +00:00
andres.delikat 8dff368bcc misc code cleanup on some tool dialogs 2011-08-27 14:49:13 +00:00
andres.delikat 5e9f90eea9 Ram Search - big speed up in QueryItemBkColor by only checking for column == 0, apparently it was causing a redraw for each column instead of just once, setting column == 0 still colors the entire row. Also removed the "x addresses would be removed" message when in preview mode as it isn't worth a 1 fps cost imo. Also applied the column == 0 fix to Ram Watch though that will have a significantly smaller speed boost. 2011-08-27 13:56:06 +00:00
andres.delikat c7e8e7ece1 Ram Watch/Ram Search - small speed optimization to the QueryItemText functions 2011-08-27 13:20:02 +00:00
andres.delikat f22e9fb60d Memory Viewer & VirtualListView - ControlStyles.OptimziedDoubleBuffer seems to be a small speedup compared to ControlStyles.DoubleBuffer 2011-08-21 20:28:22 +00:00
andres.delikat b6424aa1b7 Ram Search - ~1fps speedup by removing DIsplaySearchList from DoPreview. Preview would never change the number of addresses so this function was wasteful 2011-08-21 12:37:29 +00:00
andres.delikat 40512ae558 Ram Watch/Search - refresh on form activate 2011-08-20 15:35:16 +00:00
andres.delikat 2c057a3d1f Ram Search - refresh listview on its focus event, only turn on blazing fast option if > 8 addresses (8 being semi-arbituary) 2011-08-20 13:39:44 +00:00
andres.delikat 368702d843 Ram Search - refix the Add To RamWatch toolstrip button 2011-08-20 13:02:25 +00:00
andres.delikat 3cd57a1335 Ram Search - better formatting of preview message, update some todo lists 2011-08-18 02:41:42 +00:00
andres.delikat 2330126b84 Ram Search - when deleting, clear selected items 2011-08-16 02:47:32 +00:00
andres.delikat 90233868cf Slight dialog cleanups on ram search & autofire config 2011-08-15 19:33:18 +00:00
andres.delikat 89c5dcb9ec Ram Search - Make DoUndo() set the previous value to the current value. Better would be to keep a previous value undo list and restore that, but this is adequate for preventing crashes. 2011-08-15 19:08:52 +00:00
andres.delikat c8a4a14021 Ram Search/Watch - context menu will show Unfreeze instead of Freeze if highlighting a frozen address 2011-08-07 04:19:49 +00:00
andres.delikat c903ff505d Ram Watch/Ram Search/Cheats - Delete key deletes selected items 2011-08-07 00:43:04 +00:00
andres.delikat 9814cc26c9 Ram Search & Ram Watch - Freeze function freezes all selected list items 2011-08-07 00:32:22 +00:00
andres.delikat d69abc909d Cheats - more refactoring by putting code into the CheatList object 2011-08-06 19:30:21 +00:00
andres.delikat c3d08b3b7b Pull the cheat list and some related functions out of the Cheats winform and into a CheatList object. Still some bugs to work out, but at least the cheat window doesn't crash when opened a 2nd time 2011-08-06 02:34:24 +00:00
beirich b27673f26c M-M-M-MONSTER COMMIT! change Game-load api stuff 2011-08-04 03:20:54 +00:00
andres.delikat 933b4a60bc Ram Watch/Search, TASStudio - use of the blazingfast option of virtuallistview only during the updatevalues function yields significantly less flickering without the bad side effects of that option 2011-08-04 02:28:25 +00:00
andres.delikat 87fb448cc0 Set FullRowSelect on a bajillion listview objects 2011-06-26 19:50:15 +00:00
andres.delikat 4bc5ee663c Cheats & Ram Search - ditto 2011-06-26 19:03:16 +00:00
andres.delikat 5e27953db0 Column sorting (and reverse sorting) for Ram Search & Ram Watch 2011-06-19 19:10:01 +00:00
andres.delikat c6a5c7e9b6 change references of Global.Game.Name to Global.Game.FileSystemSafeName for situations that use it to build paths 2011-06-18 21:39:53 +00:00
andres.delikat 93b7a93806 Fix some small todos 2011-05-22 02:19:55 +00:00
andres.delikat 47886e7c40 Drag & Drop for ram search, cheat search, play movie, record movie 2011-05-22 02:12:36 +00:00
andres.delikat e9186686f8 In recent menus make "None" grayed 2011-05-22 00:01:21 +00:00
offspring131313 2df4243695 Added saving customized settings to RamSearch dialog 2011-05-20 11:21:29 +00:00
andres.delikat dab3df8ea2 Path Config stuff 2011-05-07 19:14:52 +00:00