> 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.
To complement pepeto's answer: the type "struct requirement_vector" gets declared in requirements.h by this code: #define SPECVEC_TAG requirement #define SPECVEC_TYPE struct requirement #include "specvec.h" So, ctags/cscope/grep/whatever won't be able to find its definition. _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev