#include
#include
#include
#include
#define OK 1
#define ERROR 0
#define OVERFLOW -1
typedef int Status;
typedef int ElemType;
typedef int bool;
/* WIN-TC BGI 图形编程模板 */
#include "Conio.h"
#include "graphics.h"
#include "dos.h"
#define closegr closegraph
void initgr(void) /* BGI初始化 */
{
int gd = DETECT, gm = 0; /* 和gd = VGA,gm = VGAHI是同样效果 */
registerbgidriver(EGAVGA_driver);/* 注册BGI驱动后可以不需要.BGI文件的支持运行 */
initgraph(&gd, &gm, "");
}
void drawmat(char *mat,int matsize,int x,int y,int color)
/*依次:字模指针、点阵大小、起始坐标(x,y)、颜色*/
{int i,j,k,n;
n=(matsize-1)/8+1;
for(j=0;j
if(mat[j*n+i]&(0x80>>k)) /*测试为1的位则显示*/
putpixel(x+i*8+k,y+j,color);
}
char zhan64H[]={
/* 以下是 '栈' 的 64点阵华文隶书 字模,512 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x30,0x00,0x1C,0x00,0x00,0x00,
0x00,0x00,0x38,0x00,0x1C,0x01,0x80,0x00,
0x00,0x00,0x78,0x00,0x1C,0x03,0xC0,0x00,
0x00,0x00,0x7C,0x00,0x1C,0x03,0xC0,0x00,
0x00,0x01,0xFF,0x80,0x3F,0xFF,0xF0,0x00,
0x00,0x0F,0xFF,0xE3,0xFF,0xFF,0xFF,0x00,
0x01,0xFF,0xFF,0xF7,0xFF,0xFF,0xFF,0x00,
0x01,0xFF,0xFF,0xF7,0xFF,0xFF,0xFE,0x00,
0x03,0xFF,0xFF,0xE7,0xFF,0xFF,0xFC,0x00,
0x03,0xFF,0xFF,0xC7,0xFF,0x00,0x00,0x00,
0x03,0xFF,0xFF,0x80,0x0F,0x00,0x00,0x00,
0x03,0xFF,0xFC,0x00,0x0F,0x00,0x00,0x00,
0x03,0xFE,0x78,0x00,0x0F,0x9F,0xF8,0x00,
0x01,0xE0,0x70,0x00,0x3F,0xFF,0xFE,0x00,
0x00,0x00,0x78,0x07,0xFF,0xFF,0xFE,0x00,
0x00,0x00,0xFC,0x0F,0xFF,0xFF,0xFC,0x00,
0x00,0x01,0xFE,0x0F,0xFF,0xFF,0xF8,
创造与魔法 安卓版v1.0.0750
创造与魔法是一款开放世界手游,在游戏中玩家可探索这个奇妙的世
创造与魔法修改版 最新版v1.0.0750
创造与魔法无限点券版是款探索冒险游戏,该款游戏的操作还是蛮自
战争与文明官方版本 安卓版v1.7.16
战争与文明是一款由上海邮通科技有限公司开发的战争策略游戏,这
迷你世界0元领皮肤无限迷你币版 最新安卓版v1.43.0
迷你世界0元购买皮肤版是这款开放沙盒冒险建造游戏的特殊破解版
创造与魔法无限经验版 安卓版v1.0.0750
创造与魔法无限经验版是款可以改造环境,整个游戏的自由度还是蛮