Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2002:
[Freeciv-Dev] Re: AI cleanup Version 3
Home

[Freeciv-Dev] Re: AI cleanup Version 3

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Petr Baudis <pasky@xxxxxxxxxxx>
Cc: Raahul Kumar <raahul_da_man@xxxxxxxxx>, freeciv development list <freeciv-dev@xxxxxxxxxxx>, Patches <bugs@xxxxxxxxxxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: AI cleanup Version 3
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 5 Jan 2002 18:37:09 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Sat, Dec 29, 2001 at 06:04:32PM +0100, Petr Baudis wrote:
> >  int find_something_to_kill(struct player *pplayer, struct unit *punit, int 
> > *x, int *y)
> >  {
> > -  int a=0, b, c, d, e, m, n, v, i, f, a0, b0, ab, g;
> > +  int a=0, b, min_turns_to_dest, d, e, move_rate, n, v, i, f, a0, b0, ab, 
> > g;
> Ble - can you please put them at least to separate lines?

> min_turns_to_dest seems too long for me - what about 'delay'? ;) (used that

This is a bit funny. One char names are too short and 17 char names
are too long. Hell he didn't wrote minimal_turns_to_reach_destination
like I would have done ;).

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "- Amiga Y2K fixes (a bit late, wouldn't you say?)"
    -- Linus Torvalds about linux 2.4.0 at 4 Jan 2001


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