Age | Commit message (Collapse) | Author |
|
PoolItem::IsValidID() and PoolItem::Get()
|
|
PoolItem::IsValidID(index)
|
|
|
|
8 byte integer causes some unwanted side effects when the system is not little-endian.
|
|
required to restart OpenTTD to take effect. Now also support non 1 ASCII character custom grouping separators.
|
|
with user override.
|
|
|
|
this ID' from 'some' strings and replace the string name with something more sensible.
|
|
official for years anyway)
|
|
style and add comments
|
|
sources too
|
|
instead of maintaining a table in the code.
|
|
causing the font spacing to be off when changing fonts in-game (auto font detection).
|
|
|
|
color and colour.
|
|
|
|
|
|
|
|
strings.
|
|
|
|
|
|
|
|
(PhilSophus)
|
|
|
|
current font, try to find a font that does and use that instead. Thanks to glx/michi_cc for the Windows implementation.
|
|
|
|
default name for nearby station).
|
|
and strecpy where direct conversion is possible
|
|
but do return the number of characters written instead of the number of characters that would be written; as size_t is unsigned substraction can cause integer underflows quite quickly.
|
|
without support for it in OpenTTD.
|
|
|
|
|
|
client so it is immediatelly clear which one you are working with.
|
|
so enforce this by using a uint.
|
|
hexadecimals.
|
|
|
|
that is outside of the pool.
|
|
should be passed to be drawn as a string.
|
|
fileio_func.h so not everything that includes saveload.h needs to include everything else too.
|
|
different size' warnings
|
|
|
|
with all other structs/classes that are in a pool.
|
|
were printed, otherwise the text could change due to the few number of slots that could be used to bind.
-Codechange: remove all BindCString and related functions and replace it by RAW_STRING which prints the C-string raw pointer that is on the 'print stack'.
|
|
TTD_[BIG/LITTLE]_ENDIAN is defined
|
|
Dimension instead of uint16[2] for resolutions
|
|
related errors. Now all error() will 'crash' openttd after showing the message in win32 releases (MSVC), creating a crash.log and crash.dmp (like the '!' hack used before). On the other hand, usererror() will just close the game. So use error() only when it can be helpful to debugging, else use usererror().
|
|
loading a savegame.
|
|
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
|
|
|
|
|