L3DT documentation
Large 3D terrain generator



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


Declaration Zeolite.h
Implementation Zeolite.cpp

Function prototype

bool zlist_SortA(ZLIST hList, const char* lpItemName, long To);


Name Type Comment
hList ZLIST A handle to a ZLIST variable containing the item to be sorted.
lpItemName const char* A handle to a C-style string containing the name 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_sorta.txt · Last modified: 2017/08/31 04:59 (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