April 23 2023 build: Difference between revisions

From Skyscraper Wiki
Jump to navigation Jump to search
(Created page with "This build as 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...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
This build as 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.
{{legit}}{{db}}
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.
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.
Line 17: Line 18:
#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
#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
#Have elevator delete active route after FinishMove(), which should fix arrival notification issues.  Also removed separate route delete in same-floor re-opening code
#Have elevator delete active route after FinishMove(), which should fix arrival notification issues.  Also removed separate route delete in same-floor re-opening code
#ask the controller about active calls to determine call direction
#Ask the controller about active calls to determine call direction
#Have VerifyFile work with multiple resource path locations
#Have VerifyFile work with multiple resource path locations
#Added GetFilesystemPath() function, which allows currently allows sounds to be loaded from other filesystem locations
#Added GetFilesystemPath() function, which allows currently allows sounds to be loaded from other filesystem locations
Line 25: Line 26:
#Do proper error handling in DrawBackground() and DrawImage() functions, and exit app if there's an error
#Do proper error handling in DrawBackground() and DrawImage() functions, and exit app if there's an error
#Simplify call status code, rename functions to GetCallStatus() and return both up and down call status like the original GetCallButtonStatus() function
#Simplify call status code, rename functions to GetCallStatus() and return both up and down call status like the original GetCallButtonStatus() function
#migrated call button functionality (mainly lights) over to the new CallStation interface
#Migrated call button functionality (mainly lights) over to the new CallStation interface


== See also ==
== See also ==
Line 35: Line 36:
* [https://skyscrapersimulatorforum.createaforum.com/download-skyscraper-simulator/new-build-42323-build/ Build: 4/23/23 build on the Skyscraper Simulator Forum]
* [https://skyscrapersimulatorforum.createaforum.com/download-skyscraper-simulator/new-build-42323-build/ Build: 4/23/23 build on the Skyscraper Simulator Forum]
[[Category:Development Builds]]
[[Category:Development Builds]]
[[Category:2023 Builds]]
[[Category:Alpha 12 builds]]
[[Category:Alpha 12 builds]]

Latest revision as of 13:59, 1 September 2024

This article is legitimate.
It contains good-faith information, such as an existing building or content.
This article describes a development build of Skyscraper Simulator.
It contains good information related to Skyscraper Simulator.

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[edit | edit source]

External links[edit | edit source]