| M E M _ G R O W P E N H O L D E R ( )
| | | | | SOURCE: qdev_autodocs.txt 1.163 (12/09/2014) English AMIGA - MEM_#?
----------------------------------------------------------------------------
NAME
mem_growpenholder() - Accumulates local pen caches.
SYNOPSIS
mem_growpenholder(htab, ptab);
void mem_growpenholder(WORD *, WORD *);
FUNCTION
This func. allows to accumulate pen tables, so that
there is no need for a separate cache per bitmap,
who was remapped to fit given colormap.
INPUTS
htab - Pointer to holder table.
ptab - Pointer to a pen table.
RETURNS
No output.
BASES
GfxBase
NOTES
This function expects that the 'htab' and 'ptab' are
always 256 WORDs wide!
Holder table entries must be initialized to 0 before
first call.
Important! This func. modifies 'ptab', so each entry
gets set to -1 after examination.
Warning! Do not intermix pen caches who correspond
distinct 'ColorMap's!
SEE ALSO
mem_freepenholder(), mem_remapbitmap()
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
| |
| |