Commit Graph

3 Commits

Author SHA1 Message Date
gocha 224606757d Lua: add gui functions
Note:
- bug: when "draw messages in image" is ON, Lua drawings are drawn to the SNES image. However, keep in mind that it has a sort of "1 frame delay" problem. You won't experience the problem when the option is OFF.
- font size is larger than older versions, at this moment.
- gui.gdscreenshot() and gui.getcolor() will return the SNES image without any Lua drawings.
- gui.gdscreenshot() stretches a screenshot just as Snes9x normally does. It stretches the image if it's hi-res one or interlaced one. (i.e. same as Settings.StretchScreenshots = 1)
2012-08-12 14:56:07 +09:00
gocha 6fb8ae96b1 CRLF => LF, oops 2012-07-25 00:15:28 +09:00
gocha ae85998e81 add lua scripting engine (no useful functions yet)
Notes:
- library download link for convenience http://www.mediafire.com/?gokgoyvo6936l6b
- Unicode version passes UTF-8 string to lua51.dll, but the dll will process the string as a non-Unicode string. Therefore, Lua of Unicode version sometimes might cause a problem with multi-byte characters.
- There might be more bugs. I haven't tested it enough yet.
2012-07-25 00:01:29 +09:00