Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2004:
[Freeciv-Dev] Re: (PR#8632) Easy way to set map size with auto ratios (s
Home

[Freeciv-Dev] Re: (PR#8632) Easy way to set map size with auto ratios (s

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#8632) Easy way to set map size with auto ratios (seteables if desired)
From: "Marcelo Burda" <mburda@xxxxxxxxx>
Date: Fri, 28 May 2004 14:56:28 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=8632 >

Le ven 28/05/2004 à 23:28, Jason Short a écrit :
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=8632 >
> 
> > [mburda - Fri May 28 09:48:45 2004]:
> 
> > -server send map info map.[xy]size in UINT16, this alow to reduced
> > unneeded limit, coord stil as UINT8.
> 
> What limit does that allow you to reduce?  I don't see it.
if map is isometric MAP_WIDTH=MAP_HEIGHT= map.xsize + map.ysize/2 < 254
we can make a maps as map.ysize 300, map.xsize 100!
but the 300 can't send as map.info in a UINT8.
with my patch we can make a uranus iso map of size 29 ! without it this
is limit to 21!, if ratio is biger than this 5:8 the limits is lower
> 
> And, if you do this a new capability is needed.
wath is this capability? i test it and works! i no understand the
problem.
only 2 byte more per GAME! all map pos stil sended in map coordinates
then in a syngle bytes. only size are sended in words
> 
> jason
-- 
 . /  .     '    ,    .      (*)   '        `     '      `    .    
  |    ,  |   `     ,     .      ,   '  Marcelo Julián Burda      .
 /  '     \     `     \@_     '      .        '      `        '    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




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