Age | Commit message (Collapse) | Author |
|
|
|
widget size computations.
|
|
|
|
|
|
drawing, this way we won't draw other strings too small; only caused problems when tiny/big text strings would use SETX.
|
|
results for NewGRF texts.
Note: This readds support for centering strings with SETX, however the text part of the string will not be in the exact center, as the SETX offsets that.
Note: All means of aligning vehicle names behind wide sprites (SETX or lots of spaces) in the buy menu will cause the vehicle names to be misaligned in other places, like the new vehicle news message, exclusive use of vehicle message, detailed vehicle information or autoreplace.
|
|
reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
|
|
const is (accidentally?) removed using C-style casts.
|
|
|
|
-Fix [FS#2864]: autopause and manual pausing conflict with eachother
-Fix: new game + pause on new game + autopause make the game not unpause on the first join
|
|
forcing resizes/redraws of the screen during map generation
|
|
DrawString and not DrawStringMultiLine.
|
|
same as for DrawString (except the addition of the bottom parameter)
|
|
truncated too early
|
|
fonts
|
|
and ai debug output don't get swapped (those are untranslateable anyways)
|
|
RTL text.
|
|
|
|
|
|
-Fix (r15800): off-by-one w.r.t. offsets
|
|
|
|
new one.
|
|
|
|
drawing API
|
|
drawing API.
|
|
|
|
API.
|
|
|
|
left/right instead of the x and width to make drawing text at offsets easier.
|
|
|
|
|
|
shouldn't be doing, make sure that the actions happening after that, doesn't start doing what it shouldn't be doing. This of course would only happen in rare corner cases.
|
|
sprite as cursor.
|
|
|
|
hardcode the values for that enum.
|
|
as GameMode instead of as byte.
|
|
Now use the same method of handling the colour as it would do when drawing a string instead of a character.
|
|
color and colour.
|
|
|
|
|
|
|
|
ICU's headers.
|
|
and strecpy where direct conversion is possible
|
|
language file instead of hardcoding one.
|
|
|
|
scripts and connecting Arabic characters.
|
|
sprites: fonts, recolour, mapgen and normal sprites.
|
|
some unneeded '(x == 0) ? 0 : 1' constructs.
|
|
|
|
OpenTTD to stop drawing the string. This is especially noticable with low resolutions and the chat input box.
|