Function importmap
#include <macaw.h>int importmap(const char *path);
Reads a map made in another program: a Tiled map (.tmx or .json) or a CSV of tile numbers. It keeps at most 8 layers.
Parameters
pathconst char *- The map file's path, from your program's folder unless it starts with
/.
Returns int
A number for the imported map, or 0 if it couldn't be read.
In Maps made elsewhere, with importmapimage, imap_layers, imap_layername, imap_size, imap_get, imap_picture, imap_used, imap_notes, imap_note, imap_free.