⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 image.h

📁 DC的SEGA_GG模拟器源代码
💻 H
字号:
/*
 * image.h
 *
 * (C)2000 Jordan DeLong & Dan Potter
 * For copying information, please see main.c
 */

#ifndef _IMAGE_H_
#define _IMAGE_H_

/* "Source dump" format */
typedef struct {
	unsigned int	width, height;
	unsigned short	*pixel_data;
} Image;

Image *load_pcx(unsigned char *fn);
char *load_misc(char *fn);

void cpyrect(int width, int height, unsigned short *img, unsigned short *vptr);
void putimage(int xpos, int ypos, Image *img, unsigned short *vptr);
void eraseimage(int xpos, int ypos, Image *img, unsigned short *vptr);
void putimagetrans(int xpos, int ypos, Image *img, unsigned short *vptr);
void putalphashadow(int xpos, int ypos, Image *img, unsigned short *vptr, unsigned char alpha);

#endif

⌨️ 快捷键说明

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