L3DT documentation
Large 3D terrain generator



Retrieve the memory allocation mode for a map.


Declaration Zeolite.h
Implementation Zeolite.cpp

Function prototype

unsigned long zmap_GetAllocMode(ZMAP hMap);


Name Type Comment
hMap ZMAP A ZMAP handle to a map variable.

Return value

The following return values are defined in Zeolite_defines.h:

Symbol Value Description
MAPALLOC_INVALID 0x0 The map is not initialised or the ZMAP handle is not a valid map object.
MAPALLOC_RAM 0x01 The map is allocated as a single block of contiguous RAM.
MAPALLOC_MOSAIC 0x02 The map is split into a mosaic of tiles.
MAPALLOC_MOSAIC_TEMP 0x04 The map is temporarily split into a working mosaic in the L3DT temp directory, but will be loaded from / saved to a single map file in the project directory when the project is saved.
MAPALLOC_MOSAIC_SYSPAGEFILE 0x10 Same as MAPALLOC_MOSAIC_TEMP, but the working copy is stored in the system page file.
MAPALLOC_MOSAIC_MEMMAPFILE 0x20 Same as MAPALLOC_MOSAIC_TEMP, but the working copy is stored in a memory-mapped file.



zeolite/functions/zmap_getallocmode.txt · Last modified: 2017/08/31 04:21 (external edit)
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki