March 14 2016 build

From Skyscraper
Jump to: navigation, search
This is the article of a development build of Skyscraper Simulator.
It has been confirmed a good-faith contribution to the Skyscraper wiki.

This build has fixes for the multi-building feature, mainly for positioning of buildings in nested Buildings script sections. This also includes fixes from the last build, and the fixes from the last build's update. For more info on recent changes, see the previous build's changes:
http://forum.skyscrapersim.com/index.php?topic=7233.msg75036#msg75036

One feature in this build is that instead of child engines cutting just their parent engines, they now pass the cut calls up the parent/child chain. So in this situation, if you have Building1 as the first loaded engine, Building2 as a child engine loaded in the "Buildings" section, and Building3 loaded in Building2's "Buildings" section, previously Building3 would just cut Building2, but now it'll also cut Building1.

Changelog:
-position command in Globals section needs to recursively move child engines when run
-fixed an issue where the Position command in the Globals script section wouldn't work for buildings loaded in nested Buildings sections
-have CutForEngine function pass engine cut operation to parent, mainly so that nested Buildings sections in code will cut the top-level engine properly

Fixes from last build's update:
-child engine positions need to be set relative of their parent engine
-elevators should report that they're unavailable for a call if the interlock check fails. This fixes a potential call button lockup
-fixed triangle reindexing by adding proper validity checks, to fix a problem that arose when switching to an unsigned int type

See Also