- various engine updates from Raze.
* removed refreshFreq variable and related code. This only got into the backend because of stupid interpolation code in some of the Build games which has long been removed. * save FixedBitArrays as base64 in savegames. * allow indirections in the string table - by prefixing the language string with '$$' the remaining text is interpreted as another string label to resolve. * constexpr in palette code, also replacing #defines with enums.
This commit is contained in:
parent
c65f707a20
commit
96ceb11af0
21 changed files with 209 additions and 51 deletions
|
|
@ -262,7 +262,7 @@ void DrawTextCommon(F2DDrawer *drawer, FFont *font, int normalcolor, double x, d
|
|||
double scaley = parms.scaley * parms.patchscaley;
|
||||
|
||||
if (parms.celly == 0) parms.celly = font->GetHeight() + 1;
|
||||
parms.celly *= scaley;
|
||||
parms.celly = int (parms.celly * scaley);
|
||||
|
||||
bool palettetrans = (normalcolor == CR_UNDEFINED && parms.TranslationId != 0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue