Japanese

◎Constant macro



ListReference

constant macro

NULL


NULL pointer

function

 #define NULL ((void *)0) 



ListReference

constant macro

D.I.


Mask for disabling interrupts

function

 #define DI 15 



ListReference

constant macro

E.I.


Mask for enabling interrupts

function

 #define EI 0 



ListReference

constant macro

MAX_NEST


Number of nested matrices

function

 #define MAX_NEST 20 



ListReference

constant macro

WORK_SIZE


function

 #define WORK_SIZE 0x40 



ListReference

constant macro

EVENT_SIZE


function

 #define EVENT_SIZE 0x80 



ListReference

constant macro

M_PI


Constant macro representing π

function

 #define M_PI 3.1415926535897932 



ListReference

macro constant

CD_Black



ListReference

macro constant

CD_DarkRed



ListReference

macro constant

CD_DarkGreen



ListReference

macro constant

CD_DarkYellow



ListReference

macro constant

CD_DarkBlue



ListReference

macro constant

CD_DarkPurple



ListReference

macro constant

CD_DarkMagenta



ListReference

macro constant

CD_DarkWhite



ListReference

macro constant

CD_MediumRed



ListReference

macro constant

CD_MediumGreen



ListReference

macro constant

CD_MediumYellow



ListReference

macro constant

CD_MediumBlue



ListReference

macro constant

CD_MediumPurple



ListReference

macro constant

CD_MediumMagenta



ListReference

macro constant

CD_MediumWhite



ListReference

macro constant

CD_SemiRed



ListReference

macro constant

CD_SemiGreen



ListReference

macro constant

CD_SemiYellow



ListReference

macro constant

CD_SemiBlue



ListReference

macro constant

CD_SemiPurple



ListReference

macro constant

CD_SemiMagenta



ListReference

macro constant

CD_SemiWhite



ListReference

macro constant

CD_Red



ListReference

macro constant

CD_Green



ListReference

macro constant

CD_Yellow



ListReference

macro constant

CD_Blue



ListReference

macro constant

CD_Purple



ListReference

macro constant

CD_Magenta



ListReference

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