| C T L _ R E L O C D R I M A P ( )
| | | | | SOURCE: qdev_autodocs.txt 1.163 (12/09/2014) English INDEP - CTL_#?
----------------------------------------------------------------------------
NAME
ctl_relocdrimap() - Primitive DrawInfo pen mappings
relocator.
SYNOPSIS
ctl_relocdrimap(drimap, startpen, depth);
void ctl_relocdrimap(UWORD *, LONG, UWORD);
FUNCTION
This function allows to relocate pen mappings by adding or
subtracting start of group of pens reflected at different
location.
INPUTS
drimap - Pen mapping table.
startpen - Start of first pen of the group(-128 to 127).
depth - Depth of the screen.
RETURNS
No output.
BASES
None.
NOTES
Warning, 'startpen' can cause wrap-around of the mapping
value! For example if 'startpen' is 8 and the pen mapping
value is 251 it will be then 3 = ((UBYTE)251 + 8).
Pen mappings who exceed 'depth' will be just fit down!
Mapping table must be ~0 terminated!
SEE ALSO
EXAMPLE
See 'EXAMPLE' of 'ctl_openconscreen()' on how to use.
BUGS
None known.
----------------------------------------------------------------------------
| |
| |