Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2002:
[Freeciv-Dev] Re: Recalculating movement after unit gets damaged
Home

[Freeciv-Dev] Re: Recalculating movement after unit gets damaged

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Recalculating movement after unit gets damaged
From: Thomas Strub <ue80@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 3 Oct 2002 19:17:24 +0200

On Thu, Oct 03, 2002 at 05:57:14PM +0100, Gregory Berkolaiko wrote:
> On Thu, 3 Oct 2002, Thomas Strub wrote:
> 
> I really dislike how it's done (that means I dislike the existing code 
> too).  I feel there is no need to copy and keep the whole unit struct if 
> all you need is just def_moves_used and att_moves_used.  Why not compute 
> only those before the fighting occurs?

So you think this new solution is better?

Thomas
-- 
Thomas Strub  ***  eMail ue80@xxxxxxxxxxxxxxxxxxx
Nur weil das Aufzeichnen, Kopieren und Schnüffeln bei elektronischem 
Datenverkehr leichter als bei der klassischen Post ist, darf man es nicht
einfach tun.

Attachment: def_ships_moves2.diff
Description: Text document


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