- defined a new constant, CR_NATIVEPAL, to use the font functions with a predefined palette.

This is mainly for code clarification, the value is the same as CR_UNDEFINED.
This commit is contained in:
Christoph Oelckers 2021-05-29 11:47:05 +02:00
parent 22be26bd2d
commit 8fae793341
19 changed files with 34 additions and 32 deletions

View file

@ -817,7 +817,7 @@ void DStatusBarCore::DrawString(FFont* font, const FString& cstring, double x, d
DTA_FillColor, 0,
TAG_DONE);
}
DrawChar(twod, font, pt == 0? fontcolor : CR_UNDEFINED, rx, ry, ch,
DrawChar(twod, font, pt == 0? fontcolor : CR_NATIVEPAL, rx, ry, ch,
DTA_DestWidthF, rw,
DTA_DestHeightF, rh,
DTA_Alpha, Alpha,