boxman.h

来自「Boxman(推箱子)源码」· C头文件 代码 · 共 51 行

H
51
字号
#define MAP_WIDTH 20
#define MAP_HEIGHT 12
#define BKGR 0x00
#define DEST 0x01
#define BOX  0x02
#define MAN  0x04
#define WALL 0x06


const unsigned char bgbmp[] = {
'C','F',0x08,0x0,0,0x06,0,0x06,0,0x06,0,0,0x01,0,0,0,
0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,
0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,
0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,
0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,
0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,
0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,};

const unsigned char wallbmp[] = {
'C','F',0x08,0,0,0x06,0,0x06,0,0x06,0,0,0x01,0,0,0,0xb6,'U','u','V',
'v',0x0d,'z',0x0c,0x14,0x0c,0x14,0x08,0xb6,0x14,0x0c,0x14,0x14,0x08,'z',0x14,0x14,0x0c,0x14,0x08,
0xb6,0x14,0x0c,0x14,0x0c,0x08,'n',0x08,0x0c,0x08,0x0c,0,};

const unsigned char destbmp[] = {
'C','F',0x08,0x0,0,0x06,0,0x06,0,0x06,0,0,0x01,0,0,0,
0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,
0xfc,0xfc,0xe0,0xe0,0xfc,0xfc,
0xfc,0xe0,0xe0,0xe0,0xe0,0xfc,
0xfc,0xe0,0xe0,0xe0,0xe0,0xfc,
0xfc,0xfc,0xe0,0xe0,0xfc,0xfc,
0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,};

const unsigned char manbmp[] = {
'C','F',0x08,0,0,0x06,0,0x06,0,0x06,0,0,0x01,0,0,0,
0xff,0x06,0x06,0x06,0xff,0x0,
0x06,0xf8,0xf8,0xf8,0x06,0x0,
0x06,0x06,0xf8,0x06,0x06,0x0,
0x06,0xf8,0xf8,0xf8,0x06,0x0,
0x06,0xf8,0x06,0xf8,0x06,0x0,
0x0,0x06,0x06,0x06,0x0,0x0,};

const unsigned char boxbmp[] = {
'C','F',0x08,0,0,0x06,0,0x06,0,0x06,0,0,0x01,0,0,0,
0xdb,0xfa,0xf7,0xf7,0xf7,0x8d,
0xf6,0xf1,0xf1,0x00,0xf1,0x88,
0xf6,0xf1,0xf1,0x00,0xf1,0x89,
0xf6,0x00,0x00,0x00,0x00,0x89,
0xfa,0xf1,0xf1,0x00,0xf1,0x89,
'm',0x88,0x89,0x89,0x89,'D',};

⌨️ 快捷键说明

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