Age | Commit message (Collapse) | Author |
|
|
|
@param to @tparam if necessary
|
|
which were sometimes missing and sometimes just typos
|
|
|
|
for more consistency and distinguishability.
|
|
GetIndustryByTile()
|
|
|
|
|
|
instead of using a big union
|
|
PoolItem::IsValidID() and PoolItem::Get()
|
|
PoolItem::IsValidID(index)
|
|
|
|
|
|
this ID' from 'some' strings and replace the string name with something more sensible.
|
|
iterations and show a messagebox blaming the newgrf. (mizipzor)
|
|
sources too
|
|
but at least it can be consistent.
|
|
color and colour.
|
|
|
|
|
|
TTDPatch and
OpenTTD feature with it's origin in TTDPatch to replace/add/change vehicles
(including e.g. maximum speed, graphics and introduction year), stations,
bridges, industries, town houses or any other graphics used by either
TTDPatch or OpenTTD, would tell that building an industry is okay, which
is queried using a so-called callback that allows the NewGRF author to
test all kinds of information about the neighbourhood where the industry
might get build, it would corrupt, i.e. overwrite with invalid data, the
structure that is used to build up an error message. This then might result
in trying to resolve an invalid StringID, an internal numeric representation
of all translateable strings, which would in it's turn trigger a safety
check that is added to ensure invalid StringIDs are never resolved.
|
|
|
|
|
|
client so it is immediatelly clear which one you are working with.
|
|
times faster than pre-r14416 in average case
|
|
the 'nearest land/water' check (~25% performance penalty)
|
|
industries
|
|
|
|
|
|
with all other structs/classes that are in a pool.
|
|
equivalent constant
|
|
46, as no param was required (thanks frosch)
|
|
construction date.
Same as var B0, but base year is now 0, instead of 1920
|
|
something more than whitespace as description of files that don't have a description.
|
|
okay (or lines starting with a space and then tabs).
|
|
|
|
callback 28.
|
|
|
|
specified in FS#1712.
|
|
better scheme is implemented.
|
|
callback 28 (Industry location permissibility)
|
|
logical location.
|
|
unneeded include from openttd.h.
|
|
|
|
|
|
doing industry callback.
Some variables used were linked to invalid industry.
|
|
|
|
|
|
|
|
logical place and remove about 50% of the includes of 'functions.h'
|