[Freeciv-Dev] Re: (PR#9637) Ocean numbers
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=9637 >
Gregory Berkolaiko wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=9637 >
>
>>[jdorje - Sun Aug 08 22:23:08 2004]:
>>
>>And also...
>>
>>I think you need to change the CONTINENT type in packets.def. Currently
>>it is a UINT16. It should be an SINT8, right? And this change will
>>require a new capability.
>
> 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?
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.
And the CONTINENT type should be an SINT16, as you made it.
jason
- [Freeciv-Dev] Re: (PR#9637) Ocean numbers, Jason Short, 2004/08/08
- [Freeciv-Dev] Re: (PR#9637) Ocean numbers, Jason Short, 2004/08/08
- [Freeciv-Dev] Re: (PR#9637) Ocean numbers, Mateusz Stefek, 2004/08/09
- [Freeciv-Dev] Re: (PR#9637) Ocean numbers, Gregory Berkolaiko, 2004/08/09
- [Freeciv-Dev] (PR#9637) Ocean numbers, Gregory Berkolaiko, 2004/08/09
- [Freeciv-Dev] (PR#9637) Ocean numbers, Gregory Berkolaiko, 2004/08/09
- [Freeciv-Dev] Re: (PR#9637) Ocean numbers,
Jason Short <=
- [Freeciv-Dev] Re: (PR#9637) Ocean numbers, Gregory Berkolaiko, 2004/08/09
- [Freeciv-Dev] Re: (PR#9637) Ocean numbers, Jason Short, 2004/08/09
- [Freeciv-Dev] (PR#9637) Ocean numbers, Gregory Berkolaiko, 2004/08/11
|
|