A function to get the bit value from a b/w bitmap
| 421 | |
| 422 | //A function to get the bit value from a b/w bitmap |
| 423 | inline int GetBit( uint8_t* line, int bit ) |
| 424 | { |
| 425 | const int c = (int)line[bit >> 3]; |
| 426 | const int mask = 128 >> ( bit & 7 ); |
| 427 | return c & mask; |
| 428 | } |
| 429 | |
| 430 | bool Tr2FontManager::GetAtlasTextureForSbit( FTC_SBit sbit, Tr2AtlasTexture** at ) |
| 431 | { |
no outgoing calls
no test coverage detected