Skip to main content
Topic: waytypes at tunnel (Read 14498 times) previous topic - next topic

Re: waytypes at tunnel

Reply #35
My patch was denied ? If so, I will make a bug report topic.

Re: waytypes at tunnel

Reply #36
Not denied, but currently only bugfixes, because we are on the 102 release feature freeze. But honestly, I overlooked your patch.

Re: waytypes at tunnel

Reply #37
[patch] underground way image

I wrote a patch for this.

New makeobj50 allows to refer to a way object, and tunnel tools use its images as underground ways images if there. ("way=")
It can use any way objects but to hide them from toolbar, I used "type_underground=64" in weg.h. If this number is bad, please change it.

New tunnel object is version 3, and node length is 1 byte larger to add "uint8 has_way".

Known problem:
Underground way still use sidewalk image. Currently I don't know hot to remove this. Should be removed sidewalk image or not ?


Has this patch been incorporated in latest versions? I want/need to use this feature for pak128.

Ugly workaround if not used is: tunnelspeed 129 km/k (instead of 130) + hidden road with max speed 129 km/h.
But i would really like to avoid this solution!

Re: waytypes at tunnel

Reply #38
Has this patch been incorporated in latest versions?

The patch had been incorporated, but makeobj50 is not released yet.
You need to complite it by youself or ask someone to do it.

Re: waytypes at tunnel

Reply #39
it's a very good piece of news.

but is there a plan for its release?

i have NO IDEA how to compile a source. Additionally, i would like to test it and produce for the official release.

Re: waytypes at tunnel

Reply #40
Maybe prissi want to release it with the simutrans 103 version?
Parsley, sage, rosemary, and maggikraut.