Commit Graph

193 Commits

Author SHA1 Message Date
nattthebear 2a0e859a85 Add 64 bit build (doesn't work yet), move SlimDX.dll 2016-02-28 15:06:03 -05:00
zeromus 0da6e745e5 move EnvironmentSandbox and LuaSandbox to Client.Common 2016-01-30 18:37:30 -06:00
Hathor86 708bb4fa93 Final stuff to WatchList
Now fully use comparer class. That saves memory and offer extensibility
ItemCount property obsolete => Moved to Count property (which did the same thing)
Moved ConfigPersistAttribute.cs, IToolForm.cs, IToolFormAutoConfig.cs back to common
2015-12-09 00:54:54 +01:00
Hathor86 32271899c3 Comments on Watch derived class; started on watchlist
+ Moved WatchList.cs to specific directory (just a matter of ordering)
+ Mark some properties and methods in watchlist as obsolete
+ Create Comparer class that are used for sorting (Only domain and
address atm, other a still stored with linq). Unlike OrderBy in LINQ, it
doesn't create a new list for sorting (so it saves memory), furthermore,
it runs faster.
Finally, change to type of Watch.Address from nullable lon to regular
long (the rare times watch.Address.Value was used, there wasn't any
check of null and so, program would have crashed -
InvalidOperationException -)
2015-12-01 22:18:55 +01:00
Hathor86 1e2f4e12be Watch refactoring
Some improvement when you get Available types. Used to return a new
array each time you call the function. It has been transformed into an
IEnumrable and yield return.
DisplayType, PreviousType and Watchsize have been moved outside the
Watch Class
2015-11-28 22:52:00 +01:00
Hathor86 d4b4c06f0c Draft of API
So, I create a new dll named BizHawk.Client.ApiHawk and moved few stuff
to it.
Also moved some stuff to BizHawk.Client.Common. Don't think it can be
desiociated.

I started comment Watch and rearrange code (put some #region etc...

It compiles and it seems working :)
2015-11-26 23:05:29 +01:00
zeromus 28eae0dcb1 Revert "Revert "common logic for tempfiles""
This reverts commit 5196fc6b70.
2015-11-17 17:26:03 -06:00
zeromus 5196fc6b70 Revert "common logic for tempfiles"
This reverts commit 5afa44bbec.

and also "fix regression in libretro core loading and streamline open advanced libretro ui"
59048264cd but tortoisegit didn't put that in the commit message.
2015-11-17 17:10:27 -06:00
zeromus 5afa44bbec common logic for tempfiles 2015-11-15 03:01:58 -06:00
zeromus 22192e700b attempt to make it possible to store movies on disk instead of in memory 2015-11-15 02:27:48 -06:00
feos 19add0ec93 tastudio: save/load TasSession variables in .tasproj.
right now only includes current frame and branch. current scroll is not needed as we GoToFrame anyway, current selection seems pointless.
2015-10-25 17:53:25 +03:00
zeromus 76731ba0e7 Add TempFileCleaner 2015-10-24 02:48:16 -05:00
adelikat ac43fe203b Remove System.Windows.Forms reference from Client.Common 2015-10-17 19:28:20 -04:00
adelikat 2895c78be8 Move GLManager from Client.Common to Client.EmuHawk, it is inappropriate to be in Client.Common 2015-10-17 19:27:30 -04:00
adelikat 6ff3215a5f Move Exception box from Client.Common to Client.EmuHawk, it is inappropriate to be in Client.Common 2015-10-17 19:18:37 -04:00
adelikat 75e6216ca2 Rom Loader - don't call message boxes, use the error callback 2015-10-17 19:11:04 -04:00
zeromus 595f466ded add a custom exception display box 2015-10-17 01:18:37 -05:00
Iris Ward 1df8397b1c Implement text flavour PJM importing
Also implemented PXM importing via binary flavour PJM importing. Various
bug fixes in my existing binary flavour PJM implementation.
2015-09-22 00:47:25 +01:00
adelikat a8409a9c86 TasStateManager - some cleanup 2015-09-15 20:03:50 -04:00
adelikat 98bc140a84 Issue #385 - Lua - add memorysavestate library for making and loading savestates in memory, with save, load, remove, and clearall methods 2015-09-09 20:47:56 -04:00
zeromus 7e828d5618 d3d display method 2015-08-24 13:10:50 -05:00
nattthebear 862f82b1b2 Screenshots on tasproj branches 2015-07-21 19:41:57 -04:00
adelikat 1af28239dc Tastudio - lots of progress on branches 2015-07-18 22:20:38 -04:00
adelikat e03da4f5fe Lua - add a userdata library, with basic api for a script to add arbitruary data to a dictionary. This dictionary is saved and loaded in savestates (if present). Scripts can use this to create counters and whatnot that need data saved in savestates 2015-06-30 18:54:42 -04:00
scepheo abf1e55934 A bit of testing with Lua. 2015-04-10 14:11:01 +00:00
adelikat 5b15638671 Lua - issue 404 - add a Genesis library with the ability to toggle bg layers 2015-03-28 00:42:36 +00:00
SuuperW 0e34b36fbc -Added AutoFire patterns, changed AutoFireStickyXorAdapter to use them.
-Bugfix: Painted input after the movie was recorded over.
2015-03-04 21:04:31 +00:00
SuuperW cf081ce1fc TAStudio:
-Moved Toggle/SetStates from TasMovie.cs to TasMovie.Editing.cs
-bugfix: Yet another bug in setting LastVisibleFrame
-Removed unused declaration
-Fixed MarkerControl to not mess up display when a deleted marker is still selected.
-feature: Basic undo/redo history functions seem to work. (Ctrl+Z/Y in TasView)
2015-03-01 05:47:32 +00:00
adelikat aabd3f4526 create IMovieSession with the necessary API, instead of using an instance of MovieSession, the API though is completetly horrible, we need to address this 2015-02-22 23:23:36 +00:00
jdpurcell 730694644d Add option for OpenAL on Windows. 2015-02-19 03:22:20 +00:00
adelikat 124ee7b236 start a movie import refactor, and start implementing a new fm2 importer as a proof of concept, does not do anything useful yet (such as SyncSettings and input) 2015-02-05 02:19:46 +00:00
adelikat 60ed815b68 add some plumbing for a PJM importer 2015-02-03 00:24:38 +00:00
adelikat 1202305a47 move MovieImport.cs into an import folder in preparation to break it up 2015-02-03 00:15:36 +00:00
goyuken b3b37c46c3 possibly fast light bitmap saver with resize, TODO hook up to something 2015-02-01 22:49:53 +00:00
adelikat 033b576cd3 some useless csproj snazziness 2015-01-25 17:50:54 +00:00
jdpurcell 0a345b0084 Issue 368: Set all platform targets to x86, rename build platforms to match, and remove unused build platforms. 2015-01-13 15:28:58 +00:00
jdpurcell 9a1108e9f7 Fix control positions/sizes in the cases where auto scaling doesn't apply (e.g. dynamically created controls). 2014-12-28 21:59:53 +00:00
zeromus e0c09a553b redo how subwcrev stuff is done, so that the subwcrev process doesnt have to run for every project. improves build times. 2014-12-09 19:20:22 +00:00
adelikat 8197f96c98 TasMovie - make a TasLagLog class to simplify some code 2014-11-02 00:22:04 +00:00
adelikat f930622b5e Move TasStateManagerSettings to its own file 2014-10-17 22:39:40 +00:00
goyuken 4ee816e8bc code to use 7zip (unmanaged) to write archives, not active for the moment, still stuff to do 2014-10-12 04:24:31 +00:00
goyuken a09c488f5b add infrastructure to use alternate zipping libraries in savestate. use DotNetZip for some speedupzzzzzzzzzzzz 2014-10-09 23:39:13 +00:00
adelikat da7cb4ec59 when loading a movie, gracefully handle a movie/rom system id mismatch 2014-09-27 15:49:39 +00:00
zeromus 8e50487695 build luainterface.dll into the references folder, like other more modern things. 2014-08-14 01:07:26 +00:00
adelikat 786b0238ba Move Markers from TAStudio to TasMovie, and implement saving and loading of markers 2014-07-09 16:35:39 +00:00
adelikat 6d61db045f TasMovie - more reorg and restore state and lag capturing 2014-07-07 18:40:42 +00:00
adelikat c019ec3bf0 More reorg 2014-07-07 18:03:02 +00:00
adelikat f875792c74 TAStudio - column names for float values 2014-07-07 16:03:22 +00:00
adelikat 513cc5fdad A bit more reorg 2014-07-03 14:51:33 +00:00
adelikat bfb541a5a9 Move InputValidate and StringHelpers to BizHawk.Common 2014-07-03 14:51:03 +00:00
adelikat 721dbe8d3b Input adpaters - some reorg and add extensions for create And and Or adapters and simplify some calling code 2014-06-26 19:07:17 +00:00
adelikat 5cda104ea5 Start ToBk2() conversion method for BkmMovie 2014-06-17 01:24:44 +00:00
adelikat 37d6e0b8de Finish up Bk2 Mnemonic lookup 2014-06-16 16:56:09 +00:00
adelikat 6b73891a91 More bk2 progress 2014-06-15 14:44:26 +00:00
adelikat c807e27496 Some movie code reorg and cleanup 2014-06-15 13:03:24 +00:00
adelikat 1768350d65 Start Bk2LogEntryGenerator 2014-06-15 12:43:32 +00:00
adelikat 9ac32a688a Remove BkmLog.cs 2014-06-15 02:23:28 +00:00
adelikat f5f832180d Some movie code reorg and remove some outdated stuff 2014-06-15 01:55:35 +00:00
adelikat 6ec1a45b70 Major cleanup of MnemonicsGenerator - change it to a LogEntryGenerator notion, and only expose it through a movie implementation, via an ILogEntryGenerator interface 2014-06-14 22:36:32 +00:00
adelikat 70baceb6c8 Fix Bk2 playback, also rip out a bunch of junk from the Old Movie Log class from the first attempt at TAStudio and some half-baked notion of an input log class 2014-06-14 21:37:51 +00:00
adelikat 1ab1538f8b More movie code reorg 2014-06-13 00:15:55 +00:00
adelikat 898155f5be Some Movie code reorg 2014-06-12 23:57:23 +00:00
adelikat 3dce396261 More movie 2.0 stuff 2014-06-12 11:53:25 +00:00
adelikat 5d31fb2b3c Some more movie 2.0 progress 2014-06-11 02:33:57 +00:00
adelikat a682c667dd Nuke IMovieHeader, put necessary methods into IMovie instead, and some todos on trouble spots for movie 2.0 2014-06-11 01:41:41 +00:00
zeromus 3ea6495031 give yabause its own GL context. gets gl+yabause minimally working. maybe still loadstate-related crashes. 2014-06-08 23:30:34 +00:00
adelikat 5177051d08 Movie files - some more reorg - renaming and putting into new folders 2014-06-08 22:24:38 +00:00
adelikat 6b2889957a Some refactoring of movie code to make the Header less implementation specific, and start Movie2.cs which will be a Movie 2.0 implementation 2014-06-08 22:12:15 +00:00
adelikat 5ce23c815d Proof of concept for a SystemInfo object to have a singular place to have system specific info as opposed to SystemID switches stattered throughout the codebase 2014-05-30 22:00:16 +00:00
adelikat 667a96a277 Lua - combine common code in memory and mainmemory libraries into a base class, apply range checking to all methods, add memory.getsize() to match mainmemory method, fix a name bug in a memory 32bit method, clean up a bunch of things too 2014-05-23 23:19:20 +00:00
adelikat 9c3a7fec37 Lua - add a gameinfo lua library with getromname(), getromhash(), getdisplaytype(), getindatabase(), getstatus(), getisstatusbad(), getboardtype(), and getoptions() methods 2014-04-13 14:22:13 +00:00
adelikat 53fa1a566a create a ToolDialogSettings object and refactor Ram Search to use it as a proof of concept 2014-01-30 00:55:31 +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
adelikat ee1cea5d08 Lua - even better way to build lua libraries, now methods will have attributes for the name, and description of each method. Someone needs to put in descriptions now. Bit library is the only one done as of this commit 2014-01-25 19:49:29 +00:00
pasky1382 08504fc25a Added more string lua functions 2014-01-20 17:06:09 +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
pasky1382 a2dd821474 Added new EmuLuaLibrary.String, contains decimal to hex string and binary string. 2014-01-19 16:36:43 +00:00
adelikat 7394cfd33f More reorg 2014-01-10 23:14:36 +00:00
adelikat c0295316f5 Some Movie 2.0 reorg 2014-01-10 23:08:56 +00:00
adelikat 0164db5532 Remove a no longer needed file 2014-01-10 22:56:59 +00:00
adelikat 15d0e1adb6 TasMovie - round 1 of replacing mnemonic system with an IMnemonicGenerator system, this breaks stuff, but nothing anyone should have been using. 2014-01-09 02:17:59 +00:00
adelikat ef79734170 movies - start another rewrite of mnemonic generation 2014-01-06 03:59:00 +00:00
adelikat b5d3f68126 Move rewind code to client.common 2013-12-27 01:14:17 +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
adelikat dd63395f67 move some stuff from EmuHawk to Client.Common 2013-12-24 21:59:41 +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 63e9fe9a6f Split NewMnemonicsGenerator into its own file and do some code cleanup on the two implementations 2013-12-14 15:19:05 +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 0737f884bd a new style Mnemonics lookup table, and a bunch of various refactorings. 2013-12-07 16:31:04 +00:00
adelikat 1390b1a7e3 Start MovieRecord and TasMovie objects, they are just stubs right now 2013-12-01 20:55:52 +00:00
adelikat 316aa56ce9 Some more movie progress and fix exception thrown on startup 2013-12-01 01:55:41 +00:00
adelikat 4cb01d8ed4 Finish up Movie Header refactor 2013-11-30 02:20:34 +00:00
adelikat ec11efb784 Round 1 of Movie Header refactor, make a IMovieHeader, and a static class HeaderKeys, simplify MovieHeader a ton as a result 2013-11-29 23:18:46 +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 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 bc3576eddb Move PathEntry and PathEntryCollection to a separate file 2013-11-16 17:59:09 +00:00
adelikat 7e45f13282 Change project name BizHawk.Emulation to BizHawk.Emulation.Cores 2013-11-15 14:05:47 +00:00
adelikat 2e32c22c00 set up subwcrev stuff to client.common, and set up assembly info for it, and fix assembly info for emuhawk 2013-11-08 15:34:47 +00:00
adelikat 085719bf44 Fix lua 2013-11-07 17:49:00 +00:00