★ Enumeration constant



List | Reference

constant

FALSE



List | Reference

constant

TRUE


Logical constant 1 (false, true)

Form

    enum BooleanLogic {
      FALSE = 0,
      TRUE = 1
    };

function

    FALSE : Fake TRUE : True 



List | Reference

constant

OFF OFF



List | Reference

constant

ON


Logical constant 2 (switch)

Form

    enum Bool eanSwitch {
      OFF = 0,
      ON = 1
    };

function

    OFF : Disabled ON : Enabled 



List | Reference

constant

OK



List | Reference

constant

NG


Result judgment constant (success, failure)

Form

    enum Judgement {
      OK = 0,
      NG = -1
    };

function

      OK : Success NG : Failure 



List | Reference

constant

X



List | Reference

constant

Y



List | Reference

constant

Z



List | Reference

constant

S



List | Reference

constant

Sh



List | Reference

constant

Sv



List | Reference

constant

XY



List | Reference

constant

XYZ



List | Reference

constant

XYZS



List | Reference

constant

XYZSS


Simple representation when declaring an array

Form

    enum ps {
      X,
      Y,
      Z,
      XYZ,
      XYZS,
      XYZSS,
      XY = Z,
      S = XYZ,
      Sh = S,
      Sv = XYZS
    };

function

    X: First element of the array Y: Second element of the array Z: Third element of the array S: Fourth element of the array Sh: Fourth element of the array Sv: Fifth element of the array XY: 2 XYZ: For array of dimensional information XYZ: For array of 3D information XYZS: For array with 3D information plus 1st order scale XYZSS: For array with 3D information plus 2nd order scale 



List | Reference

constant

M00



List | Reference

constant

M01



List | Reference

constant

M02



List | Reference

constant

M10



List | Reference

constant

M11



List | Reference

constant

M12



List | Reference

constant

M20



List | Reference

constant

M21



List | Reference

constant

M22



List | Reference

constant

M30



List | Reference

constant

M31



List | Reference

constant

M32



List | Reference

constant

MTRX



List | Reference

constant

mtrx


Matrix element number

Form

    enum mtrx {
      M00, M01, M02,
      M10, M11, M12,
      M20, M21, M22,
      M30, M31, M32,
      MTRX
    };



List | Reference

constant

TV_320x224



List | Reference

constant

TV_320x240



List | Reference

constant

TV_320x256



List | Reference

constant

TV_352x224



List | Reference

constant

TV_352x240



List | Reference

constant

TV_352x256



List | Reference

constant

TV_640x224



List | Reference

constant

TV_640x240



List | Reference

constant

TV_640x256



List | Reference

constant

TV_704x224



List | Reference

constant

TV_704x240



List | Reference

constant

TV_704x256



List | Reference

constant

TV_320x448



List | Reference

constant

TV_320x480



List | Reference

constant

TV_320x512



List | Reference

constant

TV_352x448



List | Reference

constant

TV_352x480



List | Reference

constant

TV_352x512



List | Reference

constant

TV_640x448



List | Reference

constant

TV_640x480



List | Reference

constant

TV_640x512



List | Reference

constant

TV_704x448



List | Reference

constant

TV_704x480



List | Reference

constant

TV_704x512



List | Reference

constant

TV_dummy1



List | Reference

constant

TV_dummy2



List | Reference

constant

TV_dummy3



List | Reference

constant

TV_dummy4



List | Reference

constant

tvsz


TV screen mode

Form

    enum tvsz {
      TV_320x224, TV_320x240, TV_320x256, TV_dummy1,
      TV_352x224, TV_352x240, TV_352x256, TV_dummy2,
      TV_640x224, TV_640x240, TV_640x256, TV_dummy3,
      TV_704x224, TV_704x240, TV_704x256, TV_dummy4,

      TV_320x448, TV_320x480, TV_320x512, TV_dummy5,
      TV_352x448, TV_352x480, TV_352x512, TV_dummy6,
      TV_640x448, TV_640x480, TV_640x512, TV_dummy7,
      TV_704x448, TV_704x480, TV_704x512, TV_dummy8
    };

reference

 slInitSystem
 slSetTVMode
 slSetScrTVMode
 slSetSprTVMode 



List | Reference

constant

SORT_BFR



List | Reference

constant

SORT_MIN



List | Reference

constant

SORT_MAX



List | Reference

constant

SORT_CEN


Sort criteria type

Form

    enum base {
      SORT_BFR,
      SORT_MIN,
      SORT_MAX,
      SORT_CEN
    };

function

    SORT_BFR --Use the position of the polygon displayed immediately before SORT_MIN --Use the frontmost point of the 4 points SORT_MAX --Use the farthest point of the 4 points SORT_CEN --Use the average position of 4 points 



List | Reference

constant

Single_Plane



List | Reference

constant

Dual_Plane


Front and back judgment flag

Form

    enum pln {
      Single_Plane,
      Dual_Plane
    };

function

    Single_Plane --Single-sided polygon Dual_Plane --Double-sided polygon (do not see the result of front / back judgment)




List | Reference

constant

CLRate31_1



List | Reference

constant

CLRate30_2



List | Reference

constant

CLRate29_3



List | Reference

constant

CLRate28_4



List | Reference

constant

CLRate27_5



List | Reference

constant

CLRate26_6



List | Reference

constant

CLRate25_7



List | Reference

constant

CLRate24_8



List | Reference

constant

CLRate23_9



List | Reference

constant

CLRate22_10



List | Reference

constant

CLRate21_11



List | Reference

constant

CLRate20_12



List | Reference

constant

CLRate19_13



List | Reference

constant

CLRate18_14



List | Reference

constant

CLRate17_15



List | Reference

constant

CLRate16_16



List | Reference

constant

CLRate15_17



List | Reference

constant

CLRate14_18



List | Reference

constant

CLRate13_19



List | Reference

constant

CLRate12_20



List | Reference

constant

CLRate11_21



List | Reference

constant

CLRate10_22



List | Reference

constant

CLRate9_23



List | Reference

constant

CLRate8_24



List | Reference

constant

CLRate7_25



List | Reference

constant

CLRate6_26



List | Reference

constant

CLRate5_27



List | Reference

constant

CLRate4_28



List | Reference

constant

CLRate3_29



List | Reference

constant

CLRate2_30



List | Reference

constant

CLRate1_31



List | Reference

constant

CLRate0_32


Color calculation ratio

Form

    enum color_rate {
      CLRate31_1,
      CLRate30_2,
      CLRate29_3,
      CLRate28_4,
      CLRate27_5,
      CLRate26_6,
      CLRate25_7,
      CLRate24_8,
      CLRate23_9,
      CLRate22_10,
      CLRate21_11,
      CLRate20_12,
      CLRate19_13,
      CLRate18_14,
      CLRate17_15,
      CLRate16_16,
      CLRate15_17,
      CLRate14_18,
      CLRate13_19,
      CLRate12_20,
      CLRate11_21,
      CLRate10_22,
      CLRate9_23,
      CLRate8_24,
      CLRate7_25,
      CLRate6_26,
      CLRate5_27,
      CLRate4_28,
      CLRate3_29,
      CLRate2_30,
      CLRate1_31,
      CLRate0_32
    };




List | Reference

constant

SMPC_SH2_DIRECT



List | Reference

constant

SMPC_CONTROL


SMPC I / O select mode

Form

    enum SmpcSelect {
      SMPC_SH2_DIRECT,
      SMPC_CONTROL
    };

function

    SMPC_SH2_DIRECT --SH2 Direct SMPC_CONTROL --SMPC Control

reference

 slGetPortSelect1
 slGetPortSelect2
 slSetPortSelect1
 slSetPortSelect2
 slGetStatus 



List | Reference

constant

SMPC_EXL_ENA



List | Reference

constant

SMPC_EXL_DIS


SMPC external latch input mode

Form

    enum SmpcExtLatch {
      SMPC_EXL_ENA,
      SMPC_EXL_DIS
    };

function

    SMPC_EXL_ENA --Allow external latch input SMPC_EXL_DIS --Prohibit external latch input

reference

 slGetPortExt1
 slGetPortExt2
 slSetPortExt1
 slSetPortExt2
 slGetStatus 



List | Reference

constant

SMPC_RES_ON



List | Reference

constant

SMPC_RES_OFF


SMPC reset button state

Form

    enum SmpcResetButton {
      SMPC_RES_ON,
      SMPC_RES_OFF
    };

function

    SMPC_RES_ON --Reset button ON
    SMPC_RES_OFF --Reset button OFF

reference

 slCheckReset
 slGetStatus 



List | Reference

constant

SMPC_AREA_RSV_0



List | Reference

constant

SMPC_AREA_JP



List | Reference

constant

SMPC_AREA_AJ_NTSC



List | Reference

constant

SMPC_AREA_RSV_3



List | Reference

constant

SMPC_AREA_NA



List | Reference

constant

SMPC_AREA_SA_NTSC



List | Reference

constant

SMPC_AREA_KO



List | Reference

constant

SMPC_AREA_RSV_7



List | Reference

constant

SMPC_AREA_RSV_8



List | Reference

constant

SMPC_AREA_RSV_9



List | Reference

constant

SMPC_AREA_AJ_PAL



List | Reference

constant

SMPC_AREA_RSV_B



List | Reference

constant

SMPC_AREA_EU_PAL



List | Reference

constant

SMPC_AREA_SA_PAL



List | Reference

constant

SMPC_AREA_RSV_E



List | Reference

constant

SMPC_AREA_RSV_F


Area code

Form

    enum SmpcAreaCode {
      SMPC_AREA_RSV_0,
      SMPC_AREA_JP,
      SMPC_AREA_AJ_NTSC,
      SMPC_AREA_RSV_3,
      SMPC_AREA_NA,
      SMPC_AREA_SA_NTSC,
      SMPC_AREA_KO,
      SMPC_AREA_RSV_7,
      SMPC_AREA_RSV_8,
      SMPC_AREA_RSV_9,
      SMPC_AREA_AJ_PAL,
      SMPC_AREA_RSV_B,
      SMPC_AREA_EU_PAL,
      SMPC_AREA_SA_PAL,
      SMPC_AREA_RSV_E,
      SMPC_AREA_RSV_F
    };

function

    SMPC_AREA_RSV_0, --Prohibited SMPC_AREA_JP, --Japanese region SMPC_AREA_AJ_NTSC --Asia NTSC region SMPC_AREA_RSV_3 --Prohibited SMPC_AREA_NA --North American region SMPC_AREA_SA_NTSC --Latin American NTSC region SMPC_AREA_SA_NTSC --Central and South American NTSC region SMPC_AREA_AREA_KO --Prohibited SMPC_AREA_AJ_PAL --Asia PAL region SMPC_AREA_RSV_B --Prohibited SMPC_AREA_EU_PAL --European PAL region SMPC_AREA_SA_PAL --Latin American PAL region SMPC_AREA_RSV_E --Prohibited SMPC_AREA_RSV_F

reference

 slGetStatus 



List | Reference

constant

SMPC_OPT_DIS



List | Reference

constant

SMPC_OPT_ENA


Acquisition time optimization mode

Form

    enum SmpcOptimize {
      SMPC_OPT_DIS,
      SMPC_OPT_ENA
    };

function

    SMPC_OPT_DIS --Prohibition of acquisition time optimization SMPC_OPT_ENA --Allow acquisition time optimization

reference

 slGetOptimize
 slSetOptimize
 slGetStatus 



List | Reference

constant

SMPC_PORT_15



List | Reference

constant

SMPC_PORT_255



List | Reference

constant

SMPC_PORT_RSV



List | Reference

constant

SMPC_PORT_ZERO


SMPC port mode

Form

    enum SmpcPortMode {
      SMPC_PORT_15,
      SMPC_PORT_255,
      SMPC_PORT_RSV,
      SMPC_PORT_ZERO
    };

function

    SMPC_PORT_15 --15 byte mode SMPC_PORT_255 --255 byte mode SMPC_PORT_RSV --Setting prohibited SMPC_PORT_ZERO --0 byte mode

reference

 slGetPortMode1
 slGetPortMode2
 slSetPortMode1
 slSetPortMode2
 slGetStatus 



List | Reference

constant

SMPC_ENGLISH



List | Reference

constant

SMPC_DEUTSCH



List | Reference

constant

SMPC_FRANCAIS



List | Reference

constant

SMPC_ESPANOL



List | Reference

constant

SMPC_ITALIANO



List | Reference

constant

SMPC_JAPAN


SMPC memory language number

Form

    enum SmpcLanguage {
      SMPC_ENGLISH,
      SMPC_DEUTSCH,
      SMPC_FRANCAIS,
      SMPC_ESPANOL,
      SMPC_ITALIANO,
      SMPC_JAPAN
    };

function

    SMPC_ENGLISH --English SMPC_DEUTSCH --German SMPC_FRANCAIS --French SMPC_ESPANOL --Spanish SMPC_ITALIANO --Italian SMPC_JAPAN --Japanese

reference

 slGetLanguage
 slSetLanguage
 slGetStatus 



List | Reference

constant

SMPC_EFFECT_OFF



List | Reference

constant

SMPC_EFFECT_ON


SMPC memory sound effect mode

Form

    enum SmpcSoundEffect {
      SMPC_EFFECT_OFF,
      SMPC_EFFECT_ON
    }; 

function

    SMPC_EFFECT_OFF --Sound effect OFF
    SMPC_EFFECT_ON --Sound effect ON

reference

 slGetSoundEffect
 slSetSoundEffect
 slGetStatus 



List | Reference

constant

SMPC_SOUND_MONO



List | Reference

constant

SMPC_SOUND_STEREO


SMPC memory audio output mode

Form

    enum SmpcSoundOutput {
      SMPC_SOUND_MONO,
      SMPC_SOUND_STEREO
    };

function

    SMPC_SOUND_MONO --Monaural SMPC_SOUND_STEREO --Stereo

reference

 slGetSoundOutput
 slSetSoundOutput
 slGetStatus 



List | Reference

constant

SMPC_HELP_DIS



List | Reference

constant

SMPC_HELP_ENA


SMPC memory help window mode

Form

    enum SmpcHelpWindow {
      SMPC_HELP_DIS,
      SMPC_HELP_ENA
    };

function

    SMPC_HELP_DIS --Do not show SMPC_HELP_ENA --Show

reference

 slGetHelpWindow
 slSetHelpWindow
 slGetStatus 



List | Reference

constant

SMPC_DMY



List | Reference

constant

SMPC_JAN



List | Reference

constant

SMPC_FEB



List | Reference

constant

SMPC_MRA



List | Reference

constant

SMPC_APR



List | Reference

constant

SMPC_MAY



List | Reference

constant

SMPC_JUN



List | Reference

constant

SMPC_JUL



List | Reference

constant

SMPC_AUG



List | Reference

constant

SMPC_SEP



List | Reference

constant

SMPC_OCT



List | Reference

constant

SMPC_NOV



List | Reference

constant

SMPC_DEC


RTC month number

Form

    enum SmpcMonth {
      SMPC_DMY,
      SMPC_JAN,
      SMPC_FEB,
      SMPC_MAR,
      SMPC_APR,
      SMPC_MAY,
      SMPC_JUN,
      SMPC_JUL,
      SMPC_AUG,
      SMPC_SEP,
      SMPC_OCT,
      SMPC_NOV,
      SMPC_DEC
    };

function

    SMPC_DMY --Dummy SMPC_JAN --January SMPC_FEB --February SMPC_MAR --March SMPC_APR --April SMPC_MAY --May SMPC_JUN --June SMPC_JUL --July SMPC_AUG --August SMPC_SEP --September SMPC_OCT --October SMPC_NOV --November SMPC_DEC --December

reference

 slGetStatus 



List | Reference

constant

SMPC_MSHON



List | Reference

constant

SMPC_SSHON



List | Reference

constant

SMPC_SSHOFF



List | Reference

constant

SMPC_SNDON



List | Reference

constant

SMPC_SNDOFF



List | Reference

constant

SMPC_CDON



List | Reference

constant

SMPC_CDOFF



List | Reference

constant

SMPC_SYSRES



List | Reference

constant

SMPC_CKC352



List | Reference

constant

SMPC_CKC320



List | Reference

constant

SMPC_NMIREQ



List | Reference

constant

SMPC_RESENA



List | Reference

constant

SMPC_RESDIS



List | Reference

constant

SMPC_GETSTS



List | Reference

constant

SMPC_GETPER



List | Reference

constant

SMPC_SETMEM



List | Reference

constant

SMPC_SETTIM



List | Reference

constant

SMPC_CMDMAX


SMPC command number

Form

    enum SmpcCommand {
      SMPC_MSHON,
      SMPC_SSHON,
      SMPC_SSHOFF,
      SMPC_SNDON,
      SMPC_SNDOFF,
      SMPC_CDON,
      SMPC_CDOFF,
      SMPC_SYSRES,
      SMPC_CKC352,
      SMPC_CKC320,
      SMPC_NMIREQ,
      SMPC_RESENA,
      SMPC_RESDIS,
      SMPC_GETSTS,
      SMPC_GETPER,
      SMPC_SETMEM,
      SMPC_SETTIM,
      SMPC_CMDMAX
    };

function

  SMPC_MSHON --Master SH2-ON
  SMPC_SSHON --Slave SH2-ON
  SMPC_SSHOFF --Slave SH2-OFF
  SMPC_SNDON --Sound-ON
  SMPC_SNDOFF --Sound-OFF
  SMPC_CDON --CD-ON
  SMPC_CDOFF --CD-OFF
  SMPC_SYSRES --Overall system reset SMPC_CKC352 --Clock change 352 mode SMPC_CKC320 --Clock change 320 mode SMPC_NMIREQ --NMI request SMPC_RESENA --Reset enable SMPC_RESDIS --Reset disable SMPC_GETSTS --Status acquisition SMPC_GETPER --Peripheral acquisition SMPC_SETMEM Memory setting SMPC_SETTIM --Time setting SMPC_CMDMAX --Maximum command number 



List | Reference

constant

SMPC_NO_WAIT



List | Reference

constant

SMPC_WAIT


SMPC command execution mode

Form

    enum SmpcWaitMode {
      SMPC_NO_WAIT,
      SMPC_WAIT
    };

function

  SMPC_NO_WAIT --No waiting for command execution end SMPC_WAIT --Waiting for command execution end 



List | Reference

constant

winFar



List | Reference

constant

winNear


Window switching

Form

    enum {
      winFar,
      winNear
    };

function

    winFar --Back window winNear --Front window

return
Copyright SEGA ENTERPRISES, LTD., 1997