| Table of Contents calc_AM_GetIDfromColour
 
This function has been removed from the core API, and is now available via the 'calc.AM.GetIDfromColour' zeofunc.
 DescriptionGet the 16-bit ID of a land type in the attributes map, as represented by an AttributesPixel structure, that corresponds to a given display colour. Function prototypeAttributesPixel CExtAPI::calc_AM_GetIDfromColour(COLORREF col); Arguments
 Return valueZero if the given colour does not match the display colour of a known land type, and non-zero otherwise. CommentsThis function is used when loading the attributes map from a colour-mapped image file. Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported |