- The options menu no longer scales up so quickly, so it can fit wider text
onscreen. In addition, it now uses the whole height available to it. Also, at lower resolutions, items on the compatibility options menu now cut off the beginning of the option label rather than the option setting, making this menu useable where previously it was not. SVN r2044 (trunk)
This commit is contained in:
parent
9eb5fdd276
commit
b3986a0235
8 changed files with 166 additions and 86 deletions
|
|
@ -59,6 +59,9 @@ int CleanXfac, CleanYfac;
|
|||
// [RH] Effective screen sizes that the above scale values give you
|
||||
int CleanWidth, CleanHeight;
|
||||
|
||||
// Above minus 1 (or 1, if they are already 1)
|
||||
int CleanXfac_1, CleanYfac_1, CleanWidth_1, CleanHeight_1;
|
||||
|
||||
CVAR (Bool, hud_scale, false, CVAR_ARCHIVE);
|
||||
|
||||
// For routines that take RGB colors, cache the previous lookup in case there
|
||||
|
|
@ -425,6 +428,15 @@ bool DCanvas::ParseDrawTextureTags (FTexture *img, double x, double y, DWORD tag
|
|||
}
|
||||
break;
|
||||
|
||||
case DTA_CleanNoMove_1:
|
||||
boolval = va_arg(tags, INTBOOL);
|
||||
if (boolval)
|
||||
{
|
||||
parms->destwidth = parms->texwidth * CleanXfac_1;
|
||||
parms->destheight = parms->texheight * CleanYfac_1;
|
||||
}
|
||||
break;
|
||||
|
||||
case DTA_320x200:
|
||||
boolval = va_arg(tags, INTBOOL);
|
||||
if (boolval)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue