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 the status of the system variable PauseFlag
function
#define _SysPause 64
#define _SprPause 2
#define _ScrPause 1
Example
Stop drawing only sprites.
extern Uint8 PauseFlag;
PauseFlag = _SprPause;
reference
List | Reference
Constant macro
FUNC_Sprite
Standard sprite drawing command for VDP1 command table
function
#define FUNC_Sprite 1
reference
List | Reference
Constant macro
FUNC_Texture
Texture drawing command for VDP1 command table
function
#define FUNC_Texture 2
reference
List | Reference
Constant macro
FUNC_Polygon
VDP1 command table polygon drawing command
function
#define FUNC_Polygon 4
reference
List | Reference
Constant macro
FUNC_PolyLine
Polyline drawing command for VDP1 command table
function
#define FUNC_PolyLine 5
reference
List | Reference
Constant macro
FUNC_Line
Line drawing command for VDP1 command table
function
#define FUNC_Line 6
reference
List | Reference
Constant macro
FUNC_SystemClip
System clipping command for VDP1 command table
function
#define FUNC_SystemClip 9
reference
List | Reference
Constant macro
FUNC_UserClip
User clip command for VDP1 command table
function
#define FUNC_UserClip 8
reference
List | Reference
Constant macro
FUNC_BasePosition
Relative coordinate commands for the VDP1 command table
function
#define FUNC_BasePosition 10
reference
List | Reference
Constant macro
FUNC_End
VDP1 command table drawing end command
function
#define FUNC_End -1
reference
List | Reference
Constant macro
_ZmLT
Sprite expansion center on top left
function
#define _ZmLT (0x05 << 8)
reference
List | Reference
Constant macro
_ZmLC
Center left for sprite expansion
function
#define _ZmLC (0x09 << 8)
reference
List | Reference
Constant macro
_ZmLB
The center of expansion of the sprite is at the bottom left
function
#define _ZmLB (0x0d << 8)
reference
List | Reference
Constant macro
_ZmCT
Sprite expansion center at the top center
function
#define _ZmCT (0x06 << 8)
reference
List | Reference
Constant macro
_ZmCC
Centered on the sprite's expansion center
function
#define _ZmCC (0x0a << 8)
reference
List | Reference
Constant macro
_ZmCB
Sprite expansion center at the bottom center
function
#define _ZmCB (0x0e << 8)
reference
List | Reference
Constant macro
_ZmRT
Sprite expansion center on the upper right
function
#define _ZmRT (0x07 << 8)
reference
List | Reference
Constant macro
_ZmRC
Center right for sprite expansion
function
#define _ZmRC (0x0b << 8)
reference
List | Reference
Constant macro
_ZmRB
The center of expansion of the sprite is at the bottom right
function
#define _ZmRB (0x0f << 8)
reference
List | Reference
Constant macro
MSBon
Set the MSB to write to the framebuffer to 1.
function
#define MSBon (1 << 15)
reference
List | Reference
Constant macro
MSBoff
Set the MSB to write to the framebuffer 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
Unrestricted on windows
function
#define No_Window (0 << 9)
reference
List | Reference
Constant macro
Window_In
Displayed inside the window
function
#define Window_In (2 << 9)
reference
List | Reference
Constant macro
Window_Out
Display outside the window
function
#define Window_Out (3 << 9)
reference
List | Reference
Constant macro
MESHoff
Do not mesh
function
#define MESHoff (0 << 8)
reference
List | Reference
Constant macro
MESHon
Displayed as a mesh
function
#define MESHon (1 << 8)
reference
List | Reference
Constant macro
ECdis
Use the 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 show 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 mode
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 (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
Semi-brightness mode
function
#define CL_Half 2
reference
List | Reference
Constant macro
CL_Trans
Semi-transparent 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
UseTexture
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
UsePalette
Make polygon colors a palette
function
#define UsePalette (1 << 5)
reference
List | Reference
Constant macro
UseNearClip
Near clipping
function
#define UseNearClip (1 << 6)
reference
List | Reference
Constant macro
Use Gouraud
Apply real-time goo
function
#define UseGouraud (1 << 7)
reference
List | Reference
Constant macro
UseDepth
Use depth queue
function
#define UseDepth (1 << 4)
reference
List | Reference
Constant macro
UseClip
Near clipping
function
#define UseClip UseNearClip
reference
List | Reference
Constant macro
sprHflip
Left-right flip sprite drawing command
function
#define sprHflip ((1 << 4) | FUNC_Texture | ( UseTexture << 16))
reference
List | Reference
Constant macro
sprVflip
Upside down sprite drawing command
function
#define sprVflip ((1 << 5) | FUNC_Texture | ( UseTexture << 16))
reference
List | Reference
Constant macro
sprHVflip
Up / down / left / right inversion sprite drawing command
function
#define sprHVflip ((3 << 4) | FUNC_Texture | ( UseTexture << 16))
reference
List | Reference
Constant macro
sprNoflip
Sprite drawing command without inversion
function
#define sprNoflip ((0) | FUNC_Texture | ( UseTexture << 16))
reference
List | Reference
Constant macro
sprPolygon
Monochromatic sprite drawing command
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
Do not use textures
function
#define No_Texture 0
reference
List | Reference
Constant macro
No_Option
Do not 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 the color palette
function
#define No_Palet 0
reference
List | Reference
Constant macro
GouraudRAM
Goo 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
SpriteVRAM
VRAM start address of VDP1
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