May 20 2023 build

From Skyscraper Wiki
Jump to navigation Jump to search

This build fixes a number of issues, the main one is a crash that would happen when reloading a building. I brought back the original door movement code (reverted the change from the last build). The QueueResets elevator feature has been fixed. The NTCC freight elevator door issue that Mn10 reported in the last build post, has been fixed.

Some things I'm working on now is to provide a new fix for the door movement code, I'm testing the TBB multithreading library again to try to speed up the Cut function on startup (what I mainly wanted to do though is run each building in a separate thread), and some more stuff.

Changelog:

  1. pause simulator during wxYield() call, this prevents sim engine calls from being made prematurely
  2. disable debug panel during simulator pause
  3. bring back original door movement code (revert change from last build)
  4. Fix for QueueResets feature, code should check for a queue count of 1 or less, not just 0
  5. If a door component is finished while another is still moving, and the direction is changed, reprocess door movement code. This fixes a known freight elevator bug where outer doors wouldn't reopen if finished closing, while inner doors were closing and were reopened.

See also[edit | edit source]

External links[edit | edit source]