Update MediaWiki page '377 Construct Map Region'

This commit is contained in:
Dirk 2012-08-24 15:32:25 +00:00 committed by moparisthebest
parent 3b786b0366
commit 5626c6fc5a

View File

@ -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.
int l9 = info >> 24 & 3;
int j10 = info >> 1 & 3;
int l10 = info >> 14 & 0x3ff;
int j11 = info >> 3 & 0x7ff;
int info = inStream.readBits(26);
int unknown = info >> 24 & 3;
int unknown = info >> 1 & 3;
int regionX = info >> 14 & 0x3ff;
int regionY = info >> 3 & 0x7ff;
=== Implementation ===