Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2003:
[Freeciv-Dev] (PR#2957) is ocean as a function with oceanness read from
Home

[Freeciv-Dev] (PR#2957) is ocean as a function with oceanness read from

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: kayeats@xxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#2957) is ocean as a function with oceanness read from ruleset
From: "Jason Short via RT" <rt@xxxxxxxxxxxxxx>
Date: Fri, 31 Jan 2003 21:39:32 -0800
Reply-to: rt@xxxxxxxxxxxxxx

[kayeats - Sat Feb  1 02:55:00 2003]:

> This is almost a patch to make is_ocean and company into functions
> where
> the property of a terrain type being a sort of ocean is read from the
> ruleset.

Nice idea.

> The problem is that I am not super familiar with the nitty gritty of
> making different files talk to each other and consequently I haven't
> been able to find where I need to put the new dependancies which I
> introduce (many more files now need to be able to use functions from
> map.c).  I see that at compile time the files in the .deps directories
> are made, and these seem to contain the stuff in question, but I don't
> see where they are reading their information from.  Could someone
> please
> enlighten me?

Everything in .deps is made "automatically" by re-running autogen.sh
(automake, autoconf, configure, whatever).  If it's the case that you
add '#include "map.h"' in many new places and want these files to be
recompiled when map.h changes, then this is all you need to do.  If not,
then I don't understand the problem.

jason



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