Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
|
|
something more than whitespace as description of files that don't have a description.
|
|
|
|
primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
|
|
mysterious hex (ln)
|
|
|
|
statically 'waste' memory when the old name array is not needed anymore.
|
|
operators.
|
|
conversions available to a bigger part of the code.
|
|
|
|
unneeded inclusions of engine.h and/or replace them with engine_type.h.
|
|
station_func.h.
|
|
have both files in it's treelist.
|
|
|
|
a NOT_REACHED to DeterminePluralForm.
|
|
|
|
instead of fixed the problem. GetStringWithArgs() discards information that SCC_GENDER_LIST needs to work. Now use pointers to retrieve GRF strings, so that GetStringPtr() will work correctly. This is advantageous as now no buffer copy is made when using all GRF strings.
|
|
|
|
|
|
logical location.
|
|
|
|
unneeded include from openttd.h.
|
|
now attached to their object directly and there is
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
|
|
|
|
|
|
when it's not necessary.
|
|
|