Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2004:
[Freeciv-Dev] Re: (PR#9637) Ocean numbers
Home

[Freeciv-Dev] Re: (PR#9637) Ocean numbers

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#9637) Ocean numbers
From: "Gregory Berkolaiko" <Gregory.Berkolaiko@xxxxxxxxxxxxx>
Date: Mon, 9 Aug 2004 09:29:39 -0700
Reply-to: rt@xxxxxxxxxxx

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

On Mon, 9 Aug 2004, Jason Short wrote:

> > It works fine as it is.  Do I have to change the type?
>
> I don't see how it can work fine.  The negative values are converted to
> large positive values when sent to the client.  But perhaps the client
> never uses them?

The client converts them back to signed.

> My mistake though - it's a short not a char; I was thinking it was an
> 8-byte value but with 16 (or 15) bytes there is no danger of overflow.

bits

> And the CONTINENT type should be an SINT16, as you made it.

so I guessed right.




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