Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2001:
[Freeciv-Dev] Re: freeciv2 kernel,modules and rulesets
Home

[Freeciv-Dev] Re: freeciv2 kernel,modules and rulesets

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Petr Baudis <pasky@xxxxxxxxxxx>
Cc: Andrew Sutton <ansutton@xxxxxxx>, Julian Rüth <julian.rueth@xxxxxx>, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: freeciv2 kernel,modules and rulesets
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 3 Dec 2001 16:53:11 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Mon, Dec 03, 2001 at 04:36:15PM +0100, Petr Baudis wrote:
> Dear diary, on Mon, Dec 03, 2001 at 03:48:04PM CET, I got a letter,
> where Andrew Sutton <ansutton@xxxxxxx> told me, that...
> > On Monday 03 December 2001 09:44 am, Raimar Falke wrote:
> > > Only one comment: the code has to be audited/changed for use of maps
> > > larger than 255x255.
> > 
> > what do you mean? i'm not sure i follow...
> unsigned char? anyway, the code shouldn use int for coords strictly, but
> using char in three lines of current 92450 would be no wonder with the
> actual state of the code ;-).

$ grep uint8 common/packets.c|grep -- '->y'|wc -l
     18

$ grep -Irn 'char x' .
./server/gotohand.c:35:  unsigned char x, y;

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "That's fundamental game play!  My main enemy is *ALWAYS* fighting 
  a 4-front war.  I make sure of it!"
    -- Tony Stuckey, freeciv-dev


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