Age | Commit message (Collapse) | Author |
|
down, not 10.
|
|
remove some unused variables
|
|
too big
-Codechange: replace some magic numbers related to palette animation with constants
|
|
bottom + 1, draw the string
|
|
newlines (multi line strings) we need to (properly) handle the case when there are no spaces instead of truncating the string.
|
|
|
|
which were sometimes missing and sometimes just typos
|
|
strings.
|
|
(like done for video, music, sound, etc)
|
|
wrongly.
|
|
|
|
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.
|
|
|
|
|