1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-19 13:52:54 +01:00

Updated Maps (markdown)

Hielke Morsink
2015-12-02 19:14:14 +01:00
parent 03e75d0e45
commit a6970380b7

@@ -10,6 +10,8 @@ Each rct_map_element is made up of 8 bytes. There are 8 different types of map e
| 2 | Base Height | The lowest point of the tile. Multiply by 8 to get real units.
| 3 | Clearance Height | The highest point of the tile. Multiply by 8 to get real units.
The other 4 bytes differ per type.
### Type Table
Index | Type
@@ -55,7 +57,7 @@ Depending on if the path is a queue or not modifies the structure.
|-----|-------------|------
| 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_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 | `0bG?SS_AAAA` where G is set for ghosts, A is the type of addition (See rct_path_bit_scenery_entry), and S is the station number (rides can have up to 4 sets of stations).
| 5 | Additions | Path additions are scenery that can be placed on paths (benches, bins, lamps). `0bG?SS_AAAA` where G is set for when the addition is a ghost, A is the type of addition (See rct_path_bit_scenery_entry), and 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).
| 7 | Ride Index | Index of the ride that the queue is connected to 0xFF for nothing.