Revision r3571
👤 helixhorned
📅 2013-03-17 11:11:53 -0700 (Sun, 17 Mar 2013)
Lunatic t.: allow hex literals with >9 digits if the high ones are all 'F's.
(Or '0's, but that case is handled automatically.) The resulting generated
number is taken by looking at the 8 lower nibbles and interpreting them as
a signed 32-bit integer.
Also add some number parsing tests to test/nlcf_break.con.
Revision r3570
👤 helixhorned
📅 2013-03-17 11:11:47 -0700 (Sun, 17 Mar 2013)
Lunatic translator: new switch -W(no-)error-bad-getactorvar.
Toggling whether a getactorvar for a global or per-player gamevar issues
a warning or a hard error, the latter being the default.
Also, make it possible to readgamevar/savegamevar per-actor gamevars and
add userdefs member "idplayers" (read-only).
Revision r3569
👤 helixhorned
📅 2013-03-17 11:11:44 -0700 (Sun, 17 Mar 2013)
Lunatic translator: else if* -> elseif, fix codegen for "if {}".
The first transformation makes the "control structure too long" error appear
only with larger if/else cascades, though it's still possible.
Revision r3568
👤 helixhorned
📅 2013-03-17 11:11:38 -0700 (Sun, 17 Mar 2013)
Lunatic translator: dynamic tile remapping.
Also, fix message when tiles get remapped in debugging builds.
Revision r3567
👤 helixhorned
📅 2013-03-17 11:11:27 -0700 (Sun, 17 Mar 2013)
Lunatic translator: music 0, add two userdefs members.
------------------------------------------------------------------------
Raw Content
------------------------------------------------------------------------
r3572 | helixhorned | 2013-03-17 11:11:58 -0700 (Sun, 17 Mar 2013) | 3 lines
Lunatic translator embedded: handle command line arguments.
Also, fix an error() call in control.lua:gamearray_file_common().
------------------------------------------------------------------------
r3571 | helixhorned | 2013-03-17 11:11:53 -0700 (Sun, 17 Mar 2013) | 6 lines
Lunatic t.: allow hex literals with >9 digits if the high ones are all 'F's.
(Or '0's, but that case is handled automatically.) The resulting generated
number is taken by looking at the 8 lower nibbles and interpreting them as
a signed 32-bit integer.
Also add some number parsing tests to test/nlcf_break.con.
------------------------------------------------------------------------
r3570 | helixhorned | 2013-03-17 11:11:47 -0700 (Sun, 17 Mar 2013) | 6 lines
Lunatic translator: new switch -W(no-)error-bad-getactorvar.
Toggling whether a getactorvar for a global or per-player gamevar issues
a warning or a hard error, the latter being the default.
Also, make it possible to readgamevar/savegamevar per-actor gamevars and
add userdefs member "idplayers" (read-only).
------------------------------------------------------------------------
r3569 | helixhorned | 2013-03-17 11:11:44 -0700 (Sun, 17 Mar 2013) | 4 lines
Lunatic translator: else if* -> elseif, fix codegen for "if {}".
The first transformation makes the "control structure too long" error appear
only with larger if/else cascades, though it's still possible.
------------------------------------------------------------------------
r3568 | helixhorned | 2013-03-17 11:11:38 -0700 (Sun, 17 Mar 2013) | 3 lines
Lunatic translator: dynamic tile remapping.
Also, fix message when tiles get remapped in debugging builds.
------------------------------------------------------------------------
r3567 | helixhorned | 2013-03-17 11:11:27 -0700 (Sun, 17 Mar 2013) | 1 line
Lunatic translator: music 0, add two userdefs members.
------------------------------------------------------------------------