XBIT
From sc2k-reverse
Every tile on the map has a 1 byte (FF) XBIT value for it, setting various flags about the tile.
Bit Position | Decimal | Flag Meaning |
---|---|---|
0 | +1 | Salt Water (Will water on this tile be fresh or salt water) |
1 | +2 | Flip the tile (from the perspective of the sprite it is horizontally mirrored) |
2 | +4 | Surface Water (Is this tile covered in water) |
3 | +8 | Mark bit (When this bit is set, it seems to be involved in quite a few calculations, some could well be to do with land value) |
4 | +16 | Watered (Is this tile receiving water). |
5 | +32 | Piped (Can this tile receive water). |
6 | +64 | Powered (Is this tile receiving power). |
7 | +128 | Powerable (Can this tile receive or need power). |