Table of Contents
calc_AM_GetPixelColour
This function has been removed from the core API, and is now available via the 'calc.AM.GetPixelColour' zeofunc.
DescriptionGet the display colour of a pixel value in an attributes map. Function prototypeCOLORREF CExtAPI::calc_AM_GetPixelColour(AttributesPixel AMpxl); Arguments
Return valueA Windows COLORREF structure containing the colour of the land type. A value of magenta {R,G,B} = {255, 0, 255} is returned in the case of an error, as this colour is too putrid to use for any other purpose. When you see magenta, you know something is wrong! CommentsThis function is used when displaying the attributes maps on the screen, or when saving it to disk in colour-mapped mode. Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
|