Function entityclassname
#include <macawlevel.h>int entityclassname(int classes, int i, char *buf, int size);
Gives the name of one class in a set: Macaw OS's own first, then the game's, then the generic ones.
Parameters
classesint- A set of classes from
entityclasses, or a level's number. iint- Which class, from 0.
bufchar *- Where the name goes, a
chararray. sizeint- How many bytes
bufholds.
Returns int
The length of the name, or 0 once there are no more.
In Kinds of entity, with entityclasses, entityclasscount, entityclassinfo, entityclassfieldcount, entityclassfield.