Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2002:
[Freeciv-Dev] Re: [RFC] square_dxy_iterate
Home

[Freeciv-Dev] Re: [RFC] square_dxy_iterate

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Petr Baudis <pasky@xxxxxxxxxxx>
Cc: Gregory Berkolaiko <gberkolaiko@xxxxxxxxxxx>, jdorje@xxxxxxxxxxxxxxxxxxxxx, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [RFC] square_dxy_iterate
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 23 Feb 2002 22:37:17 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Sat, Feb 23, 2002 at 10:31:29PM +0100, Petr Baudis wrote:
> Dear diary, on Sat, Feb 23, 2002 at 10:24:49PM CET, I got a letter,
> where Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx> told me, that...
> > Index: ai/aiunit.c
> > ===================================================================
> > RCS file: /home/freeciv/CVS/freeciv/ai/aiunit.c,v
> > retrieving revision 1.177
> > diff -u -r1.177 aiunit.c
> > --- ai/aiunit.c     2002/02/23 16:38:10     1.177
> > +++ ai/aiunit.c     2002/02/23 21:21:42
> > @@ -601,17 +601,37 @@
> >    return(val);
> >  }
> >  
> > -static void invasion_funct(struct unit *punit, bool dest, int n, int which)
> > -{ 
> > +/*************************************************************************
> > +  Mark an invasion threat of punit in the surrounding cities. The
> > +  given radius limites the area which is searched for cities. The
> > +  center of the area is either the unit itself (dest == FALSE) or the
> > +  destiniation of the current goto (dest == TRUE). The invasion threat
> > +  is marked in pcity->ai.invasion via ORing the "which" argument (to
> > +  tell attack from sea apart from ground unit attacks). Note that
> > +  "which" should only have one bit set.

> <nitpick>why is the description indentet by 2 spaces? ;))</nitpick>

You will see no space, one space, two space and maybe even some other
form in the code.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  "Heuer's Law: Any feature is a bug unless it can be turned off."


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