mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 11:22:18 -04:00
Formatting problem in fuzz draw fix.
This commit is contained in:
parent
b060a23583
commit
d4dbd745e5
@ -440,27 +440,27 @@ void R_DrawFuzzColumn(void)
|
|||||||
// using the colormap #6 (of 0-31, a bit brighter than average).
|
// using the colormap #6 (of 0-31, a bit brighter than average).
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
// Lookup framebuffer, and retrieve
|
// Lookup framebuffer, and retrieve
|
||||||
// a pixel that is either one column
|
// a pixel that is either one column
|
||||||
// left or right of the current one.
|
// left or right of the current one.
|
||||||
// Add index from colormap to index.
|
// Add index from colormap to index.
|
||||||
// killough 3/20/98: use fullcolormap instead of colormaps
|
// killough 3/20/98: use fullcolormap instead of colormaps
|
||||||
|
|
||||||
//sf : hires
|
//sf : hires
|
||||||
*dest = fullcolormap[6*256+
|
*dest = fullcolormap[6*256+
|
||||||
dest[fuzzoffset[fuzzpos] ? SCREENWIDTH<<hires
|
dest[fuzzoffset[fuzzpos] ? SCREENWIDTH<<hires
|
||||||
: -(SCREENWIDTH<<hires)]];
|
: -(SCREENWIDTH<<hires)]];
|
||||||
|
|
||||||
|
// Clamp table lookup index.
|
||||||
// Clamp table lookup index.
|
if (++fuzzpos == FUZZTABLE)
|
||||||
if (++fuzzpos == FUZZTABLE)
|
|
||||||
fuzzpos = 0;
|
fuzzpos = 0;
|
||||||
|
|
||||||
dest += SCREENWIDTH<<hires;
|
dest += SCREENWIDTH<<hires;
|
||||||
|
|
||||||
frac += fracstep;
|
frac += fracstep;
|
||||||
} while (count--);
|
}
|
||||||
|
while (count--);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user