FS#6357 - positioning of train vehicle sprites
Positioning of train vehicle sprites is all a mess in the diverse windows/lists.
Granted, since varAction2 var10 (display different sprites in GUI), this can be worked around, changing it from a bug into an inconvenience. However, why should a newGRF provide 4 identical sprites (only differing in y-position) to compensate for the different base y-coordinate in the diverse windows/lists?
E.g., to position a simple rail car with repect to the same y-position it needs 3 (or even 4, incl the purchase menu) identical sprites, only different in y:
// test all those different offsets in the various windows/lists
sprite(db#vt95.pcx 226 8 01 11 28 -14 -7)
sprite(db#vt95.pcx 226 8 01 11 28 -14 -9)
sprite(db#vt95.pcx 226 8 01 11 28 -14 -8)
In addition, some windows show silly assumptions with regards to vehicle sprite placement. E.g. the train details window reserves 4 rows of empty pixels above the text (see pic), unnecessarily (in a rather low-ceilinged box), only to clip the sprite on its bottom when being shifted downwards. Etc, pp.
This task depends upon