L3DT documentation
Large 3D terrain generator



Get the name of a variable type, as a string variable, corresponding to a given variable type ID.


Declaration Zeolite.h
Implementation Zeolite.cpp

Function prototype

bool ztype_GetName(long VarID, ZVAR hStringVar);


Name Type Comment
VarID long The variable type ID for which the corresponding name string is to be retrieved.
hStringVar ZVAR A ZVAR handle to a user-supplied string variable (created with zvar_Create, zvar_CreateShared or zlist_CreateItem.)

Return value

False if an error occurred or the given VarID was not recognised, and true otherwise.


The value of the string contained in hStringVar can be retrieved using zstr_GetText.

zeolite/functions/ztype_getname.txt · Last modified: 2017/08/31 05:06 (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