XBIT
From sc2k-reverse
Jump to navigationJump to search
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 | Rotate the tile by 90 degrees |
2 | +4 | Surface Water (Is this tile covered in water) |
3 | +8 | XVAL mask (does this get counted in landVal Calc) |
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). |