mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
AVALANCHE: Cosmetic correction in Dropdown::chalk().
This commit is contained in:
@@ -287,13 +287,13 @@ void Dropdown::chalk(int16 x, int16 y, char t, Common::String z, bool valid) {
|
||||
|
||||
for (byte fv = 0; fv < z.size(); fv++)
|
||||
for (byte ff = 0; ff < 8; ff++) {
|
||||
byte pixel = ~(_vm->_gyro.little[z[fv]][ff] & ander); // Note that it's the bitwise NOT operator!
|
||||
for (byte bit = 0; bit < 8; bit++) {
|
||||
byte pixelBit = (pixel >> bit) & 1;
|
||||
*_vm->_graph.getPixel(x * 8 + fv * 8 + 7 - bit, y + ff) = pixelBit | (pixelBit << 1) | (pixelBit << 2);
|
||||
// We don't have to bother with the planes. See the original. Note that it's the bitwise OR operator!
|
||||
}
|
||||
byte pixel = ~(_vm->_gyro.little[z[fv]][ff] & ander); // Note that it's the bitwise NOT operator!
|
||||
for (byte bit = 0; bit < 8; bit++) {
|
||||
byte pixelBit = (pixel >> bit) & 1;
|
||||
*_vm->_graph.getPixel(x * 8 + fv * 8 + 7 - bit, y + ff) = pixelBit | (pixelBit << 1) | (pixelBit << 2);
|
||||
// We don't have to bother with the planes. See the original. Note that it's the bitwise OR operator!
|
||||
}
|
||||
}
|
||||
|
||||
if (! z.contains(t))
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user