Table of Contents

map_SetWrapFlag

Description

Set the flag for whether the map is tiled such that the left/right and top/bottom edges wrap around to produce an infinitely repeating map. Note this function does not change the content of the map, and if the map does not already have matching borders, this function will not make them so.

Function prototype

bool CExtAPI::map_SetWrapFlag(ZMAP hMap, bool WrapFlag);

Arguments

Name Type Comment
hMap ZMAP A ZMAP handle to a map, the WrapFlag of which is to be set.
WrapFlag bool The desired wrap flag state.

Return value

False if an error occurred, and true otherwise.

Comments

None.