#include <nitro/gx/g2_oam.h>
void G2_SetOBJMode(GXOamAttr * oam, GXOamMode mode, int cParam);
oam | Pointer to the location storing the OAM data |
mode | OBJ mode |
cParam | Color parameter |
None.
*This function changes the OBJ mode and color parameters for the OAM data stored in *oam
. cParam
specifies a single palette from the 16 palettes when OBJ mode is not set to bitmap OBJ. In this case, the OBJ Extended palette is not loaded and the settings when color mode is set to 256-color mode are ignored. When OBJ mode is set to bitmap OBJ, the value is the α-value of OBJ. For type GXOamMode
, refer to G2_SetOBJAttr
.
01/19/2004 Initial version.