gocha
3ab41b359c
ported memory hook codes from gens, then re-implemented memory.registerwrite, and add memory.registerexec; FIXME: CallRegisteredLuaMemHook in nsf.c, I couldn't get how it should be; there might be other issues possibly
2009-10-11 08:34:10 +00:00
gocha
d7b02d9549
Lua: add movie.recording and movie.playing, and rename movie.playbeginning to movie.replay
2009-10-11 05:29:41 +00:00
gocha
cc55d175a6
Lua: add emu.framecount and other alternative names of existing functions.
2009-10-11 05:09:17 +00:00
gocha
f0a1983112
Lua: rename fceu_* functions to emu_*
2009-10-11 04:39:05 +00:00
qeed
5a2750d160
Fixed linux compilation issues
2009-10-10 23:12:21 +00:00
gocha
dfeff60615
Remove emu.OnClose and register fceulib as emu instead.
...
Add emu.registerbefore, emu.registerafter and emu.registerexit.
2009-10-08 05:02:22 +00:00
gocha
313ed75b55
Lua: register entire LuaBitOp library.
2009-10-08 03:45:47 +00:00
fatratknight
feb135ce2e
Added in an invert possibility for joypad_set. Using a string instead of true/false/nil will let lua invert the player's input.
2009-09-15 18:20:10 +00:00
fatratknight
0bea4a45d8
Reworked many things relating to joypad_set. New logic, removed a few functions, all that stuff. Hopefully a few bug fixes with no new bugs on the way. Haven't put in the invert that I like, but hopefully that isn't hard to put in.
2009-09-15 16:39:49 +00:00
fatratknight
23a190acd2
Attempted fix of joypad_set. Just changed the source.
2009-09-14 20:16:25 +00:00
adelikat
5bf67f1754
Lua - adding fceu.unpause()
2009-08-16 15:27:17 +00:00
adelikat
6c001a81cb
Win32 - Reverted acmlm's /dll folder fix.
2009-03-29 12:43:51 +00:00
adelikat
f06284d822
Lua - added FCEU.softreset() and FCEU.poweron(). Deleted a lua test script. Updated Lua documentation in the Help .chm
2009-03-28 13:38:44 +00:00
adelikat
23b719e042
Lua - input.Get() changed the x,y coordinates of the mouse to xmouse and ymouse
2009-03-21 23:26:04 +00:00
adelikat
3f60a5c6f8
Win32 - GUI Dialog - added option to disable the context menu. Win32 Help CHM - added a page of lua functions & descriptions. Minor cleanup in lua-engine.cpp
2009-03-16 14:10:59 +00:00
adelikat
efcc05ed8d
Lua - zapper.read() change x/y to xmouse/ymouse
2009-03-16 02:14:28 +00:00
adelikat
8bb8c9e86d
Lua - added movie.playbeginning()
2009-03-15 23:55:07 +00:00
adelikat
5c4579f859
Lua - added movie.getname()
2009-03-15 23:46:57 +00:00
adelikat
8768ea1c5e
Lua - added FCEU.setreadonly()
2009-03-15 23:21:52 +00:00
adelikat
c9e6ca74a7
Lua - added FCEU.getreadonly
2009-03-15 21:36:01 +00:00
adelikat
ee99847b35
Lua - added movie.rerecordcount() and movie.length()
2009-03-15 21:12:15 +00:00
adelikat
b947e0d25b
Lua - added movie.active() function. Returns a bool value based on whether a move is loaded.
2009-03-15 15:29:35 +00:00
adelikat
86562d9ad3
Fixed Joypad.set, it uses 3 values instead of 2 now. True will take control of a button and make it on, False will take control and make it off, and Nil will not take control (allowing the user to press the button)
2009-03-14 21:00:28 +00:00
adelikat
fc06b4b02b
Lua - added input.()
2009-03-08 22:36:38 +00:00
adelikat
512f555b3d
oops, removed debug line
2009-03-08 19:19:11 +00:00
adelikat
a5ff19b58c
Lua - added FCEU.lagged() function
2009-03-08 19:14:37 +00:00
adelikat
810c2ae53f
Lua - added zapper.read()
2009-03-08 18:10:07 +00:00
adelikat
e43366247a
Lua - added FCEU.lagcount() function
2009-03-07 19:26:07 +00:00
shinydoofy
ff32c900bc
SDL - enable the turbo function as well
2009-02-23 16:36:03 +00:00
adelikat
2e97fa8f53
Win32 - Lua - speedmode("turbo") now sets turbo on, rather than setting to max speed. Turbo employs frame-skipping (therefore has a different (and faster) effect than speed maximum.
2009-02-23 15:35:21 +00:00
zeromus
bd6706e65f
lock down processor affinity.
2009-02-07 03:54:42 +00:00
adelikat
4620963ec4
very small fix to a Lua error message text.
2009-01-01 15:04:05 +00:00
adelikat
c0889137b1
Win32 - Lua recent menu added
2008-12-28 01:36:02 +00:00
adelikat
e08f3af8bf
Win32 - stop lua menu item gray if no lua script is running.
2008-12-08 18:17:28 +00:00
acmlm
a1aaca5df1
- new font, slightly bigger with a blue background
...
- lua libraries loaded from "dll" subdirectory (on Windows)
2008-12-03 01:33:05 +00:00
qfox
5f070f983c
Changed movie.framecount() (forgot that in previous rev) and updated changelog to reflect these changes. Also removed old basicbot docs.
2008-11-21 15:16:32 +00:00
qfox
2b8631829a
Lua: added mapping to joypad.read and joypad.set. Added function to toggle background and sprite rendering: FCEU.setrenderplanes(sprites, background) which accepts two boolean arguments to toggle those planes from within Lua.
2008-11-21 15:07:09 +00:00
zeromus
3a8eb3ea3a
fix issue which caused nonpersistent savestates to break after you load them once
2008-11-11 20:31:51 +00:00
zeromus
cda4fb4824
emulua: add rom.readbyte and rom.readbytesigned
2008-11-02 20:11:14 +00:00
zeromus
ae46bdd109
PR for 2.0.3 release
...
[[Split portion of a mixed commit.]]
2008-11-02 19:10:53 +00:00
zeromus
796ef76f09
add qfox's timeout functions: FCEU.exec_time and FCEU.exec_count
2008-10-10 07:29:34 +00:00
zeromus
1bfca2e198
fix vc8 to build, since lua was made optional.
...
fix SF#2153843 (Lua ignores second joypad.set())
2008-10-09 03:24:28 +00:00
zeromus
2cba0fd439
support autoloading from archives in cases where there is only one useful file in an archive.
...
add experimental ram-only emulua savestate code. now call savestate_persist(ss) if you want to cause it to go to disk. otherwise it will stay in memory. this might speed things up. also add experimental new ppu which can be enabled by newppu 1 in configfile. there is no reason to use it yet but i needed to do a checkin
2008-08-18 03:11:42 +00:00
zeromus
c8e44d6d3b
try to fix savestates again
2008-08-13 16:30:31 +00:00
zeromus
91147a80e0
[ 2047645 ] Creating a savestate object in Lua crashes FCEUX
2008-08-13 04:21:08 +00:00
zeromus
5f7ba50ec3
fixed a build ERROR due to punkrockguy's fixed build warning. we'll figure out the right way to do it later.
2008-08-10 18:13:34 +00:00
punkrockguy318
4060708067
Fixed build warning
2008-08-10 09:54:59 +00:00
zeromus
1efc95ef64
add memory.readbyterange(start,length) returns a string. hope it works!
2008-08-06 22:54:21 +00:00
zeromus
61586d6602
take out lua panic timer. it was making guis crash? maybe?
2008-07-31 23:18:06 +00:00
zeromus
7fd3d70bf8
fix linux compile bugs
2008-07-30 15:02:10 +00:00
zeromus
f0fb3d140e
fixes to lua engine
...
- loading script does an implicit stop first
- script dying of natural causes triggers a stop, and thus an OnStop event in lua first (for proper cleanup)
2008-07-29 22:51:24 +00:00
zeromus
b47c5a9cf7
2008-07-29 00:42:02 +00:00
zeromus
6000f47763
fix emulua gui.popup
2008-07-27 17:31:59 +00:00
zeromus
c66da282ff
enhance lua
2008-07-27 16:22:45 +00:00
punkrockguy318
687bb3b7fd
fixed build warnning
2008-07-24 15:16:18 +00:00
punkrockguy318
d27a92d9a5
sdl now compiles
2008-07-24 03:18:48 +00:00
zeromus
3758d2aec8
2008-07-23 15:15:46 +00:00