bmp.h
来自「著名物理引擎Hawk的源代码」· C头文件 代码 · 共 36 行
H
36 行
/* bmp.h, HAWK game engine
*
* Copyright 1997-1998 by Phil Frisbie, Jr.
* for Hawk Software
*
*/
#ifndef BMP_H
#define BMP_H
#pragma pack(1)
typedef struct
{
unsigned short type;
unsigned long fsize;
unsigned short reserved1;
unsigned short reserved2;
unsigned long offBits;
unsigned long hsize;
unsigned long width;
unsigned long height;
unsigned short planes;
unsigned short bitCount;
unsigned long compression;
unsigned long sizeImage;
unsigned long XPelsPerMeter;
unsigned long YPelsPerMeter;
unsigned long ClrUsed;
unsigned long ClrImportant;
unsigned char data[1];
} BMP_HEADER;
#pragma pack()
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?