[patch] support for broad tunnel portals
With this patch, one can define tunnels, which have also a broad portal (if you build two or more tunnels on neighboured slopes, they will have another image).
The dat is like (you need a new makeobj)
Obj=tunnel
Name=RailTunnel
copyright=Timothy Baldock
waytype=track
cost=100000
maintenance=5000
topspeed=120
max_weight=100
intro_year=1825
intro_month=1
retire_year=2000
retire_month=1
icon=> box-tunnel.2.3
cursor=box-tunnel.2.2
BackImage[N]=box-tunnel.2.0
BackImage[S]=-
BackImage[E]=-
BackImage[W]=box-tunnel.2.1
BackImage[Nl]=box-tunnel.2.0
BackImage[Sl]=-
BackImage[El]=-
BackImage[Wl]=box-tunnel.2.1
BackImage[Nr]=box-tunnel.2.0
BackImage[Sr]=-
BackImage[Er]=-
BackImage[Wr]=box-tunnel.2.1
BackImage[Nm]=box-tunnel.2.0
BackImage[Sm]=-
BackImage[Em]=-
BackImage[Wm]=box-tunnel.2.1
FrontImage[N]=box-tunnel.0.0
FrontImage[S]=box-tunnel.0.2
FrontImage[E]=box-tunnel.0.3
FrontImage[W]=box-tunnel.0.1
FrontImage[Nl]=box-tunnel.4.0
FrontImage[Sl]=box-tunnel.4.2
FrontImage[El]=box-tunnel.4.3
FrontImage[Wl]=box-tunnel.4.1
FrontImage[Nr]=box-tunnel.6.0
FrontImage[Sr]=box-tunnel.6.2
FrontImage[Er]=box-tunnel.6.3
FrontImage[Wr]=box-tunnel.6.1
FrontImage[Nm]=box-tunnel.5.0
FrontImage[Sm]=box-tunnel.5.2
FrontImage[Em]=box-tunnel.5.3
FrontImage[Wm]=box-tunnel.5.1
The images with single character are the normal 'small' tunnels. *r stands for the right, *l the left and *m for the middle part of a broad tunnel. It works also with winter images.
www.tu-chemnitz.de/~gerw/patches/broad_tunnel.patch
Due to my limited graphic skills, the picture isn't very nice, but it shows the possibilities.