[Freeciv-Dev] semi-quick tile_is_known patch
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
attached is a patch to move tile_is_known() from map.c to climisc.c
is does this plus add appropriate includes in two files and change a
ptile->known to the function call in mapctrl.c
one caveat: the macro MAP_TILE in the body of tile_is_known() has been
removed. This is because MAP_TILE is defined in map.c rather than map.h
I did not want to move it until I got feedback from the list. yes, this
kind of direct access to map.tiles is not good. So respond with a
suggestion.
This patch is needed to remove ~60k from the civworld patch.
-mike
tile_is_known_patch
Description: Text document
- [Freeciv-Dev] semi-quick tile_is_known patch,
Mike Kaufman <=
[Freeciv-Dev] Re: semi-quick tile_is_known patch, Raimar Falke, 2001/10/28
|
|