CREATEMAPDATA |
Top Previous Next |
Syntax INT = CREATEMAPDATA(map as POINTER, width as INT, height as INT, fill_tile as INT,opt scrollwrap = FALSE as INT) Description Creates empty tile data for the map. Initially filled with the tile number specified. Parameters map - Handle to a map returned by the NEWMAP function. width - Width of the data, in tiles. height - height of the data, in tiles. fill_tile - Tile# to initially fill the blank map with. scrollwrap - Optional. Specifies a wrap around map when scrolling. Return value TRUE is map data could be created, FALSE on failure Remarks Free the map and its data with FREEMAP. Set tiles in the map with SETMAPDATA See Also: NEWMAP, FREEMAP, SETMAPDATA Example usage CREATESCREEN width,height,32 |