Japanese
List | Reference
constant macro
CURRENT
Index to current matrix
function
#define CURRENT 0
List | Reference
constant macro
ORIGINAL
For scale correction of sprite data
function
#define ORIGINAL (0.99999)
List | Reference
constant macro
_SysPause
List | Reference
constant macro
_SprPause
List | Reference
constant macro
_ScrPause
Constant for specifying status of system variable PauseFlag
function
#define _SysPause 64
#define _SprPause 2
#define _ScrPause 1
example
Cancel only sprite drawing.
extern Uint8 PauseFlag;
PauseFlag = _SprPause;
reference
List | Reference
constant macro
FUNC_Sprite
Standard sprite drawing commands for VDP1 command table
function
#define FUNC_Sprite 1
reference
List | Reference
constant macro
FUNC_Texture
Texture drawing commands for VDP1 command table
function
#define FUNC_Texture 2
reference
List | Reference
constant macro
FUNC_Polygon
Polygon drawing commands for VDP1 command table
function
#define FUNC_Polygon 4
reference
List | Reference
constant macro
FUNC_PolyLine
Polyline drawing commands for VDP1 command table
function
#define FUNC_PolyLine 5
reference
List | Reference
constant macro
FUNC_Line
Line drawing commands for VDP1 command table
function
#define FUNC_Line 6
reference
List | Reference
constant macro
FUNC_SystemClip
System clipping commands for VDP1 command table
function
#define FUNC_SystemClip 9
reference
List | Reference
constant macro
FUNC_UserClip
User clip commands for VDP1 command table
function
#define FUNC_UserClip 8
reference
List | Reference
constant macro
FUNC_BasePosition
Relative coordinate commands for VDP1 command table
function
#define FUNC_BasePosition 10
reference
List | Reference
constant macro
FUNC_End
Drawing end command for VDP1 command table
function
#define FUNC_End -1
reference
List | Reference
constant macro
_ZmLT
Sprite expansion center to upper left
function
#define _ZmLT (0x05 << 8)
reference
List | Reference
constant macro
_ZmLC
Set sprite expansion center to center left
function
#define _ZmLC (0x09 << 8)
reference
List | Reference
constant macro
_ZmLB
Sprite expansion center at bottom left
function
#define _ZmLB (0x0d << 8)
reference
List | Reference
constant macro
_ZmCT
Sprite expansion center at top center
function
#define _ZmCT (0x06 << 8)
reference
List | Reference
constant macro
_ZmCC
Center sprite expansion center
function
#define _ZmCC (0x0a << 8)
reference
List | Reference
constant macro
_ZmCB
Sprite expansion center at bottom center
function
#define _ZmCB (0x0e << 8)
reference
List | Reference
constant macro
_ZmRT
Sprite expansion center to upper right
function
#define _ZmRT (0x07 << 8)
reference
List | Reference
constant macro
_ZmRC
Set sprite expansion center to right center
function
#define _ZmRC (0x0b << 8)
reference
List | Reference
constant macro
_ZmRB
Sprite expansion center to bottom right
function
#define _ZmRB (0x0f << 8)
reference
List | Reference
constant macro
MSBon
Set MSB written to frame buffer to 1
function
#define MSBon (1 << 15)
reference
List | Reference
constant macro
MSBoff
Set MSB written to frame buffer to 0
function
#define MSBoff (0 << 15)
reference
List | Reference
constant macro
HSSon
High speed shrink enabled
function
#define HSson (1 << 12)
reference
List | Reference
constant macro
HSSoff
High speed shrink disabled
function
#define HSSoff (0 << 12)
reference
List | Reference
constant macro
No_Window
No window restrictions
function
#define No_Window (0 << 9)
reference
List | Reference
constant macro
Window_In
Display inside window
function
#define Window_In (2 << 9)
reference
List | Reference
constant macro
Window_Out
Display outside window
function
#define Window_Out (3 << 9)
reference
List | Reference
constant macro
MESHoff
Do not apply mesh
function
#define MESHoff (0 << 8)
reference
List | Reference
constant macro
MESHon
Display as mesh
function
#define MESHon (1 << 8)
reference
List | Reference
constant macro
ECdis
Use end code as one of the palettes
function
#define ECdis (1 << 7)
reference
List | Reference
constant macro
ECenb
End code valid
function
#define ECenb (0 << 7)
reference
List | Reference
constant macro
SPdis
Use space code as one of the palettes
function
#define SPdis (1 << 6)
reference
List | Reference
constant macro
SPenb
do not display spaces
function
#define SPenb (0 << 6)
reference
List | Reference
constant macro
CL16Bnk
Color bank 16 color mode
function
#define CL16Bnk (0 << 3)
reference
List | Reference
constant macro
CL16Look
Color lookup 16 color modes
function
#define CL16Look (1 << 3)
reference
List | Reference
constant macro
CL64Bnk
Color bank 64 color mode
function
#define CL64Bnk (2 << 3)
reference
List | Reference
constant macro
CL128Bnk
Color bank 128 color mode
function
#define CL128Bnk (3 << 3)
reference
List | Reference
constant macro
CL256Bnk
Color bank 256 color mode
function
#define CL256Bnk (4 << 3)
reference
List | Reference
constant macro
CL32KRGB
function
#define CL32KRGB (5 << 3)
reference
List | Reference
constant macro
CL_Replace
Overwrite mode
function
#define CL_Replace 0
reference
List | Reference
constant macro
CL_Shadow
shadow mode
function
#define CL_Shadow 1
reference
List | Reference
constant macro
CL_Half
half brightness mode
function
#define CL_Half 2
reference
List | Reference
constant macro
CL_Trans
Translucent mode
function
#define CL_Trans 3
reference
List | Reference
constant macro
CL_Gouraud
User gouraud shading mode
function
#define CL_Gouraud 4
reference
List | Reference
constant macro
Use Texture
Apply texture to polygons
function
#define UseTexture (1 << 2)
reference
List | Reference
constant macro
UseLight
Polygons are affected by light sources
function
#define UseLight (1 << 3)
reference
List | Reference
constant macro
Use Palette
Make polygon colors a palette
function
#define UsePalette (1 << 5)
reference
List | Reference
constant macro
UseNearClip
Perform near clipping
function
#define UseNearClip (1 << 6)
reference
List | Reference
constant macro
UseGouraud
Apply real-time gouraud
function
#define UseGouraud (1 << 7)
reference
List | Reference
constant macro
UseDepth
Use depth cue
function
#define UseDepth (1 << 4)
reference
List | Reference
constant macro
UseClip
Perform near clipping
function
#define UseClip UseNearClip
reference
List | Reference
constant macro
sprHflip
Sprite drawing command for horizontal flip
function
#define sprHflip ((1 << 4) | FUNC_Texture | ( UseTexture << 16))
reference
List | Reference
constant macro
sprVflip
Up-down sprite drawing command
function
#define sprVflip ((1 << 5) | FUNC_Texture | ( UseTexture << 16))
reference
List | Reference
constant macro
sprHVflip
Sprite drawing command to flip vertically and horizontally
function
#define sprHVflip ((3 << 4) | FUNC_Texture | ( UseTexture << 16))
reference
List | Reference
constant macro
sprNoflip
Sprite drawing commands without inversion
function
#define sprNoflip ((0) | FUNC_Texture | ( UseTexture << 16))
reference
List | Reference
constant macro
sprPolygon
Monochrome sprite drawing commands
function
#define sprPolygon ( FUNC_Polygon | (( ECdis | SPdis ) << 24))
reference
List | Reference
constant macro
sprPolyLine
Polyline drawing command
function
#define sprPolyLine ( FUNC_PolyLine | (( ECdis | SPdis ) << 24))
reference
List | Reference
constant macro
sprLine
function
#define sprLine ( FUNC_Line | (( ECdis | SPdis ) << 24))
reference
List | Reference
constant macro
No_Texture
don't use textures
function
#define No_Texture 0
reference
List | Reference
constant macro
No_Option
don't use options
function
#define No_Option 0
reference
List | Reference
constant macro
No_Gouraud
Do not use Gouraud shading
function
#define No_Gouraud 0
reference
List | Reference
constant macro
No_Palet
Do not specify color palette
function
#define No_Palet 0
reference
List | Reference
constant macro
GouraudRAM
Gouraud buffer for light source effects
function
#define GouraudRAM (0x00080000 - (32*8))
List | Reference
constant macro
COL_16
Color bank 16 color mode
function
#define COL_16 (2+1)
reference
List | Reference
constant macro
COL_64
Color bank 64 color mode
function
#define COL_64 (2+0)
reference
List | Reference
constant macro
COL_128
Color bank 128 color mode
function
#define COL_128 (2+0)
reference
List | Reference
constant macro
COL_256
Color bank 256 color mode
function
#define COL_256 (2+0)
reference
List | Reference
constant macro
COL_32K
function
#define COL_32K (2-1)
reference
List | Reference
macro constant
cgaddress
SGL default texture data TOP address
function
#define cgaddress 0x10000
List | Reference
macro constant
CGADDRESS
SGL default texture data TOP address
function
#define CGADDRESS 0x10000
List | Reference
macro constant
pal
SGL default texture color mode
function
#define pal COL_32K
List | Reference
constant macro
Sprite VRAM
VDP1 VRAM start address
function
#define SpriteVRAM 0x25c00000
List | Reference
constant macro
RGB_Flag
Indicates that the color data is an RGB code. (for VDP1)
function
#define RGB_Flag 0x8000
return Copyright SEGA ENTERPRISES, LTD., 1997