Age | Commit message (Collapse) | Author |
|
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'
|
|
|
|
|
|
"rail.h" that includes way more than only "rail_type.h") includes at some places.
|
|
style
|
|
with the coding style
|
|
|
|
Inversion of the two parameters of DoTriggerHouse cause a complain which was legit, in this case
|
|
|
|
remembered.
-Codechange: Wrap all transparency settings in accessors, hiding the implementation
-Change: Clicking "transparent building" menu will toggle Houses And Trees only. The other options can be used in the transparency gui.
Initial patch by Smatz (FS#1349), with some rework by BigBB and your humble servant.
|
|
the offset is unsigned instead of signed.
|
|
|
|
|
|
|
|
heights (height of nothern corner instead of height of lowest corner). Patch by frosch.
|
|
AfterLoadCountBuildings function and use the main loop of CheckhouseIDs instead
|
|
foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch.
|
|
transparent" code.
|