April 23 2023 build: Difference between revisions
Elevator1512 (talk | contribs) (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...") |
Elevator1512 (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
This build | 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 17: | ||
#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 | ||
#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 25: | ||
#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 | ||
== See also == | == See also == |
Revision as of 21:31, 21 July 2023
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:
- Fixed crosshairs freelook cursor on Windows
- Keypad floor entries should test the NumberID floor parameter first, then the Floor ID, then the raw floor number, in that order
- Special character error check should be before the UpdateIndicator() call to prevent texture errors
- Remade xteal's input cap code, it should reject numbers that are greater than the length of the controller's bottom or top floor
- Added TimerDelay parameter to Call Stations, to configure the key input timer delay value
- Dispatch controller should report on route additions and removals
- Don't report Caelum singleton errors
- 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
- Ask the controller about active calls to determine call direction
- Have VerifyFile work with multiple resource path locations
- Added GetFilesystemPath() function, which allows currently allows sounds to be loaded from other filesystem locations
- Fix script processor file loader so that it can load from other filesystem locations
- On Mac, load the Application Support folder in addition to the Resources folder
- Have building file selector window support buildings in multiple folder source locations
- 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
- Migrated call button functionality (mainly lights) over to the new CallStation interface