📄 l_allbmp.h
字号:
/*
漏空函数
骆文超 于1997年2月制
*/
#include "stdafx.h"
#include <stdio.h>
#include "ddapi.h"
#define START_COLOR_NUMBER 75 //变色的开始颜色号;
#define END_COLOR_NUMBER 85 //变色结束的颜色号;
#define BUFFERS_WIDTH 255 //buffers的宽度等于图片最大的宽度
class CPicture_imageall
{
private:
FILE * compress_file; //压缩文件
FILE * index_file; //索引文件
char * compress_buf; //数据BUFFERS
int * index_buf; //索引偏移量
char screen_buffers [BUFFERS_WIDTH];
public:
//打开x压缩文件;
void image_open_compress (char compress_file_name[20]);
//关闭压缩文件;
void image_close_compress (void);
//打开索引文件;
void image_open_index (char index_file_name[20]);
//关闭索引文件;
void image_close_index (void);
/*
漏空贴函数:
short x:图片的左上角坐标;
short y:图片的右上角坐标;
short screen_width:屏幕的宽度;
short * &screen_point:屏幕的指针;
short color_variable:颜色的偏移量;
*/
//void All_image (short x,short y,short screen_width,
// char * screen_point,short picture_number);
BOOL LoadBitmap( CDDSurface *pSurface, int index ,int bTrans=0);
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -