★ PROGRAMMER'S GUIDE ★ Branch playback library
▲ Back | Forward ▼
Branch playback library

6. Data specifications


6.1 Basic data


 Title
Data specifications
 Data
Basic data
 Data Name
 No
1.0

(1) Basic data type
 Model name
 explanation
 Uint8
 Unsigned 1-byte integer
 Sint8
 Signed 1-byte integer
 Uint16
 Unsigned 2-byte integer
 Sint16
 Signed 2-byte integer
 Uint32
 Unsigned 4-byte integer
 Sint32
 Signed 4-byte integer
 Bool
 Logical type 4-byte integer (takes a logical constant as a value)

(2) Logical constant
Used as a Boolean value.
 Constant name
 value
 explanation
 FALSE
TRUE
 0
1
 Represents a false logical value.
Represents the true value of a logical value.
 OFF OFF
ON
 0
1
 Indicates switch off (false).
Indicates switch-on (true).


6.2 Constant


 Title
Data specifications
 Data
constant
 Data Name
 No
2.0

(1) Error code
The value of BPL_ERR_OK is 0. Other error codes are negative values.
 Constant name
 explanation
 BPL_ERR_OK
 normal termination
 BPL_ERR_KYOVRFLW
 Too many stream key settings
 BPL_ERR_BROVRFLW
 Too many branch destination settings
 BPL_ERR_BSTMID
 Illegal branch stream identifier
 BPL_ERR_BRNO
 Illegal branch number
 BPL_ERR_BRSPC
 The branch destination has already been specified
 BPL_ERR_NOKEY
 The corresponding stream key is not set
 BPL_ERR_OPNSTM
 Unable to open stream

(2) Other
 Constant name
 value
 explanation
 BPL_STMKEY_MAX
 6
 Number of stream keys that can be set for one branch stream


▲ Back | Forward ▼
★ PROGRAMMER'S GUIDE ★ Branch playback library
Copyright SEGA ENTERPRISES, LTD., 1997