L3DT documentation
Large 3D terrain generator



Sort an item in a list to another index. In zlist_SortI, the item to be sorted is specified by its current location (compare: zlist_SortA).


Declaration Zeolite.h
Implementation Zeolite.cpp

Function prototype

bool zlist_SortI(ZLIST hList, long From, long To);


Name Type Comment
hList ZLIST A handle to a ZLIST variable containg the item to be sorted.
From long The current index of the item to be sorted.
To long The desired index of the item.

Return value

False if an error occurred, and true otherwise.



zeolite/functions/zlist_sorti.txt · Last modified: 2017/08/31 04:15 (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