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

[Freeciv-Dev] (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: thue@xxxxxxx, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#2408) Problem with diagonal roads and rails
From: "Jason Short via RT" <rt@xxxxxxxxxxxxxx>
Date: Mon, 16 Dec 2002 18:23:19 -0800
Reply-to: rt@xxxxxxxxxxxxxx

[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

Attachment: railcorners-4.diff
Description: railcorners-4.diff


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