- fixed: The floor waggle code used FloatBobOffsets as sine table but this
only has 64 entries and is not precise enough. It now uses finesine instead. - fixed: When compositing a multipatch texture any patch that is a multpatch texture itself and contains rotations may not be composited directly into the destination buffer. This must be done with an intermediate buffer. - Fixed: Drawing a slider in the options menu did not scale the x-coordinate. - Fixed: If the alt HUD had to draw negative numbers the minus sign was misplaced due to incorrect texture coordinate calculations. - changed option menu scaling for widescreen modes so that it doesn't scale down so quickly. - made some error messages in DECORATE that don't affect the parsing non-fatal so that the parser can continue to find more problems. SVN r2076 (trunk)
This commit is contained in:
parent
54283ee231
commit
87f3c9c5b7
10 changed files with 117 additions and 64 deletions
|
|
@ -736,19 +736,19 @@ FTexture *FFont::GetChar (int code, int *const width) const
|
|||
code > LastChar ||
|
||||
Chars[code - FirstChar].Pic == NULL)
|
||||
{
|
||||
*width = SpaceWidth;
|
||||
if (width != NULL) *width = SpaceWidth;
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
*width = SpaceWidth;
|
||||
if (width != NULL) *width = SpaceWidth;
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
code -= FirstChar;
|
||||
*width = Chars[code].Pic->GetScaledWidth();
|
||||
if (width != NULL) *width = Chars[code].Pic->GetScaledWidth();
|
||||
return Chars[code].Pic;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue