April 23 2023 build

From Skyscraper Wiki
Revision as of 21:31, 21 July 2023 by Elevator1512 (talk | contribs)
Jump to navigation Jump to search

This build has a lot of bugfixes, and includes support for using the Application Support folder on Mac in addition to the Resources (app) folder. This also means that Windows and Linux should work with other data paths too, but I haven't implemented the folder code for those yet, and haven't tested Windows yet.

All of the remaining call button functionality was moved into the Call Station object and I deleted the call button code. This needs lots of testing to make sure nothing breaks, but appears to be working good so far. This was done to modernize the code and make it more realistic, since previously call buttons handled the elevator waiting and dispatching themselves, now the Dispatch Controllers do that work and the Call Stations connect to them for the functionality.

This build has more proper call status detection code, now the Dispatch Controller stores multiple calls in a table, and the elevators ask the controller about call status when arriving at a floor.

The last build had tons of changes, if you haven't seen it, take a look at it so you can see what's new.

Changelog:

  1. Fixed crosshairs freelook cursor on Windows
  2. Keypad floor entries should test the NumberID floor parameter first, then the Floor ID, then the raw floor number, in that order
  3. Special character error check should be before the UpdateIndicator() call to prevent texture errors
  4. Remade xteal's input cap code, it should reject numbers that are greater than the length of the controller's bottom or top floor
  5. Added TimerDelay parameter to Call Stations, to configure the key input timer delay value
  6. Dispatch controller should report on route additions and removals
  7. Don't report Caelum singleton errors
  8. Store multiple calls instead of just one, and store call direction with it, this fixes issues with multiple hall call arrivals not being processed correctly
  9. Have elevator delete active route after FinishMove(), which should fix arrival notification issues. Also removed separate route delete in same-floor re-opening code
  10. Ask the controller about active calls to determine call direction
  11. Have VerifyFile work with multiple resource path locations
  12. Added GetFilesystemPath() function, which allows currently allows sounds to be loaded from other filesystem locations
  13. Fix script processor file loader so that it can load from other filesystem locations
  14. On Mac, load the Application Support folder in addition to the Resources folder
  15. Have building file selector window support buildings in multiple folder source locations
  16. Do proper error handling in DrawBackground() and DrawImage() functions, and exit app if there's an error
  17. Simplify call status code, rename functions to GetCallStatus() and return both up and down call status like the original GetCallButtonStatus() function
  18. Migrated call button functionality (mainly lights) over to the new CallStation interface

See also

External links