News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

waytypes at tunnel

Started by sojo, February 01, 2009, 10:23:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

z9999

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

prissi

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

Fabio

Quote from: z9999 on February 14, 2009, 02:44:50 AM
[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!

z9999

Quote from: fabio on September 10, 2009, 01:06:43 PM
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.

Fabio

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.

Dwachs

Quote from: fabio on September 10, 2009, 03:01:51 PM
but is there a plan for its release?
Maybe prissi want to release it with the simutrans 103 version?
Parsley, sage, rosemary, and maggikraut.