Age | Commit message (Collapse) | Author |
|
Removes indirect dependency on <string> and <map> for over 40 files
|
|
|
|
|
|
length, then none of the other bridges can. Effectively meaning that if someone replaces the first bridge with a bridge that can be only 3 tiles longs then only other bridges that can be 3 tiles long will be buildable, but only if they are 3 tiles long.
|
|
builds without asserts
|
|
got/stayed broken
|
|
for core functions (big functions use just inline instead)
|
|
for Houses.
This var will return the manhattan distance of the nearest house that match a given criteria.
The criterias can be: 0 : house ID/ 1 : Class ID/ 2 : grf ID
The search radius can be defined too, up to 64.
|
|
|
|
make it better readable
|
|
The rework allowed to remove a function, by merging two quite similar ones.
|
|
'leap year' and 'day of year'.
|
|
|
|
|
|
|
|
|
|
built in orthogonal axis
|
|
Makes it a bit clearer, don't you think?
|
|
they are used as such
-Cleanup: some small things referring the change
|
|
few exceptions.
|
|
This is done by selecting the 32bpp-anim blitter by default as it seems Apple removed some 8bpp support
Since this is done at runtime the same binary will still select 8bpp on 10.3 and 10.4
|
|
are build adjacent to them.
|
|
order, otherwise the vehicle would already leaving the station before it knows where the next destination is, making it leave in the wrong way. However, after processing as many conditional orders as there are in the order list it will stop processing them in order to not create an infinite loop.
|
|
|
|
|
|
query them in the context of network games. This makes it impossible for static NewGRFs to disable non-static NewGRFs and 'bad' things happening because the non-static NewGRF doesn't know about the static NewGRF.
|
|
there
-Codechange: convert smallvector from struct to class
|
|
|
|
|
|
|
|
order on LE and BE machines
|
|
|
|
are now drawn until first non-opaque sprite is found (bit 14 not set)
This is to balance performance, code complexity and NewGRF requirements
|
|
destination directly instead. Makes palette animation ~40% faster.
|
|
explanation/documentation of a trickery some would call a hack
|
|
|
|
lowered. So small revert
|
|
|
|
TTD_[BIG/LITTLE]_ENDIAN is defined
|
|
distinguished struct instead in the data stream for 8bpp-optimized
|
|
as 27. So, it has to be lowered by one, so it can be used as a widget "pointer"
|
|
|
|
leftovers of scenario editor one.
Still more go do
|
|
more adaptable, still
|
|
|
|
|
|
|
|
necessarily consecutive.
|
|
Dimension instead of uint16[2] for resolutions
|
|
exactly the value to use.
Even more when it's a parameter.
|