?? sprite.h
字號(hào):
typedef __int64 QWORD;
// 透明色, 放入mm7
extern DWORD dwColorKey;
extern QWORD qwColorKey;
//
extern DWORD dwAlphaMask1, dwAlphaMask2, dwAlphaMask4;
extern QWORD qwAlphaMask1, qwAlphaMask2, qwAlphaMask4;
#define SPRITE_CLIP \
int w = src->width; \
int h = src->height; \
int sx, sy; \
if( x >= dest->cr || y >= dest->cb ) \
return; \
\
if( x < dest->cl ){ \
sx = dest->cl - x; x = dest->cl; w -= sx; \
if( w <= 0 ) return; \
} \
else sx = 0; \
if( y < dest->ct ){ \
sy = dest->ct - y; y = dest->ct; h -= sy; \
if( h <= 0 ) return; \
} \
else sy = 0; \
if( x + w > dest->cr ) \
w = dest->cr - x; \
if( y + h > dest->cb ) \
h = dest->cb - y;
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -