CEL_PLUTPTR

Gets the pointer to a cel's PLUT.

Synopsis

uint16 * CEL_PLUTPTR(ccb)

Description

This macro evaluates to a pointer to the cel's PLUT. It takes the CCB_PPABS flag into account and always returns an absolute pointer, even when the CCB contains a relative offset in the ccb_PLUTPtr field.

This macro evaluates its argument more than once; be careful of side effects. It is usable in expression context.

Arguments

ccb
Pointer to a cel.

Return Value

Pointer the cel's PLUT a uint16* type.

Implementation

Macro

Associated Files

lib3do.lib, celutils.h