spr8x8.h

来自「十七种模拟器源代码 非常有用的作课程设计不可缺少的」· C头文件 代码 · 共 77 行

H
77
字号
/******************************************************************************//*                                                                            *//*                          RAINE 8x8 TILE DRAWING                            *//*                                                                            *//******************************************************************************//*MappedTransparent MappedDirect-MappedTransparent Direct-Mapped*/void init_spr8x8asm(void);// 8x8 mapped spritesvoid Draw8x8_Mapped(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw8x8_Mapped_FlipX(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw8x8_Mapped_FlipY(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw8x8_Mapped_FlipXY(UINT8 *SPR, int x, int y, UINT8 *cmap);// 8x8 mapped transparent spritesvoid Draw8x8_Trans_Mapped(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw8x8_Trans_Mapped_FlipX(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw8x8_Trans_Mapped_FlipY(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw8x8_Trans_Mapped_FlipXY(UINT8 *SPR, int x, int y, UINT8 *cmap);void init_spr8x8asm_16(void);// 8x8 mapped spritesvoid Draw8x8_Mapped_16(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw8x8_Mapped_16_FlipX(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw8x8_Mapped_16_FlipY(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw8x8_Mapped_16_FlipXY(UINT8 *SPR, int x, int y, UINT8 *cmap);// 8x8 mapped transparent spritesvoid Draw8x8_Trans_Mapped_16(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw8x8_Trans_Mapped_16_FlipX(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw8x8_Trans_Mapped_16_FlipY(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw8x8_Trans_Mapped_16_FlipXY(UINT8 *SPR, int x, int y, UINT8 *cmap);void init_spr8x8asm_32(void);// 8x8 mapped spritesvoid Draw8x8_Mapped_32(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw8x8_Mapped_32_FlipX(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw8x8_Mapped_32_FlipY(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw8x8_Mapped_32_FlipXY(UINT8 *SPR, int x, int y, UINT8 *cmap);// 8x8 mapped transparent spritesvoid Draw8x8_Trans_Mapped_32(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw8x8_Trans_Mapped_32_FlipX(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw8x8_Trans_Mapped_32_FlipY(UINT8 *SPR, int x, int y, UINT8 *cmap);void Draw8x8_Trans_Mapped_32_FlipXY(UINT8 *SPR, int x, int y, UINT8 *cmap);// 8x8 spritesvoid Draw8x8(UINT8 *SPR, int x, int y, UINT8 cmap);void Draw8x8_FlipX(UINT8 *SPR, int x, int y, UINT8 cmap);void Draw8x8_FlipY(UINT8 *SPR, int x, int y, UINT8 cmap);void Draw8x8_FlipXY(UINT8 *SPR, int x, int y, UINT8 cmap);// 8x8 transparent spritesvoid Draw8x8_Trans(UINT8 *SPR, int x, int y, UINT8 cmap);void Draw8x8_Trans_FlipX(UINT8 *SPR, int x, int y, UINT8 cmap);void Draw8x8_Trans_FlipY(UINT8 *SPR, int x, int y, UINT8 cmap);void Draw8x8_Trans_FlipXY(UINT8 *SPR, int x, int y, UINT8 cmap);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?