summaryrefslogtreecommitdiff
path: root/tools/gencode.js
AgeCommit message (Collapse)Author
2023-05-03Automate tedious events.Tor Andersson
2023-05-03Separate event code into separate procedures.Tor Andersson
So each procedure can have its own address space, and we don't break running games when one procedure is changed.
2023-05-03Simplify 5.1.3 affected events with new instruction pair.Tor Andersson
if_space <condition1> or_space <condition2> Gets compiled to: if can_vm_place(1, s => <condition1>) space 1 <condition1> else space 1 <condition2> endif Interleaving if/else and space/endspace is safe.
2023-05-03Event code - all instead of 0.Tor Andersson
Use min/max values in opcode instead of "skip" boolean, to possibly allow for ranges 1-3 for "up to" instead of 0-3. 5.1.3 - place base if able
2023-05-03Event pass.Tor Andersson
2023-05-03auto_place in eventsTor Andersson
2023-05-03More events, cleanups, and if/else/endif.Tor Andersson
2023-05-03Clean up code generation script and opcodes.Tor Andersson