Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2001:
[Freeciv-Dev] semi-quick tile_is_known patch
Home

[Freeciv-Dev] semi-quick tile_is_known patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Raimar Falke <rf13@xxxxxxxxxxxxxxxxxxxxxx>
Cc: Freeciv-Dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] semi-quick tile_is_known patch
From: Mike Kaufman <mkaufman@xxxxxxxxxxxxxx>
Date: Sat, 27 Oct 2001 00:20:39 -0500

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

Attachment: tile_is_known_patch
Description: Text document


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