OpenTTD

Tasklist

FS#1683 - Wrong sprites along coasts for alpine

Attached to Project: OpenTTD
Opened by Johannes E. Krause (Eddi) - Wednesday, 23 January 2008, 03:24 GMT
Type Bug
Category NewGRF
Status Closed
Assigned To frosch (frosch)
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

i noticed this the first time in r11952

previously, the sprites of the grassy half-slopes were used with the alpine grf.

now at the coast, the half slopes near the coast are from the standard arctic graphics are used
This task depends upon

Closed by  frosch (frosch)
Thursday, 24 January 2008, 14:50 GMT
Reason for closing:  Fixed
Additional comments about closing:  in r11937
Comment by frosch (frosch) - Wednesday, 23 January 2008, 14:04 GMT
In r11726 shore sprites for the 'three-corner-raised'- and steep- slopes were add. However they are only used since r11937.
The alpine grf does not use Action5 (but ActionA) to replace shore graphics. So it does not replace the new slopes witch openttd(w/d).grf loads.

By the way: Do you also miss the graphics for the halftile foundations? Or are you using a grf like tempfndw.grf (second post in http://www.tt-forums.net/viewtopic.php?f=33&t=34298)?
In that case you can do the same with the attached grf.

Comment by frosch (frosch) - Wednesday, 23 January 2008, 20:56 GMT
Attached patch fixes this. I leave it for discussion over night :)

1. If shore sprites are neither loaded by Action5 nor ActionA, the extra sprites from openttd(w/d).grf are used.
2. If a newgrf replaces some shore sprites by ActionA. The (maybe also replaced) grass tiles are used for corner shores.
3. If a newgrf replaces shore sprites by Action5 any shore replacement by ActionA has no effect.

This seems to be TTDP compatible in all cases.

Loading...