Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2002:
[Freeciv-Dev] Re: (PR#2408) Problem with diagonal roads and rails
Home

[Freeciv-Dev] Re: (PR#2408) Problem with diagonal roads and rails

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv@xxxxxxxxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#2408) Problem with diagonal roads and rails
From: "Thue Janus Kristensen via RT" <rt@xxxxxxxxxxxxxx>
Date: Tue, 17 Dec 2002 01:22:05 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Tuesday 17 December 2002 03:23, you wrote:
> [guest - Sun Dec 15 15:45:06 2002]:
> > [jdorje - Sat Dec 14 09:59:32 2002]:
> > > [guest - Fri Dec 13 15:41:03 2002]:
> > > > You shouldn't draw the road corners if the connection is a railroad.
> > > > So
> > > > in fill_road_corner_sprites the road code part need to check that
> > > > both adjacent tiles don't contain railroad. Only then should you it
> > > > count for
> > > > a road.
> > >
> > > True, although in that case the rail will just be drawn over the road.
> >
> > In the trident tileset yes. But it is easy to imagine useful graphics
> > would not cover this properly.
>
> In that case we must draw the road corners even if there is an
> overlapping railroad (since the railroad may not cover it).  So things
> become slightly more complicated...
>
> Patch attached.
>
> jason

This patch looks fine to me.

-Thue



[Prev in Thread] Current Thread [Next in Thread]