spr32x32.h
来自「著名ARC模拟器源码,包括多个平台」· C头文件 代码 · 共 73 行
H
73 行
/******************************************************************************//* *//* RAINE 32x32 TILE DRAWING *//* *//******************************************************************************//*MappedTransparent MappedDirect-MappedTransparent Direct-Mapped*/void init_spr32x32asm(void);// 32x32 mapped spritesvoid Draw32x32_Mapped(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw32x32_Mapped_FlipX(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw32x32_Mapped_FlipY(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw32x32_Mapped_FlipXY(UINT8 *SPR, int x, int y, UINT8 *cmap);// 32x32 mapped transparent spritesvoid Draw32x32_Trans_Mapped(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw32x32_Trans_Mapped_FlipX(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw32x32_Trans_Mapped_FlipY(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw32x32_Trans_Mapped_FlipXY(UINT8 *SPR, int x, int y, UINT8 *cmap);void init_spr32x32asm_16(void);// 32x32 mapped spritesvoid Draw32x32_Mapped_16(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw32x32_Mapped_16_FlipX(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw32x32_Mapped_16_FlipY(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw32x32_Mapped_16_FlipXY(UINT8 *SPR, int x, int y, UINT8 *cmap);// 32x32 mapped transparent spritesvoid Draw32x32_Trans_Mapped_16(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw32x32_Trans_Mapped_16_FlipX(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw32x32_Trans_Mapped_16_FlipY(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw32x32_Trans_Mapped_16_FlipXY(UINT8 *SPR, int x, int y, UINT8 *cmap);void init_spr32x32asm_32(void);// 32x32 mapped spritesvoid Draw32x32_Mapped_32(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw32x32_Mapped_32_FlipX(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw32x32_Mapped_32_FlipY(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw32x32_Mapped_32_FlipXY(UINT8 *SPR, int x, int y, UINT8 *cmap);// 32x32 mapped transparent spritesvoid Draw32x32_Trans_Mapped_32(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw32x32_Trans_Mapped_32_FlipX(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw32x32_Trans_Mapped_32_FlipY(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw32x32_Trans_Mapped_32_FlipXY(UINT8 *SPR, int x, int y, UINT8 *cmap);// 32x32 spritesvoid Draw32x32(UINT8 *SPR, int x, int y, UINT8 cmap);void Draw32x32_FlipX(UINT8 *SPR, int x, int y, UINT8 cmap);void Draw32x32_FlipY(UINT8 *SPR, int x, int y, UINT8 cmap);void Draw32x32_FlipXY(UINT8 *SPR, int x, int y, UINT8 cmap);// 32x32 transparent sprites// Gave up here. Useless normaly.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?