[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]
[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
railcorners-4.diff
Description: railcorners-4.diff
- [Freeciv-Dev] (PR#2408) Problem with diagonal roads and rails, (continued)
- [Freeciv-Dev] (PR#2408) Problem with diagonal roads and rails, Guest via RT, 2002/12/11
- [Freeciv-Dev] (PR#2408) Problem with diagonal roads and rails, Jason Short via RT, 2002/12/11
- [Freeciv-Dev] (PR#2408) Problem with diagonal roads and rails, Guest via RT, 2002/12/13
- [Freeciv-Dev] (PR#2408) Problem with diagonal roads and rails, Jason Short via RT, 2002/12/14
- [Freeciv-Dev] (PR#2408) Problem with diagonal roads and rails, Guest via RT, 2002/12/15
- [Freeciv-Dev] (PR#2408) Problem with diagonal roads and rails, Jason Short via RT, 2002/12/16
[Freeciv-Dev] (PR#2408) Problem with diagonal roads and rails,
Jason Short via RT <=
|
|