If you mean setWaypoint() function for a HUD-element then the limit is 32: https://github.com/voron00/libcod/blob/master/declarations.hpp#L883

An .archived=true field makes HUD-element to be...