mirror of
https://github.com/moparisthebest/rswiki-book
synced 2024-11-14 21:34:59 -05:00
Update MediaWiki page '377 Construct Map Region'
This commit is contained in:
parent
3b786b0366
commit
5626c6fc5a
@ -31,10 +31,11 @@ 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 l9 = info >> 24 & 3;
|
int info = inStream.readBits(26);
|
||||||
int j10 = info >> 1 & 3;
|
int unknown = info >> 24 & 3;
|
||||||
int l10 = info >> 14 & 0x3ff;
|
int unknown = info >> 1 & 3;
|
||||||
int j11 = info >> 3 & 0x7ff;
|
int regionX = info >> 14 & 0x3ff;
|
||||||
|
int regionY = info >> 3 & 0x7ff;
|
||||||
|
|
||||||
=== Implementation ===
|
=== Implementation ===
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user