Age | Commit message (Collapse) | Author |
|
|
|
|
|
const char* instead of StringID
|
|
|
|
missed :)
|
|
|
|
|
|
lines simplifies code.
|
|
DrawStringMultiLine().
|
|
|
|
not needed further.
|
|
variables and side effects. This also fixes the 'colour' parameter of DrawStringMultiLine().
|
|
|
|
consisted of unrelated values use static const (u)int
|
|
|
|
pitch measured in pixels rather than bytes.
|
|
|
|
|
|
divisions with rounding.
|
|
reordered text
|
|
|
|
need to consider undrawing the chat messages
|
|
depot
|
|
|
|
|
|
|
|
characters flicker like a stroboscope.
|
|
|
|
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.
|