Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2004:
[Freeciv-Dev] Re: (PR#8627) best overview for iso-maps
Home

[Freeciv-Dev] Re: (PR#8627) best overview for iso-maps

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: mburda@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#8627) best overview for iso-maps
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 6 May 2004 12:11:07 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=8627 >

Marcelo Burda wrote:

> ? cvs version no compile today in my pc
> /home/mburda/Documents/src/freeciv/ai/advmilitary.c:1332: référence
> indéfinie vers « ai_hunter_choice » etc
> the i am still working on a snap shot of the Apt-29

You have to re-run autogen.sh.

>>- There are problems with iso-maps that don't have TF_WRAPX (topos 4 and
>>6).  The problems come because the left and right side of the map are
>>actually zig-zags on the overview.  However obviously the overview can't
>>draw it like that.  The result is that the left side is drawn zig-zag
>>with some colors uninitialized.  The right side is OVERVIEW_TILE_WIDTH /
>>2 pixels too small (the overview width isn't enough, it should be
>>map.xsize * OVERVIEW_TILE_WIDTH + OVERVIEW_TILE_WIDTH / 2) and so the
>>zig-zag is clipped off.
> 
> Oops, I am sorry, my code on ExtendedTopologie is fondamentaly different
> and when stracting and adapting it i missed to test it with out wraping
> X. wraping is hardcoded, i ll correct it

The problem isn't in the wrapping, it's in the offset.  I'm not sure how 
to fix it.  Maybe just draw the whole overview store black before 
redrawing it.

jason




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