Commit Graph

567 Commits

Author SHA1 Message Date
rolanmen1 3bcaa8f2e6 gui.clearGraphics implemented. This will allow the user to clear the graphics whenever he wants. I also created a function ClearDisplaySurface that is used to clear the graphics whenever the user stops a scripts. 2012-04-27 20:15:07 +00:00
Rolanmen1 f637f5f400 gui.text now has a line color parameter. 2012-04-24 15:23:56 +00:00
rolanmen1 cefc803425 gui.text now accepts BackgroundColor parameter. I didn't had enough time to check stuff, so i will check more deeply some other time. 2012-04-24 03:57:23 +00:00
adelikat 8711c49819 Cheats - on screen message when Disable All Cheats is performed. 2012-04-21 22:42:32 +00:00
adelikat 3bae8da0b6 Adjustment to height settings of osd messages, code clean up in movie.cs 2012-04-16 12:17:25 +00:00
zeromus 35fbe354c1 add threaded display manager to allow heavy OSD/compositing/filtering to happen on another thread. add a lua layer accessible via GDI+ which can be automatically composited and the simplest possible demo of it. add some filtering infrastructure and a hq2x filter set ported to c# but need to work on a minimal selector gui before its usable. separate OSD from RenderPanel so that gdi+ presentation mode now gets full OSD support. the OSD is now a little uglier because its drawn entirely differently and could use some finetuning 2012-04-16 08:18:41 +00:00
adelikat 87fa6d5f17 Hex Editor - Context menu - fix "Add to Ram Watch" hotkey display to be Ctrl+W (was left as A) 2012-04-06 02:04:00 +00:00
adelikat 59f92b4c81 TAStudio - atari virtualpads 2012-04-01 18:53:06 +00:00
adelikat ab2e804300 Change default movie extension to .bkm 2012-03-31 00:38:39 +00:00
brandman211 4240c119b6 Fixed Issue 14, which mentioned that in TAStudio, frame numbers of more than 5 digits don't display properly by default. I fixed this by increasing the width of the Frame column as much as I could without making the section horizontally scroll. This accommodates for 6 digits. 2012-03-30 14:24:40 +00:00
Rolanmen1 e0d98c8a7f Fixed: * if a lua script errors it stops, but you can't toggle it back because you can't resume a non-suspended script 2012-03-29 20:22:49 +00:00
andres.delikat ca7d5d9131 Lua Console - add online documentation link to the Lua Function wiki 2012-03-28 20:49:58 +00:00
adelikat 71396ad4b7 Lua - sort the functions in the lua function list (both in the console dialog, and console.luafunctionslist()) 2012-03-28 12:26:43 +00:00
rolanmen1 3e84fc9936 Lua - Implemented movie.getinput()
NOTE: There may be uknown errors.
2012-03-27 15:45:50 +00:00
rolanmen1 5e25b15100 Lua Console - Save Menu Option Now Enables Even When There's No Session Loaded
ListView Refreshes When Loading A Session From Recent
When Clicking On New Lua Session Option, It Now Cleans The CurrentLuaSession String. This Will Prevent Some Unwanted Results When Saving A Session.
2012-03-27 13:54:29 +00:00
rolanmen1 5337fb2213 Lua Console Now Saves And Loads Sessions With Separators 2012-03-27 13:31:30 +00:00
brandman211 9ff5f10a70 Resolving Issue 13. Easy fix; just needed to check if the string was empty before doing substring operations on it. 2012-03-27 07:48:05 +00:00
zeromus 46a638ee96 fix bug in lua coroutines which made error propagation get mixed up and possibly result in a bunch of other subtle bugs 2012-03-27 07:25:36 +00:00
rolanmen1 36c4dee7b8 Show Errors On Lua In The Output Box More Accurately 2012-03-27 03:34:21 +00:00
adelikat f145d8e655 Cheat Window, Ram Watc, Lua Console - fix exception when clicking Move Up on the first item in the list. 2012-03-26 23:38:29 +00:00
adelikat 602ee06ffc Lua Cosnole - output message at bottom of dialog to show if changes have occured and saved messages (same as other tool dialogs such as ram watch). Better minimize size parameters of dialog. 2012-03-26 23:31:21 +00:00
rolanmen1 908a9a11c5 Lua Console - Save Session Menu Option Should Now Enable/Disable Correctly. Also Added The Condition That There Should Be At Least One Script To Be Able To Save. 2012-03-26 13:46:28 +00:00
rolanmen1 e2e3ee3301 Loading A Script With Errors Via Load Lua File Now Disables And Shows Error In Output Box. Toggling On A Script With Errors Disables Itself Right Away. 2012-03-26 08:52:06 +00:00
adelikat 7daf318134 gui.text() - add a 5th parameters "anchor" that will anchor the text to top, left, bottom, or right. Same functionality as the message config anchor option. 2012-03-26 02:58:24 +00:00
adelikat f72fce15fd Lua Console - fix anchoring properties 2012-03-26 01:41:39 +00:00
rolanmen1 5283b4c06c Avoid Crashing After Trying To Delete A Script With Errors. 2012-03-25 15:34:09 +00:00
rolanmen1 35f42b94f3 Dragging A Lua Session Now Works. Script Errors From Dragging Sessions Now Appears In The Output Box. 2012-03-25 14:51:35 +00:00
rolanmen1 75c0a9f7d3 Script Errors Now Appears In OutputBox. 2012-03-25 09:47:31 +00:00
Rolanmen1 e9e988a83e When Loading An Script With An Error, BizHawk Won't Crash. For Some Reason I Couldn't Show The Script Error In The OutputBox. 2012-03-24 21:55:37 +00:00
Rolanmen1 d0afec182f Pause/Resuming Scripts Have Been Implemented 2012-03-24 18:59:24 +00:00
rolanmen1 d0995970fc User Can't Toggle, Edit Nor Pause Or Resume To Separators. Edit Buttons Now Opens Multiple Scripts Instead Of The First Selected. 2012-03-24 13:25:19 +00:00
rolanmen1 87f9ace0d9 Added Resume/Pause Script Option Everwhere It Should Be And Also Added Pause Icon To All Of Them. 2012-03-24 12:43:11 +00:00
rolanmen1 661565cf3e Added Pause Property To Scripts, Menu Option To Pause/Resume Scripts, Enabled And Paused Scripts Change It's Background To Red (May need to change this). Label Above ListView Shows How Many Scripts Are Paused. Need To Add Pause Icon To The Menu Option. 2012-03-24 10:53:26 +00:00
zeromus 5f39ba5bbd add emu.yield, which when used allows a script to run while emulation is paused and interact with the gui/main window in realtime 2012-03-23 23:03:39 +00:00
zeromus aaf92e0e25 how did that happen 2012-03-23 19:48:45 +00:00
zeromus bc3e8606a2 refactor lua scripts to be more flexible 2012-03-23 19:44:47 +00:00
zeromus 0372969f13 change lua to use lua coroutines for multiple scripts instead of .net threads 2012-03-23 18:24:29 +00:00
rolanmen1 dcaf724dae Fixed A Bug When Saving A Session That Prevented Them To Be Loaded Correctly. 2012-03-21 12:51:52 +00:00
andres.delikat bb7e320f92 Lua Console - when opening a duplicate lua script, don't turn script on if the disable lua script on load option is checked 2012-03-20 21:44:34 +00:00
rolanmen1 652fea7392 If User Opens A Script That Is Currently On The Session, It Will Toggle It On.
If User Deletes The Script From The Session, It Will Stop.
Script Counter Now Updates On More Circumstances.
2012-03-20 15:31:06 +00:00
andres.delikat da634a45f1 Lua Console - autoload session 2012-03-19 16:49:47 +00:00
andres.delikat 33383b533b Lua Console - option to disable scripts on load 2012-03-19 16:19:31 +00:00
andres.delikat adda412369 Lua Console - track changes on Move Up / Down 2012-03-19 15:33:38 +00:00
andres.delikat 40b057a474 Lua Console - drag & drop .txt files 2012-03-19 15:26:05 +00:00
andres.delikat 9f6420b2bc Lua Console - Open Script - add a *.txt option in the openfile dialog 2012-03-19 15:23:08 +00:00
zeromus d0354fd1fe fix lua poop 2012-03-17 23:40:30 +00:00
adelikat 338f4230f1 Lua Console - logic for hiding/disabling menu items 2012-03-17 23:16:11 +00:00
adelikat 300f68e8b7 Lua Console - implementing changes tracking and asking to save changes 2012-03-17 22:23:52 +00:00
adelikat 97f32bde91 Lua Console - implement recent session 2012-03-17 21:59:56 +00:00
adelikat 44ba1c2594 Lua Console - implement Save Session and Save Session As 2012-03-17 21:31:48 +00:00
adelikat c3aeda2d54 Lua Console - clear output window on New Session 2012-03-17 12:19:30 +00:00
adelikat 1380cccd7a Lua Console - output window - context menu with a clear option 2012-03-17 12:14:59 +00:00
adelikat dac438ec02 Lua Console - Better dialog for lua functions list, stop and start sound on calling list 2012-03-17 02:18:09 +00:00
Rolanmen1 a8df8116e6 Toggling Lua Scripts By Double Clicking Now Works 2012-03-13 22:39:07 +00:00
Rolanmen1 ff21856389 Toogling Scripts From The Toogle Button And Menu Option Works, Double Clicking Doesn't 2012-03-13 22:08:17 +00:00
adelikat 635ae613a4 Ram Watch - when drawing watches on screen, use alert font for frozen addresses 2012-03-11 00:50:06 +00:00
adelikat 7e38f4a940 Hex Editor - move Add to Ram Watch to Ctrl+W instead of A! A is a hex value that should be able to be typed in 2012-03-10 02:31:34 +00:00
adelikat 88424ca2b7 Fix a few warnings 2012-03-09 20:38:44 +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
taotao54321 9716387b2f HexEditor: set defaultWidth/Height at loading, not in constructor 2012-03-09 17:14:39 +00:00
taotao54321 389693e6f4 HexEditor: member Width, Height hide the original property Width, Height. So renamed to Width_, Height_ 2012-03-09 16:37:55 +00:00
taotao54321 0e2341b37f Sometimes HexEditor forgot the settings, so fixed it
And refactored loading/saving settings
2012-03-09 16:13:40 +00:00
adelikat 2dd03cbf03 Hex Editor - dynamically add unfreeze option to the menu item as well. 2012-03-09 01:50:39 +00:00
adelikat 502e395be0 Hex Editor - some hotkeys - A for Add to Ram Watch, Del for unfreeze, Shift+Del for unfreeze all 2012-03-09 01:43:52 +00:00
adelikat 5376186eb0 Hex Editor - Context menu - if address if frozen, show an unfreeze menu item instead of freeze 2012-03-09 01:33:55 +00:00
adelikat f0de9366ec Hex Editor - space bar toggles an address as frozen/unfrozen 2012-03-09 01:24:46 +00:00
adelikat f48de28581 Hex Editor - + and - buttons now increment/decrement the value of a selected address (added context menu items as well) 2012-03-08 18:33:57 +00:00
adelikat bd7c9e3309 Lua Console - implemented open lua script toolstrip icon 2012-03-05 14:27:29 +00:00
zeromus dec7183e73 fix bug in ramwatch signed value printing, and probably unsigned 32bit value printing as well 2012-03-04 21:46:54 +00:00
brandman211 91ea63c09e -Made the errorMsg in ImportFile display.
--Moved the command message in ImportText to this.
-Converted ImportVBM to use a MnemonicsGenerator.
--This should work, but I can't test as I still don't know for sure as the import fails and displays "Not a valid VBM platform type."
--I iterated through the buttons using a list and left-shifting. I applied this method to ConvertMMV, which works.

TODO:
-Comment MovieImport.cs.
-Fix the exception that is thrown for Gameboy games.
-Get ImportVBM to actually work, scanning through the input to see if it seems sane.
-Figure out why pressing Pause on GameGear results in a "P" instead of a "p", and whether or not this is a factor in runs syncing.
2012-02-24 04:44:40 +00:00
andres.delikat 8e241067e6 Lua - hook up savestate library and implement saveslot() and loadslot() methods 2012-02-03 12:18:27 +00:00
kylethomson ca1114311c Kill the lua thread as part of closing. 2012-01-29 03:22:05 +00:00
andres.delikat c7cc0ee203 lua - implement memory.getcurrentmemorydomain(), memory.getmemorydomainlist(), memory.usememorydomain() 2012-01-28 22:30:04 +00:00
andres.delikat 2e0ac111ab Proper checking if lua is running when doing thread waiting/set 2012-01-28 22:00:51 +00:00
andres.delikat 0082876510 LuaConsole - protect WriteToOutputWindow() and ClearOutputWindow() in case lua console is closed when called. Close the lua object on LuaConsole close (fixes some crashes). 2012-01-28 21:51:01 +00:00
andres.delikat 7ac7f335f9 send FromCuePath a default CueBinPref object to make it compile. Todo: feed it a correct value?? 2012-01-22 23:56:49 +00:00
kylethomson 16ec704e41 Added Frameadvance with threading. Can't test, because CueFromPath is broken. 2012-01-22 23:44:53 +00:00
andres.delikat abf0698e43 oops 2012-01-22 23:07:50 +00:00
andres.delikat d4260e22b1 Lua Console - hook up recent lua menu items, and start lua session file loading 2012-01-22 23:03:43 +00:00
andres.delikat defbe971c4 Lua - open/close rom, open tool dialogs, fix memory_readbyte to read from a selected memory domain instead of hardcoded main memory (with main memory as the default), small fix ups to lua console 2012-01-22 22:42:40 +00:00
andres.delikat 78cc4d5cae Lua - started a client library for functions that control the multiclient. Added client.openramwatch() as a proof of concept. 2012-01-22 22:20:09 +00:00
andres.delikat 48c651cfc7 Lua Console - lua functions list menu item. Lua - console.clear, console.getluafunctionslist, emu.getsystemid 2012-01-22 03:14:31 +00:00
andres.delikat 95a769aa0c Lua console - minor gui fixups 2012-01-21 20:38:43 +00:00
andres.delikat 955cee21b6 Lua console - hook up lua file loading! Lua library - Added a console library with an implemented console.output(), registered all lua libraries, implemented movie.stop, movie.rerecords, movie.mode 2012-01-21 20:05:53 +00:00
andres.delikat ed02a2e951 Lua Console - another round of dialog fix ups 2012-01-11 02:29:50 +00:00
andres.delikat 3e2e657dcf Lua Window - various dialog fix ups like toggle, storing recent files, drag & drop 2012-01-10 03:12:01 +00:00
andres.delikat d6a57e08c1 Toolbox - reload icons on rom open/close so that core dependent tools update. 2012-01-10 02:11:17 +00:00
andres.delikat c871eedbbc Debugger icon, add to gameboy debugger menu item, add gameboy debugger to toolbox (conditional on gb emulation) 2012-01-10 02:02:11 +00:00
andres.delikat ee440f140f Lua Console - hook up autoload, fix hotkey and toolbox to open lua console (not the old lua window dialog). Add TAStudio to the toolbox dialog. 2012-01-10 01:30:17 +00:00
andres.delikat 823edd2f67 store lag frame information into movies. Have TAStudio highlight lag frames in pink. Currently only hooked up for the NES core. 2012-01-08 23:51:53 +00:00
andres.delikat 9cbe8626f3 Ram poke - Implement memory domain selection, on memory domain selection set addressbox length, reset address & value. Hex Editor - when show frozen addresses, check that addresses is in the selected memory domain. Cheat Window - update memory domain selection when clicking a cheat list item 2011-09-17 16:39:43 +00:00
andres.delikat 321a45722e Hex Editor - use Ram Poke dialog for the Poke address function. Ram Watch - Successfully stop/start sound on ram poke 2011-09-17 15:35:39 +00:00
andres.delikat 7141ed0fa4 Ram Poke - limit number of digits in value field on load and on data size change, fix bug where signed & unsigned parsing was swapped 2011-09-17 15:17:00 +00:00
andres.delikat 3614708e83 Ram Poke - show memory domain in text property, format address and value text boxes on load 2011-09-17 15:10:58 +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 a3c500193f Ram Poke - show "0x" next to value when value type is hex, for clarity, make that check on load 2011-09-17 14:38:21 +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