Age | Commit message (Collapse) | Author |
|
|
|
SPRITE_MODIFIER_CUSTOM_SPRITE, invert its meaning, and also use it for industry/house layouts instead of IS_CUSTOM_SPRITE().
|
|
if a header require a header make it include that header
|
|
industries and houses
|
|
using default sprites.
|
|
|
|
num_sprites (as in number of sprite sets) is not the same as num_sprites (as in number of building sprites)
|
|
|
|
foundations and to disable slope changes, like industry tile callbacks 30 and 3C.
|
|
|
|
|
|
north tile.
|
|
_house_specs[]
|
|
|
|
town_type.h to separate files
|
|
Company::IsValidHumanID(), don't use IsHumanCompany() where possible
|
|
|
|
instead of using a big union
|
|
PoolItem::IsValidID(index)
|
|
not yet built.
|
|
were incorrect after 0xFF had been reached and could desync clients joining afterwards.
|
|
color and colour.
|
|
|
|
|
|
array instead of the construction year.
Note: Savegames from r13437 to now are broken and have a age of 255 years for a lot houses.
|
|
PALETTE_MODIFIER_COLOR in spritelayout drawing.
-Fix [FS#2419]: The modifiers were not applied in all cases.
|
|
colour.
|
|
(Houses), IndustryDrawTileLayout, DrawStationTile, DrawTile_Station and DrawTile_Track (Waypoint).
Now transparency options, PALETTE_MODIFIER_TRANSPARENT and SPRITE_MODIFIER_OPAQUE should work for all of them.
|
|
|
|
client so it is immediatelly clear which one you are working with.
|
|
proper coordinates, pretty please!
Plus, two(2) rogue tabs found their way in.
|
|
houses, Coordinates of the house tile
|
|
|
|
|
|
the 1x1 building bit set was flawed with some NewGRFs. This caused the amount of houses to differ, which causes the town radii to differ, which causes desyncs when towns are expanded.
|
|
with all other structs/classes that are in a pool.
|
|
is queried for.
|
|
|
|
|
|
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.
|
|
are now drawn until first non-opaque sprite is found (bit 14 not set)
This is to balance performance, code complexity and NewGRF requirements
|
|
variable for Houses.
Or, in more simple terms, the check for the animation frame of nearby house.
|
|
something more than whitespace as description of files that don't have a description.
|
|
every 256 ticks, not every tick... Also bail out of the triggers a little earlier if you know they are not going to happen anyway.
|
|
it, i.e. testing the low bits for 0xFF or 0 instead of all bits.
|
|
stations.
|
|
|
|
texteff.cpp (it isn't a text effect after all). Also remove a few more functions from functions.
|
|
instead of transparent
|
|
descriptive
|