Age | Commit message (Collapse) | Author |
|
since the typechecking of string parameters
|
|
string command later in the string failed
|
|
of a string could cause invalid memory reads
|
|
there is an implicit default case with index 0
|
|
lists to fail completely
|
|
|
|
types/strings are not properly mapped to the strings that we use for the default industries
|
|
|
|
and genders
|
|
string or select the case of the next substring
|
|
less magic
|
|
colour code) is not implemented
|
|
|
|
|
|
|
|
|
|
format based on settings
|
|
|
|
better
|
|
|
|
|
|
a GRFText* to make translations possible
|
|
|
|
converted to openttd codes so they didn't work
|
|
|
|
|
|
temporary/persistent storage. (Spotted by yexo)
|
|
helper functions
|
|
Eddi), and a typo fix.
|
|
"non-placement deallocation function [is] selected for placement delete", or in other words delete(void *, size_t) is 'magic'.
We implemented these delete(void *, size_t) operator functions because MSVC warned that "no matching operator delete found; memory will not be freed if initialization throws an exception" for new(size_t, size_t).
This disables MSVC warning about this because we do not use exceptions in the (constructors that use the) overridden allocation functions, as such they will never be called; delete(void *) remains necessary though.
|
|
|
|
|
|
that are pushed on the (NewGRF string) stack
|
|
part and a part that's for NewGRF strings
|
|
which were sometimes missing and sometimes just typos
|
|
|
|
|
|
for months. All attempts to do another workaround failed.
|
|
should be allowed as is instead of being treated as control codes.
|
|
sources too
|
|
instead of maintaining a table in the code.
|
|
|
|
|
|
hexadecimals.
|
|
strings due to sign extension (minime)
|
|
around properly (minime)
|
|
(especially because newgrf_station.h includes a lot of stuff).
|
|
|
|
strings.
|
|
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.
|