Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2000:
[Freeciv-Dev] FoW cleanup
Home

[Freeciv-Dev] FoW cleanup

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] FoW cleanup
From: Thue Janus Kristensen <thue@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 9 May 2000 18:56:00 +0200
Reply-to: thue@xxxxxxxxxxxxxxxxxxxxxxxxxx

Does:
-Move the seen field from the common map to the player map (saves a good deal
of memory)
-I think there is a bug when a new player is created (revolution or barbarians)
while fog is toggled of, and fog later is toggled back on. In any case it
should be gone now.
-Many functions take
struct player *pplayer
as argument when what they need is really the player id. And worse, they
usually start with the player id but then find the player pointer to give as 
argument
to the function :). This patch corrects a few cases of that.
-change the order of function argument from (player, x, y) to (x, y, player) in
some functions for consistency. More functions need to be changed.

-Thue

Attachment: FoW_cleanup-May-09.diff
Description: Binary data


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] FoW cleanup, Thue Janus Kristensen <=