goyuken
|
726d497997
|
lua: gui.text() behaves more consistently with different window sizes
|
2012-12-22 01:00:12 +00:00 |
adelikat
|
64ced7533b
|
Lua - implement client.getwindowsize
|
2012-12-21 23:50:29 +00:00 |
goyuken
|
e8a54aaeed
|
luaimplementation: input.getmouse(): button fields are now bools. position fields are now in emulated screen coordinates. no, it doesn't quite work right for some cases of window sizing... so don't do that!
|
2012-12-20 21:40:03 +00:00 |
zeromus
|
a4b442abda
|
unify coreinputcomm and coreoutputcomm. there is a slight chance your console will be messed up until i fix a teeny tiny something, since i didnt test them all, since with more recent cores i dunno what roms are working anyway. let me know if i broke anything.
|
2012-12-10 00:43:43 +00:00 |
goyuken
|
e95efcb91b
|
throttling UI is now set up to be done in one of three ways: sound, vsync, timer. in addition, there's an option to use vsync even when not throttling to it (but this doesn't really work too well...)
|
2012-11-12 17:57:11 +00:00 |
adelikat
|
5382a348dc
|
Lua - fix savestate.loadslot()
|
2012-10-27 00:35:02 +00:00 |
adelikat
|
a0111d1c08
|
Lua - implement client.screenshottoclipboard() and client.setscreenshotosd()
|
2012-10-27 00:19:43 +00:00 |
adelikat
|
4193ddfa5d
|
Lua - implement client.screenshot()
|
2012-10-26 23:48:28 +00:00 |
goyuken
|
5661205bda
|
event.onmemoryread(function f) : f is now passed the address in question. similarly for onmemorywrite
|
2012-10-14 15:19:31 +00:00 |
adelikat
|
6fedb67949
|
Fix the Write callback for the MemoryCallBackSystem and refactor the object more appropriately
|
2012-10-14 14:08:25 +00:00 |
pasky1382
|
918a067ab0
|
Added default colors (white) to other drawing functions.
|
2012-10-13 21:40:00 +00:00 |
adelikat
|
091125b181
|
another useless whitespace commit
|
2012-10-13 21:22:30 +00:00 |
adelikat
|
012d9007af
|
Lua - change drawBox so that the line color is an optional parameter (white by default)
|
2012-10-13 20:57:02 +00:00 |
adelikat
|
557fb150c3
|
Lua - implement onmemoryread and onmemorywrite for the NES and PCE cores
|
2012-10-13 18:59:09 +00:00 |
goyuken
|
1793483aa9
|
make lua loadstate not trigger impossible callbacks when it runs, so it can actually work without killing the script. there are still other callbacks might not make sense?
|
2012-10-13 12:44:52 +00:00 |
adelikat
|
30098b0ab1
|
Remove emu.registerbefore and emu.registerafter in favor of event.framebefore() and event.frameafter()
|
2012-10-12 20:55:01 +00:00 |
adelikat
|
b65064eb13
|
Lua - start an Event library and implement event.onloadstate(), event.onsavestate(), event.onframestart(), event.onframeend, event.oninputpoll(), All of these are aliases of other functions
|
2012-10-12 20:19:26 +00:00 |
adelikat
|
ab761066e9
|
Lua - rehook up emu.registerbefore() and emu.registerafter(), but they have memory leaks, don't use them yet
|
2012-10-12 14:33:54 +00:00 |
adelikat
|
be594adb35
|
Lua - disable emu.registerbefore() and emu.registerafter() for now
|
2012-10-07 00:30:43 +00:00 |
goyuken
|
ea32688bf8
|
on_snoop(nil) will unregister the callback
|
2012-10-06 13:37:31 +00:00 |
goyuken
|
b545d79fb6
|
lua: add emu.on_snoop()
|
2012-10-06 13:34:04 +00:00 |
adelikat
|
a38e574695
|
Lua - implement mainmemory.writebyterange()
|
2012-09-29 02:26:51 +00:00 |
adelikat
|
ed832036c1
|
Lua - Implement mainmemory.readbyterange()
|
2012-09-29 01:57:25 +00:00 |
adelikat
|
a68b80ad36
|
Lua - implement functions: nes.getallowmorethaneightsprites() and nes.setallowmorethaneightsprites()
|
2012-09-28 17:32:01 +00:00 |
adelikat
|
608dbf6316
|
Lua - implement nes.addgamegenie() and nes.removegamegenie()
|
2012-09-23 20:28:51 +00:00 |
adelikat
|
2f8561a81d
|
Lua - nes library - get/set methods for sprites and background display
|
2012-09-23 18:57:33 +00:00 |
goyuken
|
ce482e24ad
|
lua: gui.addmessage(string msg)
|
2012-09-23 14:43:33 +00:00 |
adelikat
|
2e19d31d33
|
lua - add nes.getclipleftandright(), nes.setclipleftandright(), also fix the previous nes library functions to work even if not in NESHawk
|
2012-09-23 04:26:07 +00:00 |
adelikat
|
8f3316e501
|
Lua - start NES library with nes.setscanlines(), nes.getbottomscanline(), and nes.gettopscanline()
|
2012-09-23 04:03:04 +00:00 |
zeromus
|
23f9b3e3dd
|
fix that thing i just did
|
2012-09-20 00:42:50 +00:00 |
zeromus
|
e8487b77d8
|
change lua drawing to use an offset specified by the emulator core, so that drawing in the nes core can have nes-relative coords instead of multiclient-display-relative coords
|
2012-09-20 00:22:24 +00:00 |
rolanmen1
|
f173aee3f4
|
LuaImplementation: forms.setproperty now works on int, double and bool properties. Added try catch to avoid crashes with these functions.
|
2012-09-17 19:55:11 +00:00 |
andres.delikat
|
0afd4f3c09
|
Lua - fix gui.drawLine/Pie/Ellipse/Polygon/Pixel/Bezier from commit 2908, the way those were done was causing exceptions after the 1st draw
|
2012-09-11 14:47:41 +00:00 |
zeromus
|
b87af7d429
|
lua-try caching solidbrushes and pens for faster drawing
|
2012-09-07 03:34:16 +00:00 |
adelikat
|
8f408737da
|
Movie refactoring - round 2
|
2012-09-03 19:42:53 +00:00 |
adelikat
|
27f4663125
|
Movies - round 1 of code cleanup (no functional changes)
|
2012-09-03 15:05:09 +00:00 |
adelikat
|
16bc441231
|
Lua - implement client.screenwidth() and client.screenheight()
|
2012-09-02 16:49:58 +00:00 |
pasky1382
|
df440e97ec
|
(minor spacing edits in LuaImplementation.cs)
Added rondo of blood lua script in scripts folder for PC Engine.
|
2012-09-02 16:26:43 +00:00 |
adelikat
|
63ef0c0832
|
Lua - implement emu.registerbefore and emu.registerafter. Note that all lua work is done on the beginning of the frame (before) by default. also note that Registerbefore will run before normal lua processing.
|
2012-09-02 16:23:42 +00:00 |
pasky1382
|
bc3e9edb96
|
Fixed what i previously broke in the Lua bitwise functions.
|
2012-09-02 14:47:12 +00:00 |
pasky1382
|
6a8c87d598
|
Fixed bitwise operators, all function arguments take object types so they display correctly under the lua function list.
|
2012-09-02 14:20:08 +00:00 |
pasky1382
|
02c447becb
|
Fixed gui.drawBox. Now draws correctly when width is a negative value.
|
2012-09-02 02:37:25 +00:00 |
pasky1382
|
cd292d7fd2
|
Added a gui.drawBox() function in the lua engine. Uses four coordinates to draw a box like other emulators rather than a height/width argument.
|
2012-09-02 01:15:18 +00:00 |
pasky1382
|
ff218af117
|
Added lua bitwise operators, AND, LSHIFT, RSHIFT, OR, XOR, NOT, ROTATE LEFT, ROTATE RIGHT.
|
2012-09-02 00:56:50 +00:00 |
rolanmen1
|
7a9e5d856b
|
LuaImplementation: Implemented forms.setproperty and forms.getproperty. Kinda buggy though.
|
2012-08-25 22:45:44 +00:00 |
rolanmen1
|
6cec0f0182
|
LuaConsole: Call UpdateNumberOfScripts after you delete a script.
LuaImplementation: Added emu.ispaused(), also added the parameters width and height to forms.label and forms.button
|
2012-08-25 17:01:13 +00:00 |
adelikat
|
0ed2ec1be9
|
Ram Watch - oops, fixed last commit better
|
2012-08-15 01:14:25 +00:00 |
andres.delikat
|
f7752584c6
|
Lua - implement input.getmouse()
|
2012-07-13 22:21:01 +00:00 |
andres.delikat
|
f5a7dc2191
|
Lua - implement client.setwindowsize()
|
2012-07-12 22:20:48 +00:00 |
andres.delikat
|
15371b3cd9
|
Lua - implement emu.enablerewind(), also add on screen message when rewind is toggled
|
2012-07-12 19:42:13 +00:00 |