[Freeciv-Dev] Re: (PR#8584) remove dio_[put|get]_city_map
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] Re: (PR#8584) remove dio_[put|get]_city_map |
From: |
"Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx> |
Date: |
Sun, 25 Apr 2004 11:28:05 -0700 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=8584 >
Raimar Falke wrote:
> BIT_STRING improvements[B_LAST+1];
> - CITY_MAP city_map[CITY_MAP_SIZE*CITY_MAP_SIZE+1];
> + CITY_MAP city_map[CITY_MAP_SIZE * CITY_MAP_SIZE];
>
> You can do better here. Send the number of elements of the array. From
> this the client can decide what the citymap positions are. I.e. you do
> the old solution with an extra level of indirection.
I don't get it. Isn't the number of elements of the array CITY_MAP_SIZE
* CITY_MAP_SIZE, or very close?
jason
- [Freeciv-Dev] Re: (PR#8584) remove dio_[put|get]_city_map, Jason Short, 2004/04/24
- [Freeciv-Dev] Re: (PR#8584) remove dio_[put|get]_city_map, Raimar Falke, 2004/04/25
- [Freeciv-Dev] Re: (PR#8584) remove dio_[put|get]_city_map, Raimar Falke, 2004/04/25
- [Freeciv-Dev] Re: (PR#8584) remove dio_[put|get]_city_map,
Jason Short <=
- [Freeciv-Dev] Re: (PR#8584) remove dio_[put|get]_city_map, Jason Short, 2004/04/25
- [Freeciv-Dev] Re: (PR#8584) remove dio_[put|get]_city_map, Raimar Falke, 2004/04/25
- [Freeciv-Dev] Re: (PR#8584) remove dio_[put|get]_city_map, Raimar Falke, 2004/04/25
- [Freeciv-Dev] Re: (PR#8584) remove dio_[put|get]_city_map, Jason Short, 2004/04/25
- [Freeciv-Dev] Re: (PR#8584) remove dio_[put|get]_city_map, Jason Short, 2004/04/25
- [Freeciv-Dev] Re: (PR#8584) remove dio_[put|get]_city_map, Jason Short, 2004/04/25
|
|