Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2004:
[Freeciv-Dev] Re: (PR#376) chance to know damage status of defending uni
Home

[Freeciv-Dev] Re: (PR#376) chance to know damage status of defending uni

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: goswin.brederlow@xxxxxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#376) chance to know damage status of defending unit in a city
From: "Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Tue, 27 Jan 2004 02:45:33 -0800
Reply-to: rt@xxxxxxxxxxx

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

On Mon, Jan 26, 2004 at 10:09:55PM -0800, Jason Short wrote:
> 
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=376 >
> 
> > [goswin.brederlow@xxxxxxxxxxxxxxxxxxxxxxxx - Thu May 25 11:36:37 2000]:
> 
> > When you attak a city, you wont see the unit defending the city.
> > Esspecially you wont see how week that unit is at the end.
> > The unit should be visible during AND after the fight (maybe just
> > until the next redraw).
> 
> A unit that defends in a city should be known to the client (of all
> players who see the unit) until the end of the turn.  At least that
> gives the client the _chance_ to display the unit.
> 
> Hypothetically, each unit would need a boolean flag for this. 
> punit->exposed or some such.

IMHO we should tackle this another way. No changes to the protocol or
the unit struct are necessary. The client just records the
fight. There is a window which displays the fights (from the last n
turns till now). It will show a picture of each unit at the start and
some stats as text and the outcome.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "I was dead ... but I'm better now."
    -- Capitain Sheridan in Babylon 5




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