Japanese

◎Constant macro



List | Reference

constant macro

NULL


NULL pointer

function

 #define NULL ((void *)0) 



List | Reference

constant macro

D.I.


Mask for disabling interrupts

function

 #define DI 15 



List | Reference

constant macro

E.I.


Mask for enabling interrupts

function

 #define EI 0 



List | Reference

constant macro

MAX_NEST


Number of nested matrices

function

 #define MAX_NEST 20 



List | Reference

constant macro

WORK_SIZE


function

 #define WORK_SIZE 0x40 



List | Reference

constant macro

EVENT_SIZE


function

 #define EVENT_SIZE 0x80 



List | Reference

constant macro

M_PI


Constant macro representing π

function

 #define M_PI 3.1415926535897932 



List | Reference

macro constant

CD_Black



List | Reference

macro constant

CD_DarkRed



List | Reference

macro constant

CD_DarkGreen



List | Reference

macro constant

CD_DarkYellow



List | Reference

macro constant

CD_DarkBlue



List | Reference

macro constant

CD_DarkPurple



List | Reference

macro constant

CD_DarkMagenta



List | Reference

macro constant

CD_DarkWhite



List | Reference

macro constant

CD_MediumRed



List | Reference

macro constant

CD_MediumGreen



List | Reference

macro constant

CD_MediumYellow



List | Reference

macro constant

CD_MediumBlue



List | Reference

macro constant

CD_MediumPurple



List | Reference

macro constant

CD_MediumMagenta



List | Reference

macro constant

CD_MediumWhite



List | Reference

macro constant

CD_SemiRed



List | Reference

macro constant

CD_SemiGreen



List | Reference

macro constant

CD_SemiYellow



List | Reference

macro constant

CD_SemiBlue



List | Reference

macro constant

CD_SemiPurple



List | Reference

macro constant

CD_SemiMagenta



List | Reference

macro constant

CD_SemiWhite



List | Reference

macro constant

CD_Red



List | Reference

macro constant

CD_Green



List | Reference

macro constant

CD_Yellow



List | Reference

macro constant

CD_Blue



List | Reference

macro constant

CD_Purple



List | Reference

macro constant

CD_Magenta



List | Reference

macro constant

CD_White


sample color data

function

    #define  CD_Black          ( 0 << 10) | ( 0 << 5) | (0)  | RGB_Flag
    #define  CD_DarkRed        ( 0 << 10) | ( 0 << 5) | (8)  | RGB_Flag
    #define  CD_DarkGreen      ( 0 << 10) | ( 8 << 5) | (0)  | RGB_Flag
    #define  CD_DarkYellow     ( 0 << 10) | ( 8 << 5) | (8)  | RGB_Flag
    #define  CD_DarkBlue       ( 8 << 10) | ( 0 << 5) | (0)  | RGB_Flag
    #define  CD_DarkPurple     ( 8 << 10) | ( 0 << 5) | (8)  | RGB_Flag
    #define  CD_DarkMagenta    ( 8 << 10) | ( 8 << 5) | (0)  | RGB_Flag
    #define  CD_DarkWhite      ( 8 << 10) | ( 8 << 5) | (8)  | RGB_Flag
    #define  CD_MediumRed      ( 0 << 10) | ( 0 << 5) | (16) | RGB_Flag
    #define  CD_MediumGreen    ( 0 << 10) | (16 << 5) | (0)  | RGB_Flag
    #define  CD_MediumYellow   ( 0 << 10) | (16 << 5) | (16) | RGB_Flag
    #define  CD_MediumBlue     (16 << 10) | ( 0 << 5) | (0)  | RGB_Flag
    #define  CD_MediumPurple   (16 << 10) | ( 0 << 5) | (16) | RGB_Flag
    #define  CD_MediumMagenta  (16 << 10) | (16 << 5) | (0)  | RGB_Flag
    #define  CD_MediumWhite    (16 << 10) | (16 << 5) | (16) | RGB_Flag
    #define  CD_SemiRed        ( 0 << 10) | ( 0 << 5) | (24) | RGB_Flag
    #define  CD_SemiGreen      ( 0 << 10) | (24 << 5) | (0)  | RGB_Flag
    #define  CD_SemiYellow     ( 0 << 10) | (24 << 5) | (24) | RGB_Flag
    #define  CD_SemiBlue       (24 << 10) | ( 0 << 5) | (0)  | RGB_Flag
    #define  CD_SemiPurple     (24 << 10) | ( 0 << 5) | (24) | RGB_Flag
    #define  CD_SemiMagenta    (24 << 10) | (24 << 5) | (0)  | RGB_Flag
    #define  CD_SemiWhite      (24 << 10) | (24 << 5) | (24) | RGB_Flag
    #define  CD_Red            ( 0 << 10) | ( 0 << 5) | (31) | RGB_Flag
    #define  CD_Green          ( 0 << 10) | (31 << 5) | (0)  | RGB_Flag
    #define  CD_Yellow         ( 0 << 10) | (31 << 5) | (31) | RGB_Flag
    #define  CD_Blue           (31 << 10) | ( 0 << 5) | (0)  | RGB_Flag
    #define  CD_Purple         (31 << 10) | ( 0 << 5) | (31) | RGB_Flag
    #define  CD_Magenta        (31 << 10) | (31 << 5) | (0)  | RGB_Flag
    #define  CD_White          (31 << 10) | (31 << 5) | (31) | RGB_Flag

return
Copyright SEGA ENTERPRISES, LTD., 1997