mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 09:32:29 +01:00
Updated G1 Elements Layout (markdown)
@@ -7,8 +7,8 @@ The first y dwords are offsets to the corresponding y line. You use this to jump
|
||||
|
||||
`[dword][dword] ...`
|
||||
|
||||
When you have jumped to the correct line there are 2 words that inform you of the number of bytes in the next data section and the gap length after it. To draw the correct image you have to do each section and remember to jump over each gap on the drawing surface. The next line will start immediately at the end of the previous line. If the most significant bit of the gaps byte is set then this the last data section of a line and a new line will start after this data section.
|
||||
When you have jumped to the correct line there are 2 bytess that inform you of the number of bytes in the next data section and the gap length after it. To draw the correct image you have to do each section and remember to jump over each gap on the drawing surface. The next line will start immediately at the end of the previous line. If the most significant bit of the gaps byte is set then this the last data section of a line and a new line will start after this data section.
|
||||
|
||||
`line0:[no. bytes in data 1][gap length 1][data 1 of no. bytes length][no. bytes in gap 2]...line1:...`
|
||||
|
||||
`[word][word][bytes*no.bytes][word]...`
|
||||
`[byte][byte][bytes*no.bytes][word]...`
|
||||
Reference in New Issue
Block a user