Commit Graph

146 Commits

Author SHA1 Message Date
zeromus 14ad02632a use cd and im bindings for lua. needed rebuild luaperks to include binding sources 2018-12-16 13:20:45 -05:00
Brendan Byrd f9f35cbadb Add playback/record Lua functions 2018-11-30 00:10:22 -05:00
Brendan Byrd 47c8491114 Add support for base64 in rom.gethash 2018-11-30 00:10:22 -05:00
Brendan Byrd 319293e20b Add rom.getfilename Lua function
Also, add documention to rom.gethash function
2018-11-30 00:10:22 -05:00
Brendan Byrd 03851153ed Don't Lua print extra newlines in *NIX 2018-11-30 00:10:22 -05:00
Brendan Byrd 76c423fa4a Add getemuscreen support to gui.gdscreenshot Lua call 2018-11-30 00:10:22 -05:00
Brendan Byrd 5f23a565e8 Whitespace cleanup
Should be nothing with 'git show -b'
2018-11-30 00:10:22 -05:00
Brendan Byrd e50f7bfd71 Add stace traces to failed Lua executions 2018-11-30 00:10:22 -05:00
Brad Smith 349aed4aaf
Fix null pointer crash when lua script fails to load. 2018-11-12 17:33:42 -05:00
zeromus 4939859cf4 lua - savestate.create() can now accept a string which should be the filesystem path to a savestate; you can then use savestate.load on it 2018-07-02 15:19:09 -05:00
zeromus 0307e3b827 migration tidying (build master from trunk) 2018-04-08 17:35:15 -05:00
punkrockguy318 2be5084a7b create new subversion repo structure (trunk, tags, branches)
[[Split portion of a mixed commit.]]
2013-03-15 19:00:14 +00:00
ansstuff 7007fc4805 * Taseditor: cleaned up code a bit more, renamed identifiers to follow single convention 2013-03-04 16:58:54 +00:00
ansstuff f22dc51e71 * Lua: removed "shadow pixels" from gui.text()
* Lua: fixed width of question mark symbol
* Lua: made gui.parsecolor() function available for users
2013-01-15 12:53:04 +00:00
CaH4e3 43ee931dec cleanup and version bum... hmmm (not no mention something else) 2012-10-21 16:40:04 +00:00
ansstuff e30c685c5e * Lua: auto-clearing previous frame drawings (same behaviour as other emulators)
* Debugger: fixed mouseover when using Symbolic debugging
* Debugger: mouseover works for the disassembly window too
* updated docs

[[Split portion of a mixed commit.]]
2012-09-23 12:45:28 +00:00
ansstuff 35541256d7 Added emu.setlagflag() Lua function 2012-09-13 19:48:14 +00:00
ansstuff fd35046e62 * Taseditor: fixed AdjustLag feature
* Taseditor: changed fm3 version to v2
* Taseditor: Ctrl+Z/Ctrl+Y trigger twice when crossing AdjustLag operations
2012-08-25 19:59:07 +00:00
ansstuff a40e4c655a * Taseditor: Markers aren't bound to Input by default, Markers are always restored when deploying Bookmarks
* Taseditor: Lua registermanual allows changing the "Run function" button caption
* Taseditor: fixed bug with rejecting movies starting from savestate
2012-07-19 19:40:40 +00:00
ansstuff 18b9dd1c59 * Lua functions emu.pause() and emu.unpause() don't yield and don't reset emulator speed anymore
* updated docs

[[Split portion of a mixed commit.]]
2012-05-01 21:05:35 +00:00
ansstuff 125173107b * Taseditor: set/pick Markers by doubleclick, throw Markers away
* Taseditor: clicks on Input don't change Selection
* Taseditor: selection by dragging from Frame#
* Taseditor: better way to check doubletap for Shift and Ctrl keys
* Taseditor: no more "allow keys in Piano Roll"; new accelerators: Ctrl + arrows, Shift + arrows, Home/End/Page Up/Page Down, Ctrl + Home/End, Shift + Home/End
* Taseditor: showing row_last_clicked when Shift or Alt is held
2012-03-17 15:59:35 +00:00
ansstuff d659fab541 * Taseditor: Fixed previous commit accuracy
* Better turbo off method in lua engine when quitting
2012-02-25 20:54:13 +00:00
ansstuff b38fa3e73d Documented TAS Editor classes 2012-02-23 19:47:41 +00:00
ansstuff c1469cb418 * 1 new Lua function in Joypad library: getimmediate()
* 1 new Lua function in TAS Editor library: getsuperimpose()
* added 5 new Lua scripts demonstrating some TAS Editor library functions
* updated fceux.chm and online documentation, uploaded HelpNDoc3 project file

[[Split portion of a mixed commit.]]
2012-02-01 22:02:26 +00:00
ansstuff a1e0de898b * Taseditor: quicksave/quickload hotkeys save/load current branch
* Taseditor: Help->Show Tooltips
* Added "Restore Playback (TAS Editor)" hotkey (Enter by default)
* 9 new Lua functions in TAS Editor library
2012-01-29 22:33:23 +00:00
ansstuff a4d5e98ee7 * changed taseditlib folder name to taseditor 2012-01-12 20:15:23 +00:00
ansstuff 578c974062 * Tasedit: more refactoring
* Tasedit: resizing TAS Editor window
* Tasedit: INPUT_TYPE_1P
* Tasedit: File->New Project
2012-01-12 19:56:17 +00:00
ansstuff c6c04b577b * Tasedit: refactoring
* fixed recording bug where "length" tag appeared in fm2s
* changed default mapping of Frame Advance to Tilde
* Config->Silent autosave
* Tasedit: Lua panel
* 5 new Lua functions: emu.paused(), taseditor.setplayback(int frame), taseditor.stopseeking(), taseditor.registerauto(), taseditor.registermanual()
2012-01-08 18:19:49 +00:00
ansstuff b3c53d5ad5 * Tasedit: header lights on Paste/PasteInsert
* 10 new Lua functions (TAS Editor library)
* Tasedit: Find Note dialog (Ctrl-F)
* Tasedit: Config->Reappearing Find Note dialog
* bugfixes
2011-12-25 21:54:31 +00:00
zeromus d233874ced add winapi lua library and cleanup various vcproj from tasedit additions 2011-10-31 19:11:31 +00:00
ansstuff 11a99a56e3 * Tasedit: execute lua functions when jumping inside greenzone
* added rewind hotkey (~), works only in Taseditor
2011-10-14 17:33:58 +00:00
zeromus 5975decb3d try fixing lua drawing alpha blending stuff 2011-07-01 04:01:20 +00:00
gocha bcada013d2 Lua: sound.get: move freqreg to regs.frequency 2011-03-06 09:01:45 +00:00
gocha e0aff101e0 Lua sound.get(): add a little more members for DMC channel. 2011-02-27 11:21:34 +00:00
gocha 88c8e1521e Lua: add input.openfilepopup() and input.savefilepopup(), very basic interface for GetOpenFileName() and GetSaveFileName(). 2011-02-27 02:20:01 +00:00
gocha 2e30792b8f Removed temporally comment 2011-02-26 23:05:09 +00:00
gocha ffca5efaca Lua: add sound.get(), remove iowritelib. 2011-02-26 15:20:30 +00:00
gocha 9cc4ee1d77 add iowrite.readbyte() lua function, to read the last value written to write-only port. it currently supports only general sound registers ($4000-4013, $4015, $4017). 2011-02-13 22:41:19 +00:00
zeromus ef2f43449b lua drawing x/y off by 8pixels stuff didnt make sense to me either. lua screen should be 240 (same as nes screen) and if you draw at 0,0 on a standard NTSC setup of y=[8,231] then you wont see anything because youve asked the emulator to cut it off. 2010-12-18 01:07:10 +00:00
zeromus a6bcf003d5 since you went to the trouble to point it out... 2010-11-05 21:11:28 +00:00
qeed 0d63ef203a added wrapper around places that uses malloc to use FCEU_dmalloc, for debugging purpose if the need comes up 2010-09-19 00:00:38 +00:00
zeromus 45848c7591 emulua: add rom.gethash 2010-07-27 03:40:59 +00:00
zeromus cb95c4fc96 possibly fix mouse input in sdl lua 2010-07-18 02:45:17 +00:00
adelikat 38c4c3d228 Lua - fix so that setting speed.mode to normal turns off turbo. 2010-06-12 17:12:46 +00:00
zeromus 55daec3e57 add luasocket builtin to luaperks 2010-06-10 06:13:51 +00:00
adelikat 3bfa40572e New lua function: gui.savescreenshotas() 2010-06-07 16:38:47 +00:00
fatratknight a8fa67db16 Edited gui.text to return a value, the x position where it would paint the next character. This should hopefully allow scripters to place a useful box around the text, perhaps for looks or clicking like it's a button. 2010-06-06 22:50:46 +00:00
adelikat 7c6c8d0941 Added lua function movie.getfilename() which returns the current movie filename without the path included. 2010-05-29 04:06:49 +00:00
zeromus 4e66aaef9c replace most of the crappy iostream stuff with EMUFILE 2010-05-17 21:02:38 +00:00
ugetab 046617c693 Added player 3 and 4 to autohold notification window. Made FCEU_DispMessage able to display to different screen locations to do it. Fixed up the input display code for autohold.
Wow, that's a lot of stuff changed for something so basic.
2010-05-16 04:18:49 +00:00