Age | Commit message (Collapse) | Author |
|
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
|
|
|
|
computed right. A few other things regaring the updating had to be changed. Big thanks for support to frosch123 and SmatZ, to name just a few. (Inspired by a patch of bilbo)
|
|
DrawTileSprites into one PalSpriteID
|
|
one PalSpriteID
|
|
0x62, indtile var 0x60 and industry var 0x62 to 'newgrf_commons.cpp'.
|
|
'newhouses' grf, or when loading a game with missing 'newhouses' grfs
|
|
unneeded include from openttd.h.
|
|
|
|
|
|
|
|
functions.
|
|
|
|
logical place and remove about 50% of the includes of 'functions.h'
|
|
|
|
|