pold500 / gens-rerecording

Automatically exported from code.google.com/p/gens-rerecording
0 stars 0 forks source link

Macro support #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Movie macros.  These will be blocks of input that can be inserted into a
movie from a hotkey/menu button.  Thy will also take into account lag via
the lag counter.

Original issue reported on code.google.com by andres.d...@gmail.com on 25 Jul 2008 at 1:44

GoogleCodeExporter commented 8 years ago

Original comment by andres.d...@gmail.com on 25 Jul 2008 at 1:45

GoogleCodeExporter commented 8 years ago
Another candidate for relegating to Lua scripting, I think.

Original comment by nitsuja-@hotmail.com on 4 Nov 2008 at 9:55

GoogleCodeExporter commented 8 years ago
I would prefer implementing macro support and editing directly in C/C++. 
However this
preference is based on an assumption that a lua script to extend emulator
functionality would require significantly more resources (IE: memory, cpu 
time), than
a compiled C equivalent. If that assumption is false, then implementing via LUA 
seems
reasonable.

... though, since I think macro support should include a point and click 
editor, that
would either have to be a stand-alone executable, or support for creating and
destroying dialog boxes via LUA would have to be implemented (if it hasn't 
already been.)

Original comment by Upth...@gmail.com on 4 Nov 2008 at 2:58

GoogleCodeExporter commented 8 years ago
Well, the reason doing it in Lua would be neat is that it the macros could be 
fully
programmable. Personally, if I wanted to use a macro I would prefer to 
implement it
in a script because then I could make the macro as "smart" as I want it to be
(allowing ongoing input to modify it in unconventional ways, being 
context-sensitive,
etc.). However, a simple point and click editor would still be useful for many
people, and while that CAN be implemented in Gens Lua now that getting mouse 
input is
supported, there wouldn't be much advantage to doing it that way as opposed to 
in C++
besides for it making an interesting sample script. So I've changed my mind, 
this
would still be worth doing, although I think its priority has dropped a little 
now
that people who want to use macros have a way of doing so (albeit not the most
user-friendly way).

Original comment by nitsuja-@hotmail.com on 5 Nov 2008 at 6:58