Function imap_used
#include <macaw.h>int imap_used(int m, int sprite);
Tells you whether the imported map's tiles fill a sprite, so you know which places in the sheet they take.
Parameters
mint- The imported map's number.
spriteint- The sprite number to ask about, from 0 to 255.
Returns int
1 if the map's tiles fill that sprite, or 0 if they don't.
In Maps made elsewhere, with importmap, importmapimage, imap_layers, imap_layername, imap_size, imap_get, imap_picture, imap_notes, imap_note, imap_free.