<div dir="ltr"><div><div>Great! That one branch crossing warning in mapping has been annoying.<br></div>I noticed that you didn't move certain arrays like lockedzonelist() into MapEditState. Don't forget that you can now put variable-length arrays in UDTs! You have to declare them like "lockedzonelist(any) as integer". The 'any' indicates that it's a varlen array with a single dimension; add more anys for more dimensions.<br><br></div>Also, if you want to remove the GOSUBs in sprite_editor you can; I'm not currently working on it. Currently some of the tools in sprite_editor are implemented in GOSUBs, and some are just inlined in sprctrl. Since I converted it to Frames, most of the tools are just a single line plus boilerplate, so I was thinking of just inlining most rather than subifying, though consistency would be cleaner. Not sure if cleaning up sprctrl is even going to be beneficial long term...<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 1 February 2017 at 07:47,  <span dir="ltr"><<a href="mailto:subversion@hamsterrepublic.com" target="_blank">subversion@hamsterrepublic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">james<br>
2017-01-31 10:47:29 -0800 (Tue, 31 Jan 2017)<br>
108<br>
Convert the mapping GOSUB block into mapeditor_mapping() SUB<br>
Also moved a bunch of stuff into MapEditState<br>
---<br>
U   wip/<a href="http://custom_udts.bi" rel="noreferrer" target="_blank">custom_udts.bi</a><br>
U   wip/mapsubs.bas<br>
______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org">ohrrpgce@lists.motherhamster.<wbr>org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.<wbr>org/listinfo.cgi/ohrrpgce-<wbr>motherhamster.org</a><br>
</blockquote></div><br></div>