DECLARE FUNCTION DQBloadBMap (BMap AS INTEGER, FileName AS STRING)
BMap - Number of the blender map to load data into
FileName - Blender map file name with full extension
An INTEGER value holding the loading results: > 0 Loading successful > 1 Blender map not yet created > 2 Cannot open file, or file does not exist > 3 Bad or unknown file format > 4 Incompatible blender map > 5 General reading error
Loads data from a specified binary file into the blender map; the blender map must have been previously created by calling DQBcreateBMap.
The bmap number where to load data onto must be compatible with the bmap saved on the file: this means that the number of mapped foreground colors must be the same for both the bmap stored on the file and the bmap structure where you are about to load it into. See also DQBcreateBMap and DQBsaveBMap