32 G3d_error(
"G3d_allocTilesType: error in G3d_malloc");
58 G3d_error(
"G3d_allocTiles: error in G3d_allocTilesType");
void G3d_free(void *buf)
Same as free (ptr).
void G3d_error(const char *msg,...)
void * G3d_allocTiles(G3D_Map *map, int nofTiles)
Is equivalent to G3d_allocTilesType (map, nofTiles, G3d_fileTypeMap (map)).
void * G3d_allocTilesType(G3D_Map *map, int nofTiles, int type)
Allocates a vector of nofTiles tiles with the same dimensions as the tiles of map and large enough to...
void * G3d_malloc(int nBytes)
Same as malloc (nBytes), except that in case of error G3d_error() is invoked.
void G3d_freeTiles(void *tiles)
Is equivalent to G3d_free (tiles);