Commit Graph

509 Commits

Author SHA1 Message Date
andres.delikat c8e0043713 Ram Watch - a "Display on Screen" menu option 2011-09-12 23:08:42 +00:00
andres.delikat 73add14d28 Watch object - add ValueToString() and PrevToString() methods and make Ram Watch use these methods and thus simplify the UpdateValues logic. Added an override for ToString() that displays notes + value in preparation for a on screen ram watch option. 2011-09-12 00:17:17 +00:00
andres.delikat 5ed4a36fd6 Trade out Poke icon with a nicer one (with a larger image size than 16x16) 2011-09-11 01:39:26 +00:00
andres.delikat 21d396f9bc Fix minimum size on all winforms, also set max size where appropriate, fixed anchoring & resizing issues, and other misc. display cleanup 2011-09-11 01:01:40 +00:00
andres.delikat 79e5a399f7 Toolbox - resize slightly, set minimum size, change bg color of toolstrip, make ti83 keypad visible only if ti83 is loaded 2011-09-10 21:48:27 +00:00
andres.delikat 4f98fdb60d Ram Watch - adding a watch from an external dialog flags changes 2011-09-10 21:37:03 +00:00
andres.delikat e3d9706e9e Ram Watch - update values when editing, removing, and duplicating a watch, and whenever a value is added to the watch by an external dialog 2011-09-10 21:16:29 +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 b0235e08f0 Ram Watch - fix crash when using the save icon on a new watch file with changes 2011-09-10 18:09:21 +00:00
andres.delikat e889520744 Hex Editor - use filesystem safe name generation for default file name on Dump to File 2011-09-10 13:51:26 +00:00
andres.delikat a84f881c5c Movies - Remove UserMovie and change all references to it to Global.MovieSession.Movie, fix error in CheckTime Line logic, read-only savestates should now work 2011-09-03 18:07:30 +00:00
andres.delikat a731504e5b TAStudio - fix typo in Restart() that was causing the listview to get wrecked 2011-08-30 00:26:14 +00:00
andres.delikat 1f3a315926 NES Nametableviewer & NESPPU viewer were running their updatevalues code when closed. Fixing that gave a few fps boost to the nes core when those dialogs are not open! 2011-08-27 14:56:17 +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 18a6b21deb Oops 2011-08-27 04:36:45 +00:00
andres.delikat 293b7133c5 Slight Dialog performance tweaks 2011-08-27 04:32:54 +00:00
andres.delikat 82630e62b5 Hex Editor - Hook up mouse wheel 2011-08-26 00:20:42 +00:00
andres.delikat e866055581 Hex Editor - fix problems with highlight display 2011-08-25 23:58:16 +00:00
andres.delikat 172205a86e Hex Editor - Display address highlighted 2011-08-25 23:49:13 +00:00
andres.delikat dea2afd513 Hex Editor - very slight optimziing of GenerateMemoryViewString 2011-08-25 17:05:51 +00:00
andres.delikat 8d7c745e56 Show nibbles when hex editing, fix auto move to next address on 2 byte view, update values on load 2011-08-25 02:23:12 +00:00
andres.delikat d8bdf4c646 Hex Editor - show frozen addresses 2011-08-25 02:08:05 +00:00
andres.delikat 4017e8a068 Hex Editor - fix hex editing of 4 byte values, added a Unfreeze All menu/context menu item 2011-08-25 01:49:22 +00:00
andres.delikat 550261b831 Hex Editor - Fix Endian display on 2 & 4 byte view, fix freezing of multibyte values, fix adding to ram watch of multibyte values, fix ram watch to run UpdateValues when an external dialog adds a value 2011-08-25 01:22:03 +00:00
andres.delikat ce5bf31ec1 Hex Editor - save DataSize and BigEndian in the config 2011-08-25 00:55:46 +00:00
andres.delikat efd8fe5410 Fix Poke Value context menu item and allow it to poke 2 byte values (4 byte still todo) 2011-08-24 22:26:17 +00:00
andres.delikat be80761f26 Hex Editor - update values on Endian Toggle, fix resizing logic of dialog 2011-08-24 16:56:38 +00:00
andres.delikat c2d5f5c733 Hex Editor - mostly working address editing in 2 byte view 2011-08-24 02:48:52 +00:00
andres.delikat c712e58b4d Hex Editor - restore Ctrl+G hotkey, fix key events, fix 2 & 4 byte view issues, restore address editing 2011-08-24 02:31:45 +00:00
andres.delikat f11b3a3e2a Hex Editor - misc cleanups 2011-08-23 23:48:22 +00:00
andres.delikat c8f8735ec3 Hex Editor - Oops, don't refresh on mouse move 2011-08-23 22:48:21 +00:00
andres.delikat d391777d50 Hex Editor - fix calculation for rows visible 2011-08-23 22:44:23 +00:00
andres.delikat 98ec3bf2a2 Hex Editor - restore mouse & key events & context menu, fix addresss highlighting logic 2011-08-23 22:22:24 +00:00
andres.delikat 3cc1606921 Hex Eidtor - restore mouse ever & click events, drawing positions are rather off however, will need to tweak 2011-08-23 01:43:19 +00:00
andres.delikat bf2cad8b15 Hex Editor - more restoring of commented code from the removal of MemoryViewer 2011-08-22 16:42:32 +00:00
andres.delikat 20e0ffc8b8 Hex Editor - make address label transparent so that highlighting effects will happen on the group box behind it, make GenerateMemoryViewString a value returning function, hook back up resizing event 2011-08-22 16:34:47 +00:00
andres.delikat d7bc642161 Hex Editor - complete refactoring, no longer uses the MemoryViewer object, instead it uses a regular groupbox and a label that contains the memory viewing contents. At the default size (16 rows in view) there is barely any perceived slowdown (about a 10fps boost) on my system. Still some todo's for restoring functionality (such as mouse events) 2011-08-22 02:48:12 +00:00
andres.delikat 92a75042db Hex Editor / MemoryViewer - remove info label widget and draw the info directly in the paint event 2011-08-21 23:59:42 +00:00
andres.delikat 6cc75ae98e Hex Editor - fix bug that was causing it to draw 1 row beyond the memory domain if scroll bar was maxed 2011-08-21 23:42:12 +00:00
andres.delikat cdb79b2143 More Hexeditor Speed optimizatons - don't calculate number of address digits 60 times a second, do it on data size change, add domain name to stringbuilder instead of its own draw method, tighten up drawing area 2011-08-21 23:34:33 +00:00
andres.delikat 680fd8a6e0 Hex Editor - Some speed optimizations: don't set the Header string 60 times a second, instead setting whenever the data size changes. Also add it to the stringbuilder instead of drawing it seperately 2011-08-21 23:05:45 +00:00
andres.delikat 9ccb33a191 2011-08-21 22:26: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 27478a5feb Ram Watch - restart function reloads the existing watch file (if any) else starts a new one. The annoying consequence of this is that restarting a movie will wipe any unsaved changes, but I don't see a way around that currently. 2011-08-20 15:41:33 +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 e462ba80e5 Ram Search - fix toolstrip location 2011-08-20 13:30:57 +00:00
andres.delikat 5b3074a222 Ram Search - fix bug that was causing the Search button to fire twice 2011-08-20 13:15:17 +00:00
andres.delikat 368702d843 Ram Search - refix the Add To RamWatch toolstrip button 2011-08-20 13:02:25 +00:00
andres.delikat 3cb79b0dc7 Hex Editor - ~2 fps speedup 2011-08-18 23:50:20 +00:00
andres.delikat e62f68f48e Ram Search - fix anchoring of tool strips 2011-08-18 21:28:15 +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 a8fb30e517 Hex Editor - fix Add To Ram Watch and Freeze Address menu items to use the Highlighted address not the pointed to address (which would never be an address since the mouse would not be on an address!) 2011-08-18 01:55:47 +00:00
andres.delikat 4b021113fb Hex Editor - Fix so Ctrl+G hotkey works 2011-08-18 01:50:17 +00:00
andres.delikat c5f2d02f68 Ram Watch/Cheat Window/Lua Console - when deleting, clear selected items 2011-08-17 00:26:34 +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 7357f82ffa oops 2011-08-07 20:55:06 +00:00
andres.delikat 9809cb317a MemoryViewer - slight refactoring 2011-08-07 20:54:26 +00:00
andres.delikat d55debbb3e Hex Editor - refresh address display after typing in values or highlighted address changes by key press 2011-08-07 20:31:49 +00:00
andres.delikat 19b4072346 Hex Editor - refix typing in of values 2011-08-07 20:20:07 +00:00
andres.delikat 6953782167 Hex Editor - remove useless text box that was going to be a find by value box, will put that off until a future release 2011-08-07 20:00:35 +00:00
andres.delikat fae70a6e0e Hex Editor - scroll when pressing up or down, fix some crash bugs, implement Pg Up/Down, Home, End hotkeys 2011-08-07 19:53:52 +00:00
andres.delikat 53fd0aa877 Hex Editor - Dump To File implemented 2011-08-07 19:30:01 +00:00
andres.delikat c00fe0d00b Hex Editor - add char viewer, shrink font, make drawing a bit more efficient 2011-08-07 19:12:26 +00:00
andres.delikat 52507fbb24 Hex editor - correctly use stringbuilder 2011-08-07 17:34:33 +00:00
andres.delikat 548c881ace Hex Editor -Revert previous commit because it made every row the same, also applied some very tiny speed ups 2011-08-07 16:32:50 +00:00
andres.delikat cce572f0c8 Hexeditor - stringbuilder for a slight speedup 2011-08-07 15:54:29 +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 fdacd090db Ram Search - GUI fixups 2011-08-07 03:11:54 +00:00
andres.delikat fd36356536 Mainform Status Label - add a Cheats status button. Displays if there are active cheats, clicking it opens the cheat window 2011-08-07 02:12:41 +00:00
andres.delikat 7a6bc33ebc Removing a cheat turns off the cheat as well 2011-08-07 01:50:50 +00:00
andres.delikat 6c252d08fa Fix so that cheat list isn't cleared after loading a .cht file automatically in mainform. Add a destructor to the Cheat Object that clears the corresponding memory pulse. Make a Clear() function on CheatList that clears the MemoryPulse, Cheat Window - Disable All Cheats clears the memory pulse even those not in the CheatList 2011-08-07 01:16:55 +00:00
andres.delikat 15743552e2 Cheat Window / Ram Watch - Select All menu item and Ctrl+A hotkey. Ram Search - add Ctrl+Z hotkey to Undo menu item 2011-08-07 00:56:21 +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 df5d27e0f3 Cheats - better icon, fix Save function to use default filename and save automatically, refactored into its own Save() function 2011-08-06 22:25:37 +00:00
andres.delikat 95c8e709b6 Cheats - more fixes, in particular saving & loading the .cht file from the same path! 2011-08-06 22:03:10 +00:00
andres.delikat 9826e26a4b Cheats - fix the adding of a cheat from another dialog (Ram Watch/Search, Hex Editor, etc) 2011-08-06 19:49:21 +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
beirich a1c562259d Client-side cheats system added, works on all cores with working PokeByte() 2011-08-03 03:00:19 +00:00
beirich 6f379cee76 remove freeze system; replacement incoming 2011-08-03 02:13:42 +00:00
andres.delikat 183ef7f14c Cheats implemented in the TI83 core, show messagebox on Cheat enable failure 2011-08-02 22:41:47 +00:00
andres.delikat 7bfd9779fe Hide Selection = false on all the virtuallistview objects 2011-08-02 03:07:47 +00:00
andres.delikat 60d14b7efe Add message to screen whenever a cheat (freeze) action is performed in a dialog 2011-08-02 03:00:12 +00:00
andres.delikat 11c5dd04ac Cheats Window stores the cheat list while not open, thus is should probably not erase it on load 2011-08-02 02:49:29 +00:00
andres.delikat 54b7d7b528 Cheats - try/catch all cheat enablings, disable dialog if core isn't supported (hacky but informative) 2011-08-02 01:12:43 +00:00
andres.delikat 3011757978 Cheats - don't crash when loading a .cht file if cheats have not been freezedata has not been implemented on that particular core 2011-08-01 23:47:40 +00:00
andres.delikat 97ba81c95d Cheats - If cheat directory doesn't exist when saving, create it. Fix bug where PCE cheats were saved in GB folder, if adding a cheat from another dialog - flag Changes 2011-08-01 23:42:09 +00:00
andres.delikat 6dc3c25a8d TAStudio - don't attempt to do winform things in Restart() if window is not open 2011-07-30 18:54:49 +00:00
andres.delikat e121498c4c TAStudio - fix updating of nes control pad, add menu item "Update Pads on Movie Playback", different color for control pad button background when pressed 2011-07-30 17:59:18 +00:00
andres.delikat e4ba668d31 NES & SMS controls VirtualPads (Reset/Pause/Power/Etc) 2011-07-30 13:48:13 +00:00
andres.delikat 1cef6ac3be fix build error in last commit, oops 2011-07-30 12:22:33 +00:00
andres.delikat 6af8649e84 TAStudio - virtualpads update on movie playback, used monospace font for listview 2011-07-30 03:00:18 +00:00
andres.delikat 672b8455fd TAStudio - use saved window position, save window size, slight GUI tweaks 2011-07-30 01:26:13 +00:00
andres.delikat d6897ad328 Tastudio - PCE virtualpad done, 4 pce controllers added to controller box 2011-07-30 01:09:44 +00:00
andres.delikat 81fe6e200c TAStudio - Fix SMS virtualpad so that it controls input 2011-07-26 02:47:21 +00:00
andres.delikat ef33763383 TAStudio - fix rewind 2011-07-26 01:08:38 +00:00
andres.delikat de0e7770fc TAStudio - implement ClearPads() and Restart() and hook them up to the stop movie button. Fix Virtualpad objects so they don't crash on the Clear() function 2011-07-26 00:26:05 +00:00
andres.delikat ea472ee043 Clean up virtualpads to use StickyXORAdapter, have a Clear() function, and to be aware of what controller they are using 2011-07-24 20:17:21 +00:00
andres.delikat 813e0d0d97 SMS virtual pad, but pressing the buttons crashes currently 2011-07-24 19:31:58 +00:00
andres.delikat 45414435b4 TAStudio - make virtualpads load dynamically, load 2 nes pads if an nes controller 2011-07-24 17:29:09 +00:00
andres.delikat eda56bac8c Mainform cleanup - move all menu/event handling functions to Mainform.MenuItems.cs, move some more code to Mainform.Movie.cs, minor code cleanup 2011-07-22 01:34:21 +00:00
andres.delikat e6b2c794d4 Refactor the movie object, replacing Getfunctions with public properties, renaming of some functions, removing a duplicate function, other misc things 2011-07-17 14:39:15 +00:00
andres.delikat 16e332a72d Fix so that tool dialogs such as Ram watch update on loadstate, Ram Watch - AddWatch() triggers Changes() function, Separator no longer shows Change Count = 0 2011-07-09 00:26:23 +00:00
andres.delikat 945cb9c693 More menu icons 2011-07-03 02:32:29 +00:00
andres.delikat 2b677d3245 Change ToolStrip widgets to ToolStripEx so that they can focus+click 2011-06-28 23:32:55 +00:00
zeromus 33c5182296 fix annoying toolstrip/menustrip non-clickthrough behaviour 2011-06-26 20:10:05 +00:00
andres.delikat 87fb448cc0 Set FullRowSelect on a bajillion listview objects 2011-06-26 19:50:15 +00:00
andres.delikat ed529b9322 Ram Watch - don't start a new watch file when restarting the dialog, at least for now until I find a happy compromise 2011-06-26 19:35:13 +00:00
andres.delikat 98988e4b49 RamWatch - save window position menu item 2011-06-26 19:13:52 +00:00
andres.delikat 4bc5ee663c Cheats & Ram Search - ditto 2011-06-26 19:03:16 +00:00
andres.delikat c8e8cee822 Ram Watch - when saving a new watch, add it to the recent menu 2011-06-26 19:01:06 +00:00
andres.delikat ec7e4123fd Ram Watch - show "saved" message when doing Save, not just SaveAs 2011-06-26 18:56:56 +00:00
andres.delikat 70dc87a971 Lua Console - Move Up/Down, Insert Seperator, other small things 2011-06-26 03:03:15 +00:00
andres.delikat 3569f3cd0a Remove bmp images in favor of png, small implementations to Lua Console 2011-06-26 02:09:06 +00:00
andres.delikat b40c861ee7 Images for all kinds of menu items 2011-06-26 00:06:50 +00:00
andres.delikat 4247b43b07 shut up some warnings 2011-06-22 17:41:59 +00:00
andres.delikat 5bda595ee7 fixs spaces into tabs in a bunch of files because I'm tired of fixing it gradually 2011-06-19 23:39:25 +00:00
andres.delikat 38422fda10 Numpad 2,4,6,8 != Arrow keys! 2011-06-19 23:31:58 +00:00
andres.delikat 42e22b63be Oops - reverse sorting for Ram Watch 2011-06-19 19:20:43 +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 1db89f5c1f Message config - ability to set anchoring of on screen messages. TODO: hook up anchoring to display system 2011-06-16 02:39:35 +00:00
andres.delikat 0894a20e4c Fix alert font so it doesn't clash with displays around it, fix crash on tastudio close, fix play movie from beginning function 2011-06-12 21:36:03 +00:00
andres.delikat bda7db5633 TAStudio - misc small things 2011-06-12 20:33:42 +00:00
andres.delikat cbd292366d NES virtual pad hooked up (behaves as graphical autohold) 2011-06-12 19:31:06 +00:00
andres.delikat 80d4017a7f VirtualPadNES added 2011-06-12 18:58:30 +00:00
andres.delikat f36da18f97 Small fixups to movie & tastudio code 2011-06-12 18:31:42 +00:00
andres.delikat 59173e4e44 Some virtual pad progress, virtual pad dumps input into movie file when recording, currently doesn't feed it to the core though (lol). Virtualpad object set up for a nes controller 2011-06-12 14:42:50 +00:00
andres.delikat 368faf64f4 VirtualPad object, added to TAStudio 2011-06-12 01:50:08 +00:00
andres.delikat 38ca651aab TAStudio - more misc stuff 2011-06-12 00:14:19 +00:00
andres.delikat cd849d9614 TAStudio - more fixups, current frame always in view, better images for tool buttons, fix read-only toggle, Gui cleanups 2011-06-11 23:54:35 +00:00
andres.delikat b527b91252 TAStudio - show input log of movie, very buggy atm 2011-06-11 22:59:21 +00:00
andres.delikat bb0897b3ed Some work on TAStudio, read-only toggle, play movie from beginning, autoload, misc clean up 2011-06-11 22:32:12 +00:00
andres.delikat 895915cd9f Made public flags in main form so that dialogs can control frame advance & rewind. Hooked to TAStudio 2011-06-11 19:39:34 +00:00
zeromus 9ea6a0b7a8 fix various poorly constructed auxfile paths and paths with invalid characters 2011-06-07 21:10:30 +00:00
andres.delikat 36a0580dca Fix a bunch of crash issues with Ram Watch & Cheats related to having no list item selected. Implement Drag & drop for .cht & .wch files on Main form 2011-05-22 20:19:28 +00:00
andres.delikat a249d3b3ed Hook up TASStudio to main form, add a few buttons. 2011-05-22 18:38:44 +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
andres.delikat b3502aebad Hook up cheats path config to Cheats dialog 2011-05-20 20:33:58 +00:00