6 Area
**FArea
; //forbidden Area
7 int noFArea
; //no used FArea
13 Area
*BoundingArea
; // ALL OBJECTS MUST BE IN THIS POLY
14 double XX
,YY
; //margins for random placement
15 double X
,Y
; //left top corner
21 int AreaInMap(TMap
*m
, Area
*p
, int FromLayer
, int ToLayer
); //returns 0 if p collides with something in m otherwise 1
22 TMap
*String2Map(char *String
); //returns 0 on failure
23 char *Map2String(TMap
*Map
, size_t *bytes
); //returns 0 on failure, fills bytes
24 TMap
*LoadMap(char *filename
);
25 void DestroyMap(TMap
**Map
);
28 * Map file structure int,uint--32bit, double--64bit
35 * uint Layer_seek[noLayer]
36 * uint Sprite_seek[noSprite]
40 * uint string_seek[noFArea]... where to find start of null-terminated string of Forbid Area
45 * uint filename_seek... where to find start of null-terminated string of filename