Le mardi 16 février 2010 à 01:14 +0200, Yoav Luft a écrit :
> I'm trying to figure out how to use requirement. In improvement.h, in
> the improvement struct there's this line:
> struct requirement_vector reqs;
> I'd tried to figure out where and how this "requirement_vector" is
> defined, but could find anything. I know it's not the best place to
> ask at, but I'd appreciate your help.
> (BTW, I'm trying to add requirements to unittype as well).
This verctor is defined in the ruleset, in buildings.ruleset.
Freeciv-dev mailing list