As the title says. How do i loop/search trough all available types of buildings?
The global var ....
extern building_t bmBuildings[MAX_BASES][MAX_BUILDINGS];
... stores them seperated by bases (and thus probably duplicates).
I suspect that i can use the prev/next entries in building_t somehow ...
struct building_s *prev;
struct building_s *next;is a
.. but how do i know where to start/stop?
Werner