Add a function to draw the catenary for bridge heads
commit216e12924b89833b5cd4314996eb933a5a2f8b51
authorcirdan <cirdansw@gmail.com>
Fri, 20 Jan 2017 17:34:12 +0000 (20 18:34 +0100)
committercirdan <cirdansw@gmail.com>
Fri, 20 Jan 2017 17:34:12 +0000 (20 18:34 +0100)
treef5fdc8bfa0ae1be15aa3df84b87b53a6b78782fb
parent2515acfcd027d46a9b1fa9a125940b77bf327d57
Add a function to draw the catenary for bridge heads

Add a new function DrawRailBridgeHeadCatenary to draw the catenary
for simple (non-custom) rail bridge heads, to avoid the expensive
computations done in the generic DrawCatenary. This also allows to
remove handling of such tiles from DrawCatenary.
src/elrail.cpp
src/elrail_func.h
src/rail_cmd.cpp