Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2001:
[Freeciv-Dev] Re: Reproducable core dump (PR#1051)
Home

[Freeciv-Dev] Re: Reproducable core dump (PR#1051)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Reproducable core dump (PR#1051)
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 5 Dec 2001 19:46:27 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Wed, Dec 05, 2001 at 09:55:25AM -0800, jdorje@xxxxxxxxxxxxxxxxxxxxx wrote:
> Raimar Falke wrote:
> 
> 
> > And another version. Changes:
> >  - unified "safe", "empty" and "usable" to "safe"
> >  - various changes in comments
> >  - style changes (extra {} and such)
> > 
> > I now understand and like the function ;)
> 
> The changes look good.
> 
> 
> > +   /* Planes _always_ use SINLGE_MOVE a time so here we can just
> > +      use 1 instead of SINGLE_MOVE */
> 
> SINGLE_MOVE is misspelled here.  (Also, I don't quite understand this 
> comment.  If it were up to me I'd say "planes _always_ use 1 move at a 
> time so we must use 1 instead of SINGLE_MOVE", but I don't understand 
> the relevant code as much as Gregory.  It also seems to me that this 1 
> should be #defined somewhere, perhaps as
> 
> #define AIR_SINGLE_MOVE 1

Ack.

> Off-topic: This assumes planes fly at the same rate over all terrain. 
> Seems reasonable.  We might be tempted to also say
> 
> #define SEA_SINGLE_MOVE 1
> 
> but sea units do _not_ travel at the same rate over all terrain in the 
> SMAC ruleset.

This is another problem.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Are you saying that you actually used the Classpath Java AWT classes in 
  addition to the GTK peers and got them to display something?
  Wow.  That's way better than I did and I wrote the code!"
    -- Aaron M. Renn in the classpath mailing list


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