1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00

Fully exposed rct_map_element_path_properties::type (path type).

Hielke Morsink
2015-12-02 14:18:57 +01:00
parent eb837a2b9c
commit 67cd173e25

@@ -54,7 +54,7 @@ Depending on if the path is a queue or not modifies the structure.
| Byte | Offset Name | Notes
|-----|-------------|------
| 0 | Type | `0b??YY_YY2Q` where Q is set if it is a queue, 2 is set when the path is 2+ sections wide (stops peeps from thinking its a junction)
| 4 | Path Type | `0bTTTT_?SDD` where S is set if the path is sloped. D is the direction of the slope or the direction of the path. T is the type of path. See [[Path Object]]
| 4 | Path Type | `0bTTTT_QSDD` where T is the type of path (0-15 from the paths available in the scenario), Q is set when it's the last path-element in a queue (the one with a banner), S is set if the path is sloped, and D stores the direction of the path. See [[Path Object]]
| 5 | Additions | `0b??SS_AAAA` where A is the type of addition (See rct_path_bit_scenery_entry). S is the station number (rides can have up to 4 sets of stations).
| 6 | Edges | `0bCCCC_SSSS` where C are bits indicating if the corners are connected and S are bits indicating whether the edges are connected.
| 7 | Additions Status | For each of the 4 edges there are 2 bits to indicate if seat occupied (1 for occupied) / bin fullness (0 for full, 3 for empty).