Commit Graph

464 Commits

Author SHA1 Message Date
mvl1986 c392321bb0 Updated intellisense only shows unique hits and the new files are always added to the console. 2014-01-28 14:04:58 +00:00
zeromus 2275ec234f massive displaymanager/renderpanel refactor. All useful logic is now compact and in DisplayManager. Also, remove the old filter infrastructure, its totally outdated now 2014-01-28 04:39:27 +00:00
adelikat 7fac499996 Lua - finish up documentation and strongly type some more params 2014-01-27 20:19:08 +00:00
zeromus 2ae48a7103 some csproj was jacked due to assemblies move into References. not sure how 2014-01-27 19:50:54 +00:00
zeromus ecb1653d1b remove pasted enum declarations from BizwareGL assembly. we're just gonna use openTK's OpenGL namespace. 2014-01-27 09:45:16 +00:00
zeromus 25cab541b1 assorted cleanup and quick restore of DIspBlurry and Vsync settings 2014-01-27 06:03:18 +00:00
zeromus 857dff9cf4 some small cleanup 2014-01-27 05:37:04 +00:00
adelikat 7417ea7b8f Lua - more documentation and more strong typing of parameters, more fixups to display of parameter types in the Lua functions list 2014-01-27 03:16:05 +00:00
zeromus be49f6fa33 fix mouseclicks on GL viewport 2014-01-27 02:06:05 +00:00
zeromus 055c08179f reorganize some dlls into References directory, im tired of seeing all these things in the project root 2014-01-27 01:11:39 +00:00
zeromus c6997c49c8 use openTK for graphics math types, even if, hypothetically, we make a d3d BizwareGL driver. 2014-01-27 00:38:10 +00:00
zeromus a2ba761ae1 BizwareGL! 2014-01-27 00:02:21 +00:00
adelikat 157f092aa2 Lua clean up Bit and Client libraries by using strongly typed numbers as a proof of concept that we can 2014-01-26 20:36:00 +00:00
adelikat 70feebf229 Add documentation to as many lua function as I can sanely do in one sitting 2014-01-26 18:36:27 +00:00
goyuken f734665f67 nes: remove unused variables in mapper087 2014-01-26 16:34:04 +00:00
adelikat 91fdad9d45 LUa - whack now unused code 2014-01-26 16:21:20 +00:00
adelikat 5f9757d7d0 Lua - finish up refactoring remaining lua libraries 2014-01-26 16:15:45 +00:00
adelikat bce8320b85 Lua - new Register method on some more libraries 2014-01-26 13:30:45 +00:00
adelikat 583be2516c Lua - new registration system added to NES and SNES libraries 2014-01-26 03:26:52 +00:00
adelikat ac9e4c1d3d Lua - same to movie library 2014-01-26 02:50:26 +00:00
adelikat 988ed03198 ditto for Memory library 2014-01-26 02:43:28 +00:00
adelikat 94d20e92f4 Lua - new register system for Main Memory library and a bunch of cleanup for that lib 2014-01-26 01:48:32 +00:00
adelikat c6859a6d4f Lua ditto for joypad library and slight fix documentation 2014-01-26 00:01:40 +00:00
adelikat c66e529fb7 lua - ditto to Events library 2014-01-25 21:37:25 +00:00
adelikat 65d50ca329 Lua - refactor emu library to use the new registration method, documentation is all "TODO" 2014-01-25 21:10:51 +00:00
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
goyuken 9be3364db4 FDS: fix menu bug 2014-01-20 17:18:55 +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
null_ptr 8530baee0c Fixing N64SyncSettings not being saved 2014-01-20 12:15:07 +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
zeromus c10fbed709 make ram search reboot icon red 2014-01-20 04:31:49 +00:00
pasky1382 a2dd821474 Added new EmuLuaLibrary.String, contains decimal to hex string and binary string. 2014-01-19 16:36:43 +00:00
goyuken 77e87688c3 NES: fix CPROM with bad dumps. also fix small mainform menu bug with core selection 2014-01-18 15:36:35 +00:00
mvl1986 9963518715 Added sorting to the columns in the ListView 2014-01-17 11:51:52 +00:00
mvl1986 ce36a94894 Still part of commit 5824 2014-01-16 17:00:55 +00:00
mvl1986 7e685551c8 Added Sorting to DetailsView in PlayMovie 2014-01-16 16:41:13 +00:00
adelikat 510c49fd01 Remove the CheckHotkey concept as I have decided it was overengineering, but move hotkey stuff to its own subform of MainForm 2014-01-16 16:32:34 +00:00
mvl1986 b342e6a195 Added sorting to the Datagridview 2014-01-16 13:47:04 +00:00
adelikat dcde99d1e1 Archive Chooser - restore double-click selection (weird that I had to do it this way), and resize some things 2014-01-16 02:38:27 +00:00
adelikat 3904951c60 INTERIM the core selection menu item 2014-01-15 22:37:59 +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
null_ptr 2696ac07a0 Prevent file list from redrawing during update 2014-01-13 16:17:56 +00:00
null_ptr 5aae3feeb5 Filter focused at startup of ArchiveChooser
Filter TextBox above search TextBox
Files now sorted by plain filename
2014-01-13 15:59:54 +00:00
null_ptr 1a6c86d049 ComboBox.Text for Glide64mk2 and Glide64 fixed (was wrong order)
Last commit: Added filter and search ArchiveChooser
2014-01-13 14:51:12 +00:00
null_ptr 8d7dee578c 2014-01-13 14:41:50 +00:00
goyuken c67b7b74d7 is this why people write closed source code? so embarrassing stupid mistakes that last for thousands of revisions are never known to the world? oh well. 2014-01-12 19:11:11 +00:00
goyuken 7fa5de3c15 add Flip Axis button to AnalogBindControl. resolves issue 139 2014-01-11 15:11:49 +00:00
adelikat 9b068a3cf2 Some clean up of NES config dialogs, and menu item display logic 2014-01-10 17:41:13 +00:00
adelikat baf099afdf some Mainform cleanup 2014-01-10 16:54:53 +00:00
adelikat eabf24c384 bump Increase/Decrease speed maximum from 1600% to 3200% 2014-01-10 16:49:17 +00:00
goyuken 1f1bb93360 quicknes: some settings stuff, not all finished 2014-01-09 23:50:10 +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 768b940cfc fix auto-loading of Nes GG dialog on quicknes 2014-01-07 00:56:50 +00:00
goyuken e86ff9d25a run mainform through the designer as a precaution (had a merge conflict earlier...) 2014-01-07 00:36:24 +00:00
goyuken 9546d11f40 quick and dirty core selection setting for NES 2014-01-07 00:34:40 +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
adelikat 78e672efb3 NES Menu - cleanup some logic, and restrict Nametable viewer and PPU Viewer to NesHawk only 2014-01-06 23:56:30 +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
goyuken d67a2d0df1 neshawk: show preview of palette to be selected in palette config 2014-01-06 20:23:21 +00:00
adelikat 8daccb972d Ram Search - fix behavior of the Memory Domain label 2014-01-04 16:19:00 +00:00
goyuken b416aebd45 fix GPGX to two 6 button controllers for movie 1.0 2014-01-03 20:01:52 +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 008a29fc41 remove revision number from gambatte in the about box, since gambatte is now on a git system, and we have a cherry picked version anyway 2014-01-02 02:07:25 +00:00
adelikat 3fd6da23a6 lua - add client.get/set displayfilter() and get/set scanlineintensity() 2014-01-02 01:11:00 +00:00
goyuken 8ed0265c9d remove a bit of hackish stuff in the new RomLoader by offloading mainform-appropriate work back to mainform 2014-01-01 21:24:58 +00:00
adelikat 180efd8e44 Run Tools.AskSave() before attempting to load a rom, and back out of that action if the user cancels 2014-01-01 19:07:23 +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
goyuken a399dbe91e NES: Move boardproperties into movie 2.0 syncsettings objects, and add a rudimentary UI for changing them 2014-01-01 03:03:10 +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 5e0db12638 Path Config - some code cleanup, mostly removing the obsolete hack of delaying tab creation until the tab is clicked (setting visibility of the tab conrol while creating tabs fixed the performance issue completely). 2013-12-27 17:27:33 +00:00
adelikat ca5a54b283 Path Config - Show Genesis in non-interim builds 2013-12-27 16:52:15 +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 4ea95ac94e New way of doing hotkey logic in mainform, only 3 hotkeys are converted to this way because I got bored 2013-12-27 16:23:12 +00:00
adelikat 9d8945160c Mainform cleanup - remove core check in snes layer toggle methods since there is no logic there that requires an SNES core instance 2013-12-27 15:10:11 +00:00
adelikat 2d51ac5d13 Move a function from mainform to moviesession 2013-12-27 14:39:01 +00:00
goyuken a005767463 random cleanup 2013-12-27 04:41:50 +00:00
goyuken e3165459d8 saturn to new settings system 2013-12-27 03:02:28 +00:00
adelikat f122105b42 oops, put Rewinder in Global not GlobalWin 2013-12-27 01:19:38 +00:00
adelikat b5d3f68126 Move rewind code to client.common 2013-12-27 01:14:17 +00:00
adelikat edb5560da7 A round of cleanup on rewind code - break subclass into their own files, into a rewind subfolder, cleanup some formatting and naming 2013-12-27 00:47:52 +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
goyuken 2171d4cd00 n64: support new settings system. regression: n64 video plugin settings are no longer stored in movie 1.0 files nor read from them 2013-12-26 23:04:22 +00:00
goyuken 9fe0525746 settings load cleanup 2013-12-26 20:19:28 +00:00
adelikat 1232642c15 some minor code cleanup of MainForm.cs 2013-12-26 01:00:44 +00:00
adelikat db5684b4db Create a RomLoader object in Client.Common and port over a bunch of code from EmuHawk. Still a lot of refactoring, and probably more logic can be moved to common, and things need cleanup, and there is possibly bugs.
This commit breaks coleco rom loading, to settle a merge conflict with the previous commit
2013-12-25 19:09:53 +00:00
goyuken cff6a517f5 coleco to new settings system 2013-12-24 23:32:43 +00:00
adelikat e711a6ec6f Move SwapBackupSavestate() from EmuHawk.Mainform to Client.Common.SaveSlotManager 2013-12-24 22:20:18 +00:00
adelikat dd63395f67 move some stuff from EmuHawk to Client.Common 2013-12-24 21:59:41 +00:00
adelikat 302e71edc3 Rework some input stuff in preparation for moving it to common 2013-12-24 21:37:51 +00:00
goyuken 82c82b681a connect a26 to the new settings setup. unlike all those before it, the menus have changed a bit, but all of the functionality is still there. in movie 2.0, a26 will store the two difficulty switches and the bw\color switch as syncsettings 2013-12-24 20:50:53 +00:00
goyuken bdfbafdfca SMS: support new settings infrastructure. this adds enableFM and allowOverclock as sync relevant settings for movie files (but of course, they won't end up in Movie 1.0 files) 2013-12-24 01:06:17 +00:00
goyuken 916e0029c4 GPGX: support new settings system. this means you can now connect all manner of weird arse controllers, but some aren't implemented in other places yet. 2013-12-23 23:03:12 +00:00
goyuken 50e3691181 new setting system: misc cleanup 2013-12-23 21:54:10 +00:00
goyuken 2558e76b5d fix rewind on N64, gpgx.debug 2013-12-23 20:34:02 +00:00
goyuken bf20188462 add winform edit for dual gameboy settings 2013-12-23 16:58:20 +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
goyuken d37796ab1c more new core config framework; this time GAEMBOY 2013-12-23 02:51:41 +00:00
adelikat 05e2f67771 Move some tool loading logic from mainform to toolmanager 2013-12-22 23:34:22 +00:00
goyuken f992672051 NES add sound volume settings to config object 2013-12-22 21:47:16 +00:00
goyuken 0347fc5eef core settings stuff etc 2013-12-22 20:41:21 +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 5fc78efe85 Fix exception when a "Starts from Now" movie is made with the record movie dialog when the folder selected does not already exist 2013-12-22 19:06:57 +00:00
adelikat d5ea2567ba Context Menu - fix logic for showing Add Subtitle 2013-12-22 18:54:07 +00:00
adelikat 4584b0a054 Path Config - fix defaults button, remove "DEBUG" tab and some code cleanup 2013-12-22 18:36:27 +00:00
adelikat 5e05882b70 Hotkey config - fix spacing bug 2013-12-22 17:14:22 +00:00
adelikat c48f93d099 Restore saveslot statusbar icons coloring 2013-12-22 17:02:28 +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
goyuken 0cd5af1843 rework NES palette config in new core config system 2013-12-22 06:55:34 +00:00
goyuken a5cdee3780 pce: connect to new settings system 2013-12-22 05:58:24 +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
goyuken 0b8adc6113 fix some massively fubar config stuff from r5653 2013-12-22 02:47:35 +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
goyuken bd205f47dc update our newtonsoft json.net to version 5.0 release 8. this fixes up abstract class handling so that the CoreSettings can work correctly.
tweak Binding, RecentFiles, and PathEntry to work with the new serializer.  on updating to this revision, you should be able to keep all config.ini settings except for hotkey bindings, path layouts, and recent files list.
start implementation of new CoreSettings and CoreSyncSettings.  at the moment, it's only partially done for NES.
2013-12-22 00:44:39 +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 7ddfc9e013 call UpdateCheatRelatedTools() in CloseRom() 2013-12-21 19:34:01 +00:00
adelikat d45ba09f50 Hex Editor - a bit of code cleanup 2013-12-21 17:51:07 +00:00
adelikat 9a42da7bf1 Wire ToolHelpers.UpdateCheatRelatedTool() to the CheatList changed event handler 2013-12-21 17:25:52 +00:00