mirror of
https://github.com/moparisthebest/rswiki-book
synced 2024-11-21 16:45:01 -05:00
Update MediaWiki page '377 Construct Map Region'
This commit is contained in:
parent
22086ccb71
commit
1e23c63731
@ -30,8 +30,8 @@ If the tile exists then a 1 gets written to the output stream as a 1 otherwise a
|
|||||||
If the tile does exist then you would follow that 1 bit with 26 bits of information about the tile.
|
If the tile does exist then you would follow that 1 bit with 26 bits of information about the tile.
|
||||||
|
|
||||||
int info = inStream.readBits(26);
|
int info = inStream.readBits(26);
|
||||||
int unknown = info >> 24 & 3;
|
int heightLevel = info >> 24 & 3;
|
||||||
int unknown = info >> 1 & 3;
|
int rotation = info >> 1 & 3;
|
||||||
int regionX = info >> 14 & 0x3ff;
|
int regionX = info >> 14 & 0x3ff;
|
||||||
int regionY = info >> 3 & 0x7ff;
|
int regionY = info >> 3 & 0x7ff;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user