Sweet. :)<div><br></div><div>Yeah that sounds a lot more involved... It&#39;ll be interesting to see how this affects performance!<br><br><div class="gmail_quote">On Wed, Jul 7, 2010 at 12:30 PM, Andrew Church <span dir="ltr">&lt;<a href="mailto:achurch%2Baquaria@achurch.org">achurch+aquaria@achurch.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Actually, I already finished fixing up the scripts to use the getVars()<br>
system -- as the enormous diff in my repository can attest to. (:  I&#39;m<br>
running through them at the moment to find regressions and deal with<br>
a few variable typos and stuff I caught along the way.  I haven&#39;t tried<br>
a PSP build yet, but I&#39;m hoping it&#39;ll cut down on map change time now<br>
that we don&#39;t have to compile every script umpteen times over.  It does<br>
feel like map changes on the PC are a little faster, though my own<br>
system is fast enough it&#39;s hard to tell the difference.<br>
<br>
I still want to try and find a way to get the scripts working without<br>
the extra variable table, not so much for performance or anything but<br>
because I always strive for elegant code (as you may have noticed, heh).<br>
I think the ultimate solution would be to redesign the scripts to run as<br>
true threads, in the sense that you start a script and it keeps running<br>
in a while loop or something until the entity dies or the map changes or<br>
whatever.  That may be a project for Much Later, though...<br>
<div class="im"><br>
  --Andrew Church<br>
    <a href="mailto:achurch@achurch.org">achurch@achurch.org</a><br>
    <a href="http://achurch.org/" target="_blank">http://achurch.org/</a><br>
<br>
</div><div class="im">&gt;Hmm yeah. So far it seems like making our own local variable system is the<br>
&gt;way to go...<br>
&gt;<br>
&gt;It&#39;d be good  to test it out with a handful of scripts and see what it<br>
&gt;does... if it&#39;s a big improvement, then we could apply it to everything<br>
&gt;else. It&#39;d just take some grunt work. :)<br>
</div><div><div></div><div class="h5">_______________________________________________<br>
aquaria mailing list<br>
<a href="mailto:aquaria@icculus.org">aquaria@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/aquaria" target="_blank">http://icculus.org/mailman/listinfo/aquaria</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Alec Holowka<br><a href="http://www.infiniteammo.ca">www.infiniteammo.ca</a><br><a href="http://www.bit-blot.com">www.bit-blot.com</a><br>
</div>