The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Milko on May 01, 2010, 10:41:47 am

Title: [patch] z-offsets for trees
Post by: Milko on May 01, 2010, 10:41:47 am
Hi

In may game I have trees on the way... The road is public, built on the start of the game, I do not know when the trees have appeared.

Pak 128 Nightly 808 - Simutrans 102.2.2 (last stable)

Giuseppe
Title: Re: Trees on the way
Post by: Dwachs on May 01, 2010, 01:16:53 pm
Nature conquers back! It is a known bug. Internally these trees are not on the road tiles but on neighboring tiles, and the graphics have a wrong offset.
Title: [patch] z-offsets for trees
Post by: Dwachs on September 04, 2010, 03:30:21 pm
This patch introduces z-offsets for trees. This allows a more precise positioning of trees on tiles. After rotation trees are resorted on the tile to avoid strange overlapping of images.

Reminder: The simutrans code ****umes that the graphics of the trees in the pak-files are centered on the tile.
Title: Re: [patch] z-offsets for trees
Post by: prissi on September 04, 2010, 07:21:50 pm
Maybe we should wait with this until the next version is released, as it an esthetical problem. The solution seems ok, and it will just increase savegame size.