[Freeciv-Dev] Re: code question
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Fri, Jan 14, 2005 at 01:44:33PM +0100, Christian Knoke wrote:
>
> Can a kindly soul tell me where the bool_value pointers in struct settings_s
> (settings.h) get their mem and init values assigned?
the memory is stored in:
struct settings_s settings[];
the memory is allocated at program startup.
> (And why t.. h... are these pointers?)
so that we change e.g. map.separatepoles directly instead of a piece of
memory in the settings_s array.
-mike
|
|