
------------------------------------------------------------------------------
38. Map colors into all color palette. <Main>
------------------------------------------------------------------------------
[Name]
_remapallpalette
[Syntax]
#include <graph.h>
short _remapallpalette( long *colors ) ;
[Description]
Changes color values of all color palettes.
[Compatibility]
<MS-C Non-Compatible Specification>
(1) In MS-C, the actual behaviour of this function is not corresponding
to the explanation in the reference manual. In C Executor, this
function returns "0" for successfully execution according to the
explanation of the manual. "Abnormal ended" never occured. This
function sets the suitable number of the color palettes provided on
the current video mode.
<MS-C Compatible Specification>
(1) The following graphic statuses are returned by the "_grstatus"
function after the execution of this function.
Executed successfully : _GROK
[Remarks]
When the video mode is "_98RES16COLOR(101)", the number of the color
palette is 256 in C Executor, but this function changes only 16
palettes for compatibility with MS-C.