NAME
MgetGreyPalette - get the grey palette
SYNOPSIS
#include "csf.h"
int MgetGreyPalette
(
MAP *m,
UINT2 *pal
);
PARAMETERS
-
MAP *m
-
the map to get it from
-
UINT2 *pal
-
the resulting palette
DESCRIPTION
MgetGreyPalette fills the pal argument with a number of grey tupels
of the grey palette. Each tupel is one UINT2
words describing the intensity: low, 0 is black, high is white.
RETURNS
0 if not available or in case of error,
nonzero otherwise
SEE ALSO
MgetHistorySize
,
MgetDescriptionSize
,
MgetNrColourPaletteEntries
,
MgetNrGreyPaletteEntries
,
MgetDescription
,
MgetHistory
,
MgetColourPalette
,
MputDescription
,
MputHistory
,
MputColourPalette
,
MputGreyPalette