Skip to navigation

Landscape: leadingBitMask

Name: leadingBitMask [Show more] Type: Variable Category: Landscape Summary: A table for converting the number of leading clear bits in a number into a bit mask with the same number of leading zeroes
Context: See this variable in context in the source code References: This variable is used as follows: * DitherScreenBuffer uses leadingBitMask * GetTilesAtAltitude uses leadingBitMask
.leadingBitMask EQUB %11111111 EQUB %01111111 EQUB %00111111 EQUB %00011111 EQUB %00001111 EQUB %00000111 EQUB %00000011 EQUB %00000001