InitPalette()

Syntax

Result = InitPalette()
Description
Init all the Palette environments for later use. You must put this function at the top of your source code if you want to use the Palette functions. If Result is equal to 0, it has failed and none of the palette functions can be used. On Windows, if it fails, it's probably because DirectX 7 (or DirectX 3 with NT4.0 compatibility) isn't found.

Supported OS

Windows, Linux

<- GetPaletteColor() - Palette Index - IsPalette() ->