adelikat
8ac9f7d2dd
Lua Console - try to use relative paths when saving and loading lua scripts
2014-03-23 14:44:18 +00:00
adelikat
0a0f144aa8
Lua - Bit library - fix support for uint values
2014-03-01 15:04:19 +00:00
mvl1986
17f17a02fd
Added the display of tooltips for all the methods that are in the lualibraries
...
-MightyMar
2014-02-12 13:28:48 +00:00
adelikat
23f7017651
Some code cleanup tinkerings in Client.Common
2014-02-03 20:48:01 +00:00
adelikat
364c2367ea
Hex Editor - refactor to use ToolDialogSettings Add floating window option
2014-01-30 03:10:17 +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
adelikat
ce9f282d67
Lua - clean up a lot of params by making them strongly typed numbers instead of object, and simplify a lot of logic as a result
2014-01-27 01:15:56 +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
pasky1382
c6811542fa
Added a couple lua descriptions
2014-01-26 20:05:56 +00:00
adelikat
853c82d111
Lua Functions list - make params look pretty, including strongly typed variables when possible
2014-01-26 20:05:45 +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
adelikat
91fdad9d45
LUa - whack now unused code
2014-01-26 16:21:20 +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
ee79c55009
oops, forgot to add this new file
2014-01-25 21:46:20 +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
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
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
pasky1382
4012f93f31
Added bit.clear() bit.set() to lua, and LuaULong()
2014-01-21 17:28:54 +00:00
pasky1382
033620a478
Cleanup and added byteswapping functions for lua.
2014-01-20 17:38:31 +00:00
pasky1382
bff34dd379
Cleanup.
2014-01-20 17:15:30 +00:00
pasky1382
90d8aedbd5
forgot a function.
2014-01-20 17:07:48 +00:00
pasky1382
08504fc25a
Added more string lua functions
2014-01-20 17:06:09 +00:00
pasky1382
83591cda67
Oops
2014-01-20 15:26:44 +00:00
pasky1382
1a0e98b7ad
Lua bit.checkbit() function, returns if a specified bit is on/off.
2014-01-19 17:42:21 +00:00
pasky1382
2d169cdb7d
added LuaLong function
2014-01-19 16:58:21 +00:00
adelikat
983346af38
support quicknes in lua nes.addgamegenie() and nes.removegamegenie()
2014-01-07 01:43:31 +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
goyuken
a1c0a1956b
fix compile error
2013-12-30 02:42:00 +00:00
adelikat
7482cfdc5e
a round of code cleanup in Client.Common
2013-12-30 01:58:44 +00:00
goyuken
75d39ac60f
SNES: connect to new settings system.. everything should work?
2013-12-27 17:59:19 +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
a5cdee3780
pce: connect to new settings system
2013-12-22 05:58:24 +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
b2b8edb319
Fix removing of registered functions via Lua console
2013-12-19 01:02:50 +00:00
adelikat
b7d553cb4e
Move the readonly flag from Global to MovieSession
2013-12-03 18:08:45 +00:00
adelikat
0e6473987b
Remove Rerecords from IMovie since it is a part of IHeader, therefore redundant and conceptually inappropriate. Also some low hanging fruit on implementing TasMovie.cs
2013-12-02 17:50:29 +00:00
adelikat
e686e595b9
Refactor use of Movie Frame count - also fix play movie to show infinite movie's frame count as "Infinity"
2013-11-30 03:10:05 +00:00
adelikat
788aea970e
Lua Console - when removing a script, remove its registered function. Currently however, this behavior will only happen if the script is currently running. If you disable it and then remove it, the functions remain.
2013-11-26 01:21:24 +00:00
adelikat
3d48a0b39e
Lua Console - fix behavior of Save Changes nag, fix deleting of items
2013-11-25 23:38:10 +00:00
adelikat
5bbed4a58f
Fix behavior of Movie Up/Down in tool dialogs
2013-11-25 23:24:26 +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
7b244cc87c
Lua Console - a round of code cleanup. Some small fixes happened as a result of this cleanup
2013-11-25 00:44:18 +00:00
adelikat
c076931d0c
clean up NES namespace
2013-11-14 13:15:41 +00:00
adelikat
9266cafd2a
Another round of BizHawk.Emulation namespace changes
2013-11-13 23:36:21 +00:00
adelikat
5d65b0ef77
implement Lua - event.onmemoryexecute(), currently only works with the NES core
2013-11-12 01:51:07 +00:00
adelikat
fb78215590
Lua - Implement emu.getregister() and emu.getregisters(). Only implemented in NESHawk right now
2013-11-11 03:20:33 +00:00
adelikat
2e51e7ad4f
Registered Lua Functions dialog - fix so Remove removes MemoryRead/Write events, add a Remove All button
2013-11-10 21:56:02 +00:00
adelikat
e7a481e6c4
Lua - OnMemoryRead() and OnMemoryWrite() - support multiple events, hook to the registered functions system, add ability to name function, return a GUID.
2013-11-10 21:20:55 +00:00
adelikat
ded77beb65
Lua - OnInputPoll() - hooked up to the registered lua functions system
2013-11-10 19:19:58 +00:00
adelikat
ea24f236fb
Lua - event.OnInputPoll() - allow multiple functions to be registered
2013-11-10 18:15:32 +00:00
adelikat
1061add64f
Refactor MemoryDomains in IEmulator, make a MemoryDomainsList object rather than IList<MemoryDomain>, remove MainMemory from IEmulator and make it a property of this new collection object, also add indexing by name. Refactor cores and tools as needed
2013-11-06 02:15:29 +00:00
adelikat
56cb2ba538
Refactor CheatList and Cheats to have changed event handlers, and have the client wire up an event handler to update all the relevant dialogs.
2013-11-04 15:52:59 +00:00
adelikat
be547db4a1
Move MemoryDomain to its own file, and move the Endian enum into it, also clean up the class a bit, and refactor things as necessary
2013-11-04 02:11:40 +00:00
adelikat
9751fd5a1a
Move interfaces and base implemenations from emulation to emulation.common
2013-11-04 01:39:19 +00:00
adelikat
b3b21abe08
Move NES lua library to Client.Common
2013-11-02 01:56:00 +00:00
adelikat
ea2df2e91b
move snes lua library to common
2013-11-01 23:49:44 +00:00
adelikat
a3e306e18d
Move joypad lua library to common, and move some stuff to Global in order to do so
2013-11-01 22:56:55 +00:00
adelikat
d391d275ef
Move Movie lua library to client.common, and some refactoring necessary to do so
2013-11-01 15:43:15 +00:00
adelikat
a8079f5170
port some lua libraries to client.common
2013-11-01 14:51:51 +00:00
adelikat
3324759799
move some lua files to client.common
2013-10-31 23:55:17 +00:00
adelikat
d7d83c9275
move event library to its own object, slight tweak to anonymous function name, double clicking on registered functions dialog invokes the method clicked
2013-10-31 16:58:56 +00:00
adelikat
b2c2de2064
lua related code cleanup
2013-10-28 20:57:25 +00:00
adelikat
8b30b4290a
Cleanup of Lua stuff - rename LuaImplementation to EmuLuaLibrary, broke all the lua library functions into separate files by library, move nested classes to their own files in client.common
2013-10-28 19:13:01 +00:00
adelikat
8b173a26f4
2013-10-28 13:48:17 +00:00