mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-31 10:45:16 +01:00
Add back removed links. (idk what to link Maze to)
10
Maps.md
10
Maps.md
@@ -49,7 +49,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_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.
|
||||
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 [[Objects#footpath-item]]
|
||||
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).
|
||||
@@ -72,7 +72,7 @@ Byte | Offset Name | Notes
|
||||
---- | ----------- | -----
|
||||
0 | Type | `0bQQTT_TTRR` where Q is the quadrant used by small tiles that take up a single quadrant.
|
||||
1 | Flags | `0bFFFF_XXXX` where X is ???
|
||||
4 | Type | Index of the .DAT file that element represents. (Note 255 max small scenery).
|
||||
4 | Type | Index of the .DAT file that element represents. (Note 255 max small scenery). See [[Objects#small-scenery]]
|
||||
5 | Age | Used to show ageing of flowers.
|
||||
6 | Colour 1 | `0b???C_CCCC` where C is colour 1
|
||||
7 | Colour 2 | `0b???C_CCCC` where C is colour 2
|
||||
@@ -90,7 +90,7 @@ Byte | Offset Name | Notes
|
||||
---- | ----------- | -----
|
||||
0 | Type | `0bXXYY_YYRR` Where XX stores the slope (0 = flat, 1 and 2 are sloped)
|
||||
2 | Flags | `0bL?BG_SS??` S is top 2 bits of secondary colour.
|
||||
4 | Type | Type of wall, used to index into the loaded .DAT files.
|
||||
4 | Type | Type of wall, used to index into the loaded .DAT files. See [[Objects#wall]]
|
||||
5 | Tertiary Colour | Tertiary Colour
|
||||
5 | Banner Index | If the wall has a banner.
|
||||
6 | Primary Colour | `0bSSSP_PPPP` where P is primary colour and S is secondary colour (Note top 2 bits are in flags).
|
||||
@@ -100,14 +100,14 @@ Byte | Offset Name | Notes
|
||||
Byte | Offset Name | Notes
|
||||
---- | ----------- | -----
|
||||
0 | Type | `0bBBTT_TTRR` B is for 2 highest bits of banner index (if used).
|
||||
4 - 5 | Type | `0bIIII_IITT_TTTT_TTTT` Type of large scenery, used to index into the loaded .DAT files. (Has space to go above the 128 maximum??). I is for Index of the multiple tile. I.e. 0 is for bottom left and counts up.
|
||||
4 - 5 | Type | `0bIIII_IITT_TTTT_TTTT` Type of large scenery, used to index into the loaded .DAT files. See [[Objects#large-scenery]] (Has space to go above the 128 maximum??). I is for Index of the multiple tile. I.e. 0 is for bottom left and counts up.
|
||||
6 | Primary Colour | `0bBBBP_PPPP` where P is primary colour and B is middle 3 bits of banner index (if used).
|
||||
7 | Secondary Colour | `0bBBBS_SSSS` where S is secondary colour and B is first 3 bits of banner index (if used).
|
||||
|
||||
## Banner Elements (`BannerElement` struct)
|
||||
Byte | Offset Name | Notes
|
||||
---- | ----------- | -----
|
||||
4 | Index | Banner Index. Used to index into the gBanners array to get more information about the banner.
|
||||
4 | Index | Banner Index. Used to index into the gBanners array to get more information about the banner. See [[Objects#banner]] for more information.
|
||||
5 | Position | Position on the path that the banner is used across.
|
||||
6 | Flags | `0bXXXX_NNNN` Where N is an edge that is able to be entered when set and no entry when unset.
|
||||
7 | Unused | Not used.
|
||||
|
||||
Reference in New Issue
Block a user