This stores three flags in unused map bits, and avoids having to look up
station graphics and custom station specs to determine blocked/wires/pylons
status.
This potentially affects rail pathfinding performance.
Savegame version is not bumped, as the flags can just be updated every
time.
(cherry picked from commit cb658e6cc6e1c114c1eaafaaa5b14849f04ca083)
pull/603/head
Peter Nelson8 months agocommitted byJonathan G Rennison
<tdclass="bits"rowspan=2><spanclass="free">O<spanclass="patch"title="Station type (extra bit)">P</span></span><spanclass="used"title="Station type">XXX</span><spanclass="used"title="Reserved track">X</span><spanclass="free">OO</span></td>
<tdclass="bits"rowspan=2><spanclass="used" title="May have pylons">X</span><spanclass="patch"title="Station type (extra bit)">P</span><spanclass="used"title="Station type">XXX</span><spanclass="used"title="Reserved track">X</span><spanclass="patch" title="May have wires (moved from bit 6)">P</span><spanclass="used"title="Tile is blocked">X</span></td>