This repository has been archived on 2024-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
justhomework/MCU/MCU_REAL_FINAL/img.h
2022-06-09 12:52:41 +08:00

167 lines
No EOL
6.5 KiB
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef _IMG_H_
#define _IMG_H_
//=================== 关于字库 ==================
//名字
code unsigned char NAME_PAGE0[] ={
0x10, 0x60, 0x02, 0x0C, 0xC0, 0x04, 0x04, 0x04, 0x04, 0xFC, 0x04, 0x04, 0x04, 0x04, 0x00, 0x00,
0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00,
0x20, 0x24, 0x24, 0xA4, 0xFE, 0x23, 0x22, 0x20, 0x00, 0xF8, 0x08, 0x08, 0x08, 0xF8, 0x00, 0x00,
};
code unsigned char NAME_PAGE1[] ={
0x04, 0x04, 0x7C, 0x03, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3F, 0x20, 0x20, 0x20, 0x20, 0x20, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x10, 0x08, 0x06, 0x01, 0xFF, 0x01, 0x06, 0x00, 0x00, 0x3F, 0x10, 0x10, 0x10, 0x3F, 0x00, 0x00
};
//=================== 菜单字库 ==================
//第一行:菜单
code unsigned char MAINMANU_PAGE0[]={
0x04,0x04,0x44,0xC4,0x4F,0x44,0x44,0xC4,0x24,0x24,0x2F,0xB4,0x24,0x04,0x04,0x00,
0x00,0x00,0xF8,0x49,0x4A,0x4C,0x48,0xF8,0x48,0x4C,0x4A,0x49,0xF8,0x00,0x00,0x00,
};
code unsigned char MAINMANU_PAGE1[]={
0x40,0x44,0x24,0x24,0x15,0x0C,0x04,0xFE,0x04,0x0C,0x15,0x24,0x24,0x44,0x40,0x00,
0x10,0x10,0x13,0x12,0x12,0x12,0x12,0xFF,0x12,0x12,0x12,0x12,0x13,0x10,0x10,0x00,
};
//第二行:方块
code unsigned char MAINMANU_PAGE2[]={
0x08,0x08,0x08,0x08,0x08,0xF8,0x89,0x8E,0x88,0x88,0x88,0x88,0x08,0x08,0x08,0x00,
0x20,0x20,0x20,0xFF,0x20,0x20,0x08,0x08,0x08,0xFF,0x08,0x08,0x08,0xF8,0x00,0x00,
};
code unsigned char MAINMANU_PAGE3[]={
0x00,0x80,0x40,0x20,0x18,0x07,0x00,0x00,0x40,0x80,0x40,0x3F,0x00,0x00,0x00,0x00,
0x10,0x30,0x10,0x0F,0x88,0x48,0x21,0x11,0x0D,0x03,0x0D,0x11,0x21,0x41,0x81,0x00,
};
//第三行:记录
code unsigned char MAINMANU_PAGE4[]={
0x40,0x40,0x42,0xCC,0x00,0x00,0x00,0x84,0x84,0x84,0x84,0x84,0xFC,0x00,0x00,0x00,
0x80,0x80,0x82,0x92,0x92,0x92,0x92,0x92,0x92,0x92,0x92,0xFE,0x80,0x80,0x80,0x00,
};
code unsigned char MAINMANU_PAGE5[]={
0x00,0x00,0x00,0x7F,0x20,0x10,0x00,0x3F,0x40,0x40,0x40,0x40,0x41,0x40,0x70,0x00,
0x40,0x40,0x22,0x24,0x10,0x48,0x80,0x7F,0x04,0x08,0x18,0x24,0x22,0x40,0x40,0x00,
};
//第四行:关于
code unsigned char MAINMANU_PAGE6[]={
0x00,0x00,0x10,0x11,0x16,0x10,0x10,0xF0,0x10,0x10,0x14,0x13,0x10,0x00,0x00,0x00,
0x40,0x40,0x42,0x42,0x42,0x42,0x42,0xFE,0x42,0x42,0x42,0x42,0x42,0x40,0x40,0x00,
};
code unsigned char MAINMANU_PAGE7[]={
0x81,0x81,0x41,0x41,0x21,0x11,0x0D,0x03,0x0D,0x11,0x21,0x41,0x41,0x81,0x81,0x00,
0x00,0x00,0x00,0x00,0x00,0x40,0x80,0x7F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
};
code unsigned char FONT_VER0[]={
0x00,0xFE,0x20,0x20,0x3F,0x20,0x00,0xFC,0x24,0xE4,0x24,0x22,0x23,0xE2,0x00,0x00,
0x00,0x10,0x10,0x10,0x10,0xD0,0x30,0xFF,0x30,0xD0,0x10,0x10,0x10,0x10,0x00,0x00,
};
code unsigned char FONT_VER1[]={
0x80,0x7F,0x01,0x01,0xFF,0x80,0x60,0x1F,0x80,0x41,0x26,0x18,0x26,0x41,0x80,0x00,
0x10,0x08,0x04,0x02,0x09,0x08,0x08,0xFF,0x08,0x08,0x09,0x02,0x04,0x08,0x10,0x00,
};
code unsigned char SUPER_NUM0[]={
0x00,0xE0,0x10,0x08,0x08,0x10,0xE0,0x00,
0x00,0x00,0x10,0x10,0xF8,0x00,0x00,0x00,
0x00,0x70,0x08,0x08,0x08,0x08,0xF0,0x00,
0x00,0x30,0x08,0x08,0x08,0x88,0x70,0x00,
0x00,0x00,0x80,0x40,0x30,0xF8,0x00,0x00,
0x00,0xF8,0x88,0x88,0x88,0x08,0x08,0x00,
0x00,0xE0,0x10,0x88,0x88,0x90,0x00,0x00,
0x00,0x18,0x08,0x08,0x88,0x68,0x18,0x00,
0x00,0x70,0x88,0x08,0x08,0x88,0x70,0x00,
0x00,0xF0,0x08,0x08,0x08,0x10,0xE0,0x00,
};
code unsigned char SUPER_NUM1[]={
0x00,0x0F,0x10,0x20,0x20,0x10,0x0F,0x00,
0x00,0x00,0x20,0x20,0x3F,0x20,0x20,0x00,
0x00,0x30,0x28,0x24,0x22,0x21,0x30,0x00,
0x00,0x18,0x20,0x21,0x21,0x22,0x1C,0x00,
0x00,0x06,0x05,0x24,0x24,0x3F,0x24,0x24,
0x00,0x19,0x20,0x20,0x20,0x11,0x0E,0x00,
0x00,0x0F,0x11,0x20,0x20,0x20,0x1F,0x00,
0x00,0x00,0x00,0x3E,0x01,0x00,0x00,0x00,
0x00,0x1C,0x22,0x21,0x21,0x22,0x1C,0x00,
0x00,0x01,0x12,0x22,0x22,0x11,0x0F,0x00,
};
//=================== 方块字库 ==================
//一个8*8的方块
code unsigned char IMG_BLOCK[]={
0x81,0x7E,0x7E,0x7E,0x7A,0x72,0x7E,0x81,
};
//旋转箭头
code unsigned char IMG_ROTATE[]={
0x7F,0x1F,0x07,0x0B,0x13,0x21,0x41,0x80,
};
//得分
code unsigned char FONT_SCORE0[]={
0x00,0x10,0x88,0xC4,0x33,0x00,0xBE,0xAA,0xAA,0xAA,0xAA,0xAA,0xBE,0x80,0x00,0x00,
0x80,0x40,0x20,0x90,0x88,0x86,0x80,0x80,0x80,0x83,0x8C,0x10,0x20,0x40,0x80,0x00,
};
code unsigned char FONT_SCORE1[]={
0x02,0x01,0x00,0xFF,0x00,0x02,0x0A,0x12,0x02,0x42,0x82,0x7F,0x02,0x02,0x02,0x00,
0x00,0x80,0x40,0x20,0x18,0x07,0x00,0x40,0x80,0x40,0x3F,0x00,0x00,0x00,0x00,0x00,
};
//Good
code unsigned char FONT_GOOD0[]={
0xC0,0x30,0x08,0x08,0x08,0x38,0x00,0x00,
0x00,0x00,0x80,0x80,0x80,0x80,0x00,0x00,
0x00,0x00,0x80,0x80,0x80,0x80,0x00,0x00,
0x00,0x00,0x80,0x80,0x80,0x90,0xF0,0x00,
0x00,0x00,0x00,0xF8,0x00,0x00,0x00,0x00,
};
code unsigned char FONT_GOOD1[]={
0x07,0x18,0x20,0x20,0x22,0x1E,0x02,0x00,
0x00,0x1F,0x20,0x20,0x20,0x20,0x1F,0x00,
0x00,0x1F,0x20,0x20,0x20,0x20,0x1F,0x00,
0x00,0x1F,0x20,0x20,0x20,0x10,0x3F,0x20,
0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x00,
};
//GAME OVER
code unsigned char FONT_GAME0[]={
0xC0,0x30,0x08,0x08,0x08,0x38,0x00,0x00,
0x00,0x00,0xC0,0x38,0xE0,0x00,0x00,0x00,
0x08,0xF8,0xF8,0x00,0xF8,0xF8,0x08,0x00,
0x08,0xF8,0x88,0x88,0xE8,0x08,0x10,0x00,
};
code unsigned char FONT_GAME1[]={
0x07,0x18,0x20,0x20,0x22,0x1E,0x02,0x00,
0x20,0x3C,0x23,0x02,0x02,0x27,0x38,0x20,
0x20,0x3F,0x01,0x3E,0x01,0x3F,0x20,0x00,
0x20,0x3F,0x20,0x20,0x23,0x20,0x18,0x00,
};
code unsigned char FONT_OVER0[]={
0xE0,0x10,0x08,0x08,0x08,0x10,0xE0,0x00,
0x08,0x78,0x88,0x00,0x00,0xC8,0x38,0x08,
0x08,0xF8,0x88,0x88,0xE8,0x08,0x10,0x00,
0x08,0xF8,0x88,0x88,0x88,0x88,0x70,0x00,
};
code unsigned char FONT_OVER1[]={
0x0F,0x10,0x20,0x20,0x20,0x10,0x0F,0x00,
0x00,0x00,0x07,0x38,0x0E,0x01,0x00,0x00,
0x20,0x3F,0x20,0x20,0x23,0x20,0x18,0x00,
0x20,0x3F,0x20,0x00,0x03,0x0C,0x30,0x20,
};
//=================== 记录字库 ==================
//排行
code unsigned char FONT_BEST0[]={
0x10,0x10,0x10,0xFF,0x90,0x08,0x88,0x88,0xFF,0x00,0x00,0xFF,0x88,0x88,0x08,0x00,
0x00,0x10,0x88,0xC4,0x33,0x00,0x40,0x42,0x42,0x42,0xC2,0x42,0x42,0x42,0x40,0x00,
};
code unsigned char FONT_BEST1[]={
0x02,0x42,0x81,0x7F,0x00,0x08,0x08,0x08,0xFF,0x00,0x00,0xFF,0x08,0x08,0x08,0x00,
0x02,0x01,0x00,0xFF,0x00,0x00,0x00,0x00,0x40,0x80,0x7F,0x00,0x00,0x00,0x00,0x00,
};
//=================== 扫雷字库 ==================
code unsigned char FONT_MINE0[]={
0x00,0xFE,0x20,0x20,0x3F,0x20,0x00,0xFC,0x24,0xE4,0x24,0x22,0x23,0xE2,0x00,0x00,
0x00,0x10,0x10,0x10,0x10,0xD0,0x30,0xFF,0x30,0xD0,0x10,0x10,0x10,0x10,0x00,0x00,
};
code unsigned char FONT_MINE1[]={
0x80,0x7F,0x01,0x01,0xFF,0x80,0x60,0x1F,0x80,0x41,0x26,0x18,0x26,0x41,0x80,0x00,
0x10,0x08,0x04,0x02,0x09,0x08,0x08,0xFF,0x08,0x08,0x09,0x02,0x04,0x08,0x10,0x00,
};
#endif