Bug #7622

Change runway tiles to be childsprites rather than buildings

Added by Supercheese about 3 years ago.

Status:NewStart date:2015-04-13
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

As can be seen in the attached picture, when runway tiles are defined as buildings, they can cause an overlap bug when airplanes (or airships in this case) are extremely long. Changing them to childsprites rather than buildings (as is done in OGFX+ Airports itself) mitigates the issue.

The current building behavior is shown at the bottom of the attached image, whereas the patched behavior, with childsprites, is shown at top. The attached patch converts the appropriate spritelayouts to use childsprites rather than buildings, and is applied against the main .nml file found here at the repo.

Childsprite vs Building.png (66.8 KB) Supercheese, 2015-04-13 22:41

buildings_to_childsprites.diff Magnifier (33.7 KB) Supercheese, 2015-04-13 22:56

Also available in: Atom PDF