April 11 2023 build
This build has had extensive work done on the Destination Dispatch controller, and so the functionality and routing should be working very well now. I also added sounds to the call station indicators, and added the indicators and elevator IDs to the "Triton Center - Destination Dispatch" building.
One major bug was fixed on Linux in this and I backported the change to the 1.11 branch so it'll be in the next Alpha 11 update. The issue was that movement keys would get stuck causing the camera to keep moving even though keys were released, it was an issue with wxWidgets, and it's now finally fixed.
The only change that affects existing elevator functionality is this:
- When ReOpen is true and elevator re-opens on a floor, chime should not sound if ChimeOnArrival is false
Changelog (most of these are dispatch controller changes):
- Fix ChimeOnArrival parameter for Destination Dispatch mode
- Have interior buttons light up right when doors start opening, in DD mode
- Have indicators use a timer to switch off display instead of having the Dispatch Controller do the work
- Handle deletion of Call Stations
- Handle deletion of Dispatch Controllers
- Assign multiple DD routes to a single elevator if only one elevator is assigned, or if within the specified floor range if multiple elevators are assigned
- Don't process a key down event if the key is actually up, this fixes a "stuck key" issue on some systems
- Allow busy elevators to be chosen in the elevator selection algorithm (FindClosestElevator()) in order to have instant call assignment from call stations
- Have controller only store elevator arrival information if the elevator is arriving at the calling floor, not the destination floor
- Turn off object detachment error messages
- DispatchElevator should determine if the dispatch is a call or not
- Remove DestinationDispatch call type due to previous note
- Elevator's AvailableForCall function should treat an elevator as available if it's responding to a hall call on the same floor and direction
- Handle multiple routes (dispatch controller)
- Fix for interior elevator floor lights - DispatchElevator should set the call type as a standard car call for DD mode instead of a special DD call type
- Elevator assignment should be done during call
- If an elevator is assigned to another route/range, mark as busy
- For DD arrivals, match both elevator arrival and assignment
- Store multiple elevator route/floor assignments
- Dispatch elevator to destination for each registered assignment
- Skip an elevator during selection if one of it's routes has reached the MaxPassengers value
- Routes should store the assigned elevator
- Upon elevator arrival, a single elevator should not be assigned multiple identical routes
- Prevent multiple assignments to a single destination floor
- Use system runloop instead of custom timer runloop
- Added sound support to callstation indicators
- When ReOpen is true and elevator re-opens on a floor, chime should not sound if ChimeOnArrival is false
- Report if no available elevators are found during route processing
- (Triton Center) - added call station indicators and elevator IDs
- Updated script guide