Blitzbasic mapengine function | |||||||||
error=map_load (name$, passw$ [,check]) | |||||||||
Description | |||||||||
This function load map-file with all objects and all images. At first, this function call map_reset() and remove all map-data and map-images from memory. At next it check map-checksum and open map-file (if possible) and load all data. Use map_draw() to draw a map or map_reset() to remove map. |
|||||||||
Parameter | |||||||||
|
|||||||||
Return value | |||||||||
error code: 0=ok 1=file not found 2=file size corrupted 3=no read access 4=not valid file 5=checksum problem 6=password problem 7=load image problem (error code 7 do not free data or images!!!) |