Mapster fixes and a new 8x8 pixel font I've been playing around with

git-svn-id: https://svn.eduke32.com/eduke32@1364 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2009-05-06 23:58:53 +00:00
parent e47b890189
commit ec159726a0
3 changed files with 297 additions and 205 deletions

View file

@ -428,6 +428,13 @@ int32_t app_main(int32_t argc, const char **argv)
double gamma = vid_gamma;
vid_gamma = 1.0;
setbrightness(0,palette,0);
if (setgamemode(fullscreen, xdim2d, ydim2d, 8) < 0)
{
ExtUnInit();
uninitengine();
Bprintf("%d * %d not supported in this graphics mode\n",xdim2d,ydim2d);
exit(0);
}
overheadeditor();
keystatus[buildkeys[BK_MODE2D_3D]] = 0;
vid_gamma = gamma;
@ -435,7 +442,7 @@ int32_t app_main(int32_t argc, const char **argv)
}
else
{
if (setgamemode(fullscreen,xdimgame,ydimgame,bppgame) < 0)
if (setgamemode(fullscreen, xdimgame, ydimgame, bppgame) < 0)
{
ExtUnInit();
uninitengine();
@ -1180,11 +1187,6 @@ void overheadeditor(void)
drawline16(xdim-1,ydim-STATUS2DSIZ,xdim-1,ydim-1,1);
drawline16(0,ydim-STATUS2DSIZ+24,xdim-1,ydim-STATUS2DSIZ+24,1);
drawline16(192-24,ydim-STATUS2DSIZ,192-24,ydim-STATUS2DSIZ+24,1); */
if (totalclock < 120*5)
{
printmessage16("Press F1 for help. This is a test release, expect bugs!");
printext16(8L,ydim-STATUS2DSIZ+32L,editorcolors[9],-1,kensig,0);
}
// printmessage16("Version: "VERSION);
// drawline16(0,ydim-1-20,xdim-1,ydim-1-20,1);
@ -1248,6 +1250,14 @@ void overheadeditor(void)
idle();
OSD_DispatchQueued();
if (totalclock < 120*3)
printmessage16("Based on BUILD by Ken Silverman.");
else if (totalclock < 120*6)
{
printmessage16("Press F1 for help. This is a test release; always keep backups of your maps.");
// printext16(8L,ydim-STATUS2DSIZ+32L,editorcolors[9],-1,kensig,0);
}
oldmousebstatus = bstatus;
getmousevalues(&mousx,&mousy,&bstatus);
mousx = (mousx<<16)+mousexsurp;
@ -5350,7 +5360,7 @@ int32_t menuselect_pk(int32_t direction) // 20080104: jump to next (direction!=0
int32_t menuselect(void)
{
int32_t listsize = (ydim16-32)/8;
int32_t listsize = (ydim16-32)/9;
int32_t i;
char ch, buffer[96], /*PK*/ *chptr;
static char oldpath[BMAX_PATH];
@ -5419,12 +5429,12 @@ int32_t menuselect(void)
buffer[21] = buffer[22] = buffer[23] = '.', buffer[24] = 0;
if (dir == finddirshigh)
{
if (currentlist == 0) printext16(8,16+8*i,editorcolors[c|8],editorcolors[0],"->",0);
printext16(32,16+8*i,editorcolors[c|8],editorcolors[0],buffer,0);
if (currentlist == 0) printext16(8,16+9*i,editorcolors[c|8],editorcolors[0],"->",0);
printext16(32,16+9*i,editorcolors[c|8],editorcolors[0],buffer,0);
}
else
{
printext16(32,16+8*i,editorcolors[c],editorcolors[0],buffer,0);
printext16(32,16+9*i,editorcolors[c],editorcolors[0],buffer,0);
}
}
}
@ -5441,12 +5451,12 @@ int32_t menuselect(void)
{
if (dir == findfileshigh)
{
if (currentlist == 1) printext16(240,16+8*i,editorcolors[7|8],editorcolors[0],"->",0);
printext16(240+24,16+8*i,editorcolors[7|8],editorcolors[0],dir->name,0);
if (currentlist == 1) printext16(240,16+9*i,editorcolors[7|8],editorcolors[0],"->",0);
printext16(240+24,16+9*i,editorcolors[7|8],editorcolors[0],dir->name,0);
}
else
{
printext16(240+24,16+8*i,editorcolors[7],editorcolors[0],dir->name,0);
printext16(240+24,16+9*i,editorcolors[7],editorcolors[0],dir->name,0);
}
}
}

View file

@ -1,180 +1,261 @@
// TEXTFONT.C
// Extracted from a Matrox Millenium
// Generated by BIN2C.EXE by Jonathon Fowler
char textfont[2048] =
{
// 2048 bytes
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7E, 0x81, 0xA5, 0x81,
0xBD, 0x99, 0x81, 0x7E, 0x7E, 0xFF, 0xDB, 0xFF, 0xC3, 0xE7, 0xF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0x00, 0x18, 0x0C, 0xFE, 0x0C, 0x18, 0x00, 0x00,
0x00, 0x30, 0x60, 0xFE, 0x60, 0x30, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xC0,
0xC0, 0xFE, 0x00, 0x00, 0x00, 0x24, 0x66, 0xFF, 0x66, 0x24, 0x00, 0x00,
0x00, 0x18, 0x3C, 0x7E, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x7E,
0x3C, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x30, 0x78, 0x78, 0x30, 0x30, 0x00, 0x30, 0x00, 0x6C, 0x6C, 0x6C, 0x00,
0x00, 0x00, 0x00, 0x00, 0x6C, 0x6C, 0xFE, 0x6C, 0xFE, 0x6C, 0x6C, 0x00,
0x30, 0x7C, 0xC0, 0x78, 0x0C, 0xF8, 0x30, 0x00, 0x00, 0xC6, 0xCC, 0x18,
0x30, 0x66, 0xC6, 0x00, 0x38, 0x6C, 0x38, 0x76, 0xDC, 0xCC, 0x76, 0x00,
0x60, 0x60, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x30, 0x60, 0x60,
0x60, 0x30, 0x18, 0x00, 0x60, 0x30, 0x18, 0x18, 0x18, 0x30, 0x60, 0x00,
0x00, 0x66, 0x3C, 0xFF, 0x3C, 0x66, 0x00, 0x00, 0x00, 0x30, 0x30, 0xFC,
0x30, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x30, 0x60,
0x00, 0x00, 0x00, 0xFC, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x30, 0x30, 0x00, 0x06, 0x0C, 0x18, 0x30, 0x60, 0xC0, 0x80, 0x00,
0x7C, 0xC6, 0xCE, 0xDE, 0xF6, 0xE6, 0x7C, 0x00, 0x30, 0x70, 0x30, 0x30,
0x30, 0x30, 0xFC, 0x00, 0x78, 0xCC, 0x0C, 0x38, 0x60, 0xCC, 0xFC, 0x00,
0x78, 0xCC, 0x0C, 0x38, 0x0C, 0xCC, 0x78, 0x00, 0x1C, 0x3C, 0x6C, 0xCC,
0xFE, 0x0C, 0x1E, 0x00, 0xFC, 0xC0, 0xF8, 0x0C, 0x0C, 0xCC, 0x78, 0x00,
0x38, 0x60, 0xC0, 0xF8, 0xCC, 0xCC, 0x78, 0x00, 0xFC, 0xCC, 0x0C, 0x18,
0x30, 0x30, 0x30, 0x00, 0x78, 0xCC, 0xCC, 0x78, 0xCC, 0xCC, 0x78, 0x00,
0x78, 0xCC, 0xCC, 0x7C, 0x0C, 0x18, 0x70, 0x00, 0x00, 0x30, 0x30, 0x00,
0x00, 0x30, 0x30, 0x00, 0x00, 0x30, 0x30, 0x00, 0x00, 0x30, 0x30, 0x60,
0x18, 0x30, 0x60, 0xC0, 0x60, 0x30, 0x18, 0x00, 0x00, 0x00, 0xFC, 0x00,
0x00, 0xFC, 0x00, 0x00, 0x60, 0x30, 0x18, 0x0C, 0x18, 0x30, 0x60, 0x00,
0x78, 0xCC, 0x0C, 0x18, 0x30, 0x00, 0x30, 0x00, 0x7C, 0xC6, 0xDE, 0xDE,
0xDE, 0xC0, 0x78, 0x00, 0x30, 0x78, 0xCC, 0xCC, 0xFC, 0xCC, 0xCC, 0x00,
0xFC, 0x66, 0x66, 0x7C, 0x66, 0x66, 0xFC, 0x00, 0x3C, 0x66, 0xC0, 0xC0,
0xC0, 0x66, 0x3C, 0x00, 0xF8, 0x6C, 0x66, 0x66, 0x66, 0x6C, 0xF8, 0x00,
0xFE, 0x62, 0x68, 0x78, 0x68, 0x62, 0xFE, 0x00, 0xFE, 0x62, 0x68, 0x78,
0x68, 0x60, 0xF0, 0x00, 0x3C, 0x66, 0xC0, 0xC0, 0xCE, 0x66, 0x3E, 0x00,
0xCC, 0xCC, 0xCC, 0xFC, 0xCC, 0xCC, 0xCC, 0x00, 0x78, 0x30, 0x30, 0x30,
0x30, 0x30, 0x78, 0x00, 0x1E, 0x0C, 0x0C, 0x0C, 0xCC, 0xCC, 0x78, 0x00,
0xE6, 0x66, 0x6C, 0x78, 0x6C, 0x66, 0xE6, 0x00, 0xF0, 0x60, 0x60, 0x60,
0x62, 0x66, 0xFE, 0x00, 0xC6, 0xEE, 0xFE, 0xFE, 0xD6, 0xC6, 0xC6, 0x00,
0xC6, 0xE6, 0xF6, 0xDE, 0xCE, 0xC6, 0xC6, 0x00, 0x38, 0x6C, 0xC6, 0xC6,
0xC6, 0x6C, 0x38, 0x00, 0xFC, 0x66, 0x66, 0x7C, 0x60, 0x60, 0xF0, 0x00,
0x78, 0xCC, 0xCC, 0xCC, 0xDC, 0x78, 0x1C, 0x00, 0xFC, 0x66, 0x66, 0x7C,
0x6C, 0x66, 0xE6, 0x00, 0x78, 0xCC, 0xE0, 0x70, 0x1C, 0xCC, 0x78, 0x00,
0xFC, 0xB4, 0x30, 0x30, 0x30, 0x30, 0x78, 0x00, 0xCC, 0xCC, 0xCC, 0xCC,
0xCC, 0xCC, 0xFC, 0x00, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0x78, 0x30, 0x00,
0xC6, 0xC6, 0xC6, 0xD6, 0xFE, 0xEE, 0xC6, 0x00, 0xC6, 0xC6, 0x6C, 0x38,
0x38, 0x6C, 0xC6, 0x00, 0xCC, 0xCC, 0xCC, 0x78, 0x30, 0x30, 0x78, 0x00,
0xFE, 0xC6, 0x8C, 0x18, 0x32, 0x66, 0xFE, 0x00, 0x78, 0x60, 0x60, 0x60,
0x60, 0x60, 0x78, 0x00, 0xC0, 0x60, 0x30, 0x18, 0x0C, 0x06, 0x02, 0x00,
0x78, 0x18, 0x18, 0x18, 0x18, 0x18, 0x78, 0x00, 0x10, 0x38, 0x6C, 0xC6,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF,
0x30, 0x30, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x78, 0x0C,
0x7C, 0xCC, 0x76, 0x00, 0xE0, 0x60, 0x60, 0x7C, 0x66, 0x66, 0xDC, 0x00,
0x00, 0x00, 0x78, 0xCC, 0xC0, 0xCC, 0x78, 0x00, 0x1C, 0x0C, 0x0C, 0x7C,
0xCC, 0xCC, 0x76, 0x00, 0x00, 0x00, 0x78, 0xCC, 0xFC, 0xC0, 0x78, 0x00,
0x38, 0x6C, 0x60, 0xF0, 0x60, 0x60, 0xF0, 0x00, 0x00, 0x00, 0x76, 0xCC,
0xCC, 0x7C, 0x0C, 0xF8, 0xE0, 0x60, 0x6C, 0x76, 0x66, 0x66, 0xE6, 0x00,
0x30, 0x00, 0x70, 0x30, 0x30, 0x30, 0x78, 0x00, 0x0C, 0x00, 0x0C, 0x0C,
0x0C, 0xCC, 0xCC, 0x78, 0xE0, 0x60, 0x66, 0x6C, 0x78, 0x6C, 0xE6, 0x00,
0x70, 0x30, 0x30, 0x30, 0x30, 0x30, 0x78, 0x00, 0x00, 0x00, 0xCC, 0xFE,
0xFE, 0xD6, 0xC6, 0x00, 0x00, 0x00, 0xF8, 0xCC, 0xCC, 0xCC, 0xCC, 0x00,
0x00, 0x00, 0x78, 0xCC, 0xCC, 0xCC, 0x78, 0x00, 0x00, 0x00, 0xDC, 0x66,
0x66, 0x7C, 0x60, 0xF0, 0x00, 0x00, 0x76, 0xCC, 0xCC, 0x7C, 0x0C, 0x1E,
0x00, 0x00, 0xDC, 0x76, 0x66, 0x60, 0xF0, 0x00, 0x00, 0x00, 0x7C, 0xC0,
0x78, 0x0C, 0xF8, 0x00, 0x10, 0x30, 0x7C, 0x30, 0x30, 0x34, 0x18, 0x00,
0x00, 0x00, 0xCC, 0xCC, 0xCC, 0xCC, 0x76, 0x00, 0x00, 0x00, 0xCC, 0xCC,
0xCC, 0x78, 0x30, 0x00, 0x00, 0x00, 0xC6, 0xD6, 0xFE, 0xFE, 0x6C, 0x00,
0x00, 0x00, 0xC6, 0x6C, 0x38, 0x6C, 0xC6, 0x00, 0x00, 0x00, 0xCC, 0xCC,
0xCC, 0x7C, 0x0C, 0xF8, 0x00, 0x00, 0xFC, 0x98, 0x30, 0x64, 0xFC, 0x00,
0x1C, 0x30, 0x30, 0xE0, 0x30, 0x30, 0x1C, 0x00, 0x18, 0x18, 0x18, 0x00,
0x18, 0x18, 0x18, 0x00, 0xE0, 0x30, 0x30, 0x1C, 0x30, 0x30, 0xE0, 0x00,
0x76, 0xDC, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x38, 0x6C,
0xC6, 0xC6, 0xFE, 0x00, 0x78, 0xCC, 0xC0, 0xCC, 0x78, 0x18, 0x0C, 0x78,
0x00, 0xCC, 0x00, 0xCC, 0xCC, 0xCC, 0x7E, 0x00, 0x1C, 0x00, 0x78, 0xCC,
0xFC, 0xC0, 0x78, 0x00, 0x7E, 0xC3, 0x3C, 0x06, 0x3E, 0x66, 0x3F, 0x00,
0xCC, 0x00, 0x78, 0x0C, 0x7C, 0xCC, 0x7E, 0x00, 0xE0, 0x00, 0x78, 0x0C,
0x7C, 0xCC, 0x7E, 0x00, 0x30, 0x30, 0x78, 0x0C, 0x7C, 0xCC, 0x7E, 0x00,
0x00, 0x00, 0x78, 0xC0, 0xC0, 0x78, 0x0C, 0x38, 0x7E, 0xC3, 0x3C, 0x66,
0x7E, 0x60, 0x3C, 0x00, 0xCC, 0x00, 0x78, 0xCC, 0xFC, 0xC0, 0x78, 0x00,
0xE0, 0x00, 0x78, 0xCC, 0xFC, 0xC0, 0x78, 0x00, 0xCC, 0x00, 0x70, 0x30,
0x30, 0x30, 0x78, 0x00, 0x7C, 0xC6, 0x38, 0x18, 0x18, 0x18, 0x3C, 0x00,
0xE0, 0x00, 0x70, 0x30, 0x30, 0x30, 0x78, 0x00, 0xC6, 0x38, 0x6C, 0xC6,
0xFE, 0xC6, 0xC6, 0x00, 0x30, 0x30, 0x00, 0x78, 0xCC, 0xFC, 0xCC, 0x00,
0x1C, 0x00, 0xFC, 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, 0x00, 0x7C, 0x00, 0x00,
0x30, 0x00, 0x30, 0x60, 0xC0, 0xCC, 0x78, 0x00, 0x00, 0x00, 0x00, 0xFC,
0xC0, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0x0C, 0x0C, 0x00, 0x00,
0xC3, 0xC6, 0xCC, 0xDE, 0x33, 0x66, 0xCC, 0x0F, 0xC3, 0xC6, 0xCC, 0xDB,
0x37, 0x6F, 0xCF, 0x03, 0x18, 0x18, 0x00, 0x18, 0x18, 0x18, 0x18, 0x00,
0x00, 0x33, 0x66, 0xCC, 0x66, 0x33, 0x00, 0x00, 0x00, 0xCC, 0x66, 0x33,
0x66, 0xCC, 0x00, 0x00, 0x22, 0x88, 0x22, 0x88, 0x22, 0x88, 0x22, 0x88,
0x55, 0xAA, 0x55, 0xAA, 0x55, 0xAA, 0x55, 0xAA, 0xDB, 0x77, 0xDB, 0xEE,
0xDB, 0x77, 0xDB, 0xEE, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18,
0x18, 0x18, 0x18, 0x18, 0xF8, 0x18, 0x18, 0x18, 0x18, 0x18, 0xF8, 0x18,
0xF8, 0x18, 0x18, 0x18, 0x36, 0x36, 0x36, 0x36, 0xF6, 0x36, 0x36, 0x36,
0x00, 0x00, 0x00, 0x00, 0xFE, 0x36, 0x36, 0x36, 0x00, 0x00, 0xF8, 0x18,
0xF8, 0x18, 0x18, 0x18, 0x36, 0x36, 0xF6, 0x06, 0xF6, 0x36, 0x36, 0x36,
0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x00, 0x00, 0xFE, 0x06,
0xF6, 0x36, 0x36, 0x36, 0x36, 0x36, 0xF6, 0x06, 0xFE, 0x00, 0x00, 0x00,
0x36, 0x36, 0x36, 0x36, 0xFE, 0x00, 0x00, 0x00, 0x18, 0x18, 0xF8, 0x18,
0xF8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0x18, 0x18, 0x18,
0x18, 0x18, 0x18, 0x18, 0x1F, 0x00, 0x00, 0x00, 0x18, 0x18, 0x18, 0x18,
0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x18, 0x18, 0x18,
0x18, 0x18, 0x18, 0x18, 0x1F, 0x18, 0x18, 0x18, 0x00, 0x00, 0x00, 0x00,
0xFF, 0x00, 0x00, 0x00, 0x18, 0x18, 0x18, 0x18, 0xFF, 0x18, 0x18, 0x18,
0x18, 0x18, 0x1F, 0x18, 0x1F, 0x18, 0x18, 0x18, 0x36, 0x36, 0x36, 0x36,
0x37, 0x36, 0x36, 0x36, 0x36, 0x36, 0x37, 0x30, 0x3F, 0x00, 0x00, 0x00,
0x00, 0x00, 0x3F, 0x30, 0x37, 0x36, 0x36, 0x36, 0x36, 0x36, 0xF7, 0x00,
0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x00, 0xF7, 0x36, 0x36, 0x36,
0x36, 0x36, 0x37, 0x30, 0x37, 0x36, 0x36, 0x36, 0x00, 0x00, 0xFF, 0x00,
0xFF, 0x00, 0x00, 0x00, 0x36, 0x36, 0xF7, 0x00, 0xF7, 0x36, 0x36, 0x36,
0x18, 0x18, 0xFF, 0x00, 0xFF, 0x00, 0x00, 0x00, 0x36, 0x36, 0x36, 0x36,
0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x00, 0xFF, 0x18, 0x18, 0x18,
0x00, 0x00, 0x00, 0x00, 0xFF, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36,
0x3F, 0x00, 0x00, 0x00, 0x18, 0x18, 0x1F, 0x18, 0x1F, 0x00, 0x00, 0x00,
0x00, 0x00, 0x1F, 0x18, 0x1F, 0x18, 0x18, 0x18, 0x00, 0x00, 0x00, 0x00,
0x3F, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0xFF, 0x36, 0x36, 0x36,
0x18, 0x18, 0xFF, 0x18, 0xF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 0xCC, 0xCC, 0x00,
0x00, 0xFC, 0x00, 0xFC, 0x00, 0xFC, 0x00, 0x00, 0x30, 0x30, 0xFC, 0x30,
0x30, 0x00, 0xFC, 0x00, 0x60, 0x30, 0x18, 0x30, 0x60, 0x00, 0xFC, 0x00,
0x18, 0x30, 0x60, 0x30, 0x18, 0x00, 0xFC, 0x00, 0x0E, 0x1B, 0x1B, 0x18,
0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0xD8, 0xD8, 0x70,
0x30, 0x30, 0x00, 0xFC, 0x00, 0x30, 0x30, 0x00, 0x00, 0x76, 0xDC, 0x00,
0x76, 0xDC, 0x00, 0x00, 0x38, 0x6C, 0x6C, 0x38, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x18, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x18, 0x00, 0x00, 0x00, 0x0F, 0x0C, 0x0C, 0x0C, 0xEC, 0x6C, 0x3C, 0x1C,
0x78, 0x6C, 0x6C, 0x6C, 0x6C, 0x00, 0x00, 0x00, 0x70, 0x18, 0x30, 0x60,
0x78, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3C, 0x3C, 0x3C, 0x3C, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
0xFF, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0xFF, // .
0x7E, 0x81, 0xA5, 0x81, 0xBD, 0x81, 0x7E, 0x00, // .
0x7E, 0xFF, 0xDB, 0xFF, 0xC3, 0xFF, 0x7E, 0x00, // .
0x36, 0x7F, 0x7F, 0x7F, 0x3E, 0x1C, 0x08, 0x00, // .
0x08, 0x1C, 0x3E, 0x7F, 0x3E, 0x1C, 0x08, 0x00, // .
0x1C, 0x1C, 0x08, 0x6B, 0x7F, 0x6B, 0x08, 0x1C, // .
0x08, 0x1C, 0x3E, 0x7F, 0x3E, 0x08, 0x1C, 0x3E, // .
0x00, 0x00, 0x18, 0x3C, 0x3C, 0x18, 0x00, 0x00, // .
0xFF, 0xFF, 0xE7, 0xC3, 0xC3, 0xE7, 0xFF, 0xFF, // .
0x00, 0x3C, 0x66, 0x42, 0x42, 0x66, 0x3C, 0x00, // .
0xFF, 0xC3, 0x99, 0xBD, 0xBD, 0x99, 0xC3, 0xFF, // .
0x0F, 0x07, 0x0D, 0x3C, 0x66, 0x66, 0x66, 0x3C, // .
0x3C, 0x66, 0x66, 0x66, 0x3C, 0x18, 0x7E, 0x18, // .
0x30, 0x38, 0x3C, 0x36, 0x34, 0x70, 0xF0, 0xE0, // .
0x7F, 0x63, 0x7F, 0x63, 0x63, 0x67, 0xE6, 0xC0, // .
0x18, 0xDB, 0x7E, 0x66, 0x66, 0x7E, 0xDB, 0x18, // .
0x40, 0x70, 0x7C, 0x7F, 0x7C, 0x70, 0x40, 0x00, // .
0x01, 0x07, 0x1F, 0x7F, 0x1F, 0x07, 0x01, 0x00, // .
0x18, 0x3C, 0x7E, 0x18, 0x18, 0x7E, 0x3C, 0x18, // .
0x66, 0x66, 0x66, 0x66, 0x66, 0x00, 0x66, 0x00, // .
0x3F, 0x7A, 0x7A, 0x3A, 0x0A, 0x0A, 0x0A, 0x00, // .
0x1E, 0x33, 0x1C, 0x36, 0x36, 0x1C, 0x66, 0x3C, // .
0x00, 0x00, 0x00, 0x00, 0x7E, 0x7E, 0x7E, 0x00, // .
0x18, 0x3C, 0x7E, 0x18, 0x7E, 0x3C, 0x18, 0x7E, // .
0x18, 0x3C, 0x7E, 0x18, 0x18, 0x18, 0x18, 0x00, // .
0x18, 0x18, 0x18, 0x18, 0x7E, 0x3C, 0x18, 0x00, // .
0x00, 0x0C, 0x0E, 0x7F, 0x0E, 0x0C, 0x00, 0x00, // .
0x00, 0x18, 0x38, 0x7F, 0x38, 0x18, 0x00, 0x00, // .
0x00, 0x00, 0x60, 0x60, 0x60, 0x7F, 0x00, 0x00, // .
0x00, 0x24, 0x66, 0xFF, 0x66, 0x24, 0x00, 0x00, // .
0x00, 0x18, 0x3C, 0x7E, 0xFF, 0xFF, 0x00, 0x00, // .
0x00, 0xFF, 0xFF, 0x7E, 0x3C, 0x18, 0x00, 0x00, //
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // !
0x06, 0x0E, 0x0C, 0x18, 0x10, 0x00, 0x20, 0x00, // "
0x6C, 0x6C, 0x24, 0x48, 0x00, 0x00, 0x00, 0x00, // #
0x6C, 0x6C, 0xFE, 0x6C, 0xFE, 0x6C, 0x6C, 0x00, // $
0x10, 0x7C, 0xD0, 0x7C, 0x16, 0x7C, 0x10, 0x00, // %
0x00, 0xC6, 0xCC, 0x18, 0x30, 0x66, 0xC6, 0x00, // &
0x38, 0x6C, 0x38, 0x76, 0xDC, 0xCC, 0x76, 0x00, // '
0x18, 0x18, 0x08, 0x10, 0x00, 0x00, 0x00, 0x00, // (
0x0C, 0x18, 0x30, 0x30, 0x30, 0x18, 0x0C, 0x00, // )
0x30, 0x18, 0x0C, 0x0C, 0x0C, 0x18, 0x30, 0x00, // *
0x00, 0x6C, 0x38, 0xFE, 0x38, 0x6C, 0x00, 0x00, // +
0x00, 0x18, 0x18, 0x7E, 0x7E, 0x18, 0x18, 0x00, // ,
0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x08, 0x10, // -
0x00, 0x00, 0x00, 0x3C, 0x00, 0x00, 0x00, 0x00, // .
0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x30, 0x00, // /
0x03, 0x06, 0x0C, 0x18, 0x30, 0x60, 0xC0, 0x80, // 0
0x3C, 0x66, 0x66, 0x66, 0x66, 0x66, 0x3C, 0x00, // 1
0x0C, 0x1C, 0x3C, 0x0C, 0x0C, 0x0C, 0x0C, 0x00, // 2
0x3C, 0x66, 0x06, 0x1C, 0x30, 0x60, 0x7E, 0x00, // 3
0x3C, 0x66, 0x06, 0x1C, 0x06, 0x66, 0x3C, 0x00, // 4
0x1C, 0x3C, 0x6C, 0xCC, 0xFF, 0x0C, 0x0C, 0x00, // 5
0x7E, 0x60, 0x60, 0x7C, 0x06, 0x66, 0x3C, 0x00, // 6
0x3C, 0x60, 0x60, 0x7C, 0x66, 0x66, 0x3C, 0x00, // 7
0x7E, 0x06, 0x06, 0x0C, 0x18, 0x30, 0x30, 0x00, // 8
0x3C, 0x66, 0x66, 0x3C, 0x66, 0x66, 0x3C, 0x00, // 9
0x3C, 0x66, 0x66, 0x3E, 0x06, 0x06, 0x3C, 0x00, // :
0x00, 0x30, 0x30, 0x00, 0x30, 0x30, 0x00, 0x00, // ;
0x00, 0x18, 0x18, 0x00, 0x18, 0x18, 0x08, 0x10, // <
0x0C, 0x18, 0x30, 0x60, 0x30, 0x18, 0x0C, 0x00, // =
0x00, 0x00, 0x7E, 0x00, 0x00, 0x7E, 0x00, 0x00, // >
0x30, 0x18, 0x0C, 0x06, 0x0C, 0x18, 0x30, 0x00, // ?
0x3C, 0x66, 0x06, 0x0C, 0x18, 0x00, 0x18, 0x00, // @
0x3C, 0x66, 0x6E, 0x6E, 0x6C, 0x60, 0x3C, 0x00, // A
0x18, 0x3C, 0x66, 0x66, 0x7E, 0x66, 0x66, 0x00, // B
0x7C, 0x66, 0x66, 0x7C, 0x66, 0x66, 0x7C, 0x00, // C
0x3C, 0x66, 0x60, 0x60, 0x60, 0x66, 0x3C, 0x00, // D
0x7C, 0x66, 0x66, 0x66, 0x66, 0x66, 0x7C, 0x00, // E
0x7E, 0x60, 0x60, 0x7C, 0x60, 0x60, 0x7E, 0x00, // F
0x7E, 0x60, 0x60, 0x7C, 0x60, 0x60, 0x60, 0x00, // G
0x3C, 0x66, 0x60, 0x6E, 0x66, 0x66, 0x3C, 0x00, // H
0x66, 0x66, 0x66, 0x7E, 0x66, 0x66, 0x66, 0x00, // I
0x3C, 0x18, 0x18, 0x18, 0x18, 0x18, 0x3C, 0x00, // J
0x06, 0x06, 0x06, 0x06, 0x66, 0x66, 0x3C, 0x00, // K
0x66, 0x6C, 0x78, 0x70, 0x78, 0x6C, 0x66, 0x00, // L
0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x7E, 0x00, // M
0xC6, 0xEE, 0xFE, 0xD6, 0xC6, 0xC6, 0xC6, 0x00, // N
0x66, 0x76, 0x7E, 0x6E, 0x66, 0x66, 0x66, 0x00, // O
0x3C, 0x66, 0x66, 0x66, 0x66, 0x66, 0x3C, 0x00, // P
0x7C, 0x66, 0x66, 0x7C, 0x60, 0x60, 0x60, 0x00, // Q
0x3C, 0x66, 0x66, 0x66, 0x66, 0x6E, 0x3C, 0x06, // R
0x7C, 0x66, 0x66, 0x7C, 0x66, 0x66, 0x66, 0x00, // S
0x3C, 0x66, 0x60, 0x3C, 0x06, 0x66, 0x3C, 0x00, // T
0x7E, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x00, // U
0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x3C, 0x00, // V
0x66, 0x66, 0x66, 0x66, 0x66, 0x3C, 0x18, 0x00, // W
0xC6, 0xC6, 0xC6, 0xD6, 0xFE, 0xEE, 0xC6, 0x00, // X
0x66, 0x66, 0x3C, 0x18, 0x3C, 0x66, 0x66, 0x00, // Y
0x66, 0x66, 0x66, 0x3C, 0x18, 0x18, 0x18, 0x00, // Z
0x7E, 0x06, 0x0C, 0x18, 0x30, 0x60, 0x7E, 0x00, // [
0x3C, 0x30, 0x30, 0x30, 0x30, 0x30, 0x3C, 0x00, //
0x80, 0xC0, 0x60, 0x30, 0x18, 0x0C, 0x06, 0x03, // ]
0x3C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x3C, 0x00, // ^
0x18, 0x3C, 0x66, 0x00, 0x00, 0x00, 0x00, 0x00, // _
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x00, // `
0x18, 0x18, 0x10, 0x08, 0x00, 0x00, 0x00, 0x00, // a
0x00, 0x00, 0x3C, 0x6C, 0x6C, 0x6C, 0x36, 0x00, // b
0x30, 0x30, 0x3C, 0x36, 0x36, 0x36, 0x5C, 0x00, // c
0x00, 0x00, 0x38, 0x64, 0x60, 0x64, 0x38, 0x00, // d
0x0C, 0x0C, 0x3C, 0x6C, 0x6C, 0x6C, 0x36, 0x00, // e
0x00, 0x00, 0x38, 0x64, 0x7C, 0x60, 0x38, 0x00, // f
0x18, 0x34, 0x30, 0x7C, 0x30, 0x30, 0x30, 0x00, // g
0x00, 0x00, 0x3C, 0x68, 0x38, 0x7C, 0x4C, 0x38, // h
0x60, 0x60, 0x78, 0x6C, 0x6C, 0x6C, 0x6C, 0x00, // i
0x18, 0x00, 0x38, 0x18, 0x18, 0x18, 0x18, 0x00, // j
0x18, 0x00, 0x18, 0x18, 0x18, 0x18, 0x58, 0x30, // k
0x60, 0x60, 0x66, 0x6C, 0x78, 0x6C, 0x66, 0x00, // l
0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x18, 0x00, // m
0x00, 0x00, 0xEC, 0xD6, 0xD6, 0xD6, 0xC6, 0x00, // n
0x00, 0x00, 0xB8, 0x6C, 0x6C, 0x6C, 0x6C, 0x00, // o
0x00, 0x00, 0x38, 0x6C, 0x6C, 0x6C, 0x38, 0x00, // p
0x00, 0x00, 0x5C, 0x36, 0x36, 0x3C, 0x30, 0x30, // q
0x00, 0x00, 0x3A, 0x6C, 0x6C, 0x3C, 0x0C, 0x0E, // r
0x00, 0x00, 0x5C, 0x3A, 0x30, 0x30, 0x30, 0x00, // s
0x00, 0x00, 0x38, 0x60, 0x38, 0x0C, 0x78, 0x00, // t
0x30, 0x30, 0x7C, 0x30, 0x30, 0x34, 0x18, 0x00, // u
0x00, 0x00, 0x6C, 0x6C, 0x6C, 0x6C, 0x36, 0x00, // v
0x00, 0x00, 0x6C, 0x6C, 0x6C, 0x38, 0x10, 0x00, // w
0x00, 0x00, 0xC6, 0xC6, 0xD6, 0xD6, 0x6C, 0x00, // x
0x00, 0x00, 0x62, 0x34, 0x18, 0x1C, 0x66, 0x00, // y
0x00, 0x00, 0x6C, 0x6C, 0x6C, 0x3E, 0x2C, 0x38, // z
0x00, 0x00, 0x7C, 0x0C, 0x18, 0x30, 0x7C, 0x00, // {
0x1C, 0x30, 0x30, 0x60, 0x30, 0x30, 0x1C, 0x00, // |
0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, // }
0x38, 0x0C, 0x0C, 0x06, 0x0C, 0x0C, 0x38, 0x00, // ~
0x76, 0xDC, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // .
0x00, 0x00, 0x18, 0x3C, 0x66, 0x66, 0x7E, 0x00, // .
0x3F, 0x61, 0x63, 0xF8, 0x60, 0xF9, 0x61, 0x3F, // .
0x66, 0x00, 0x66, 0x66, 0x66, 0x66, 0x3E, 0x00, // .
0x0E, 0x00, 0x3C, 0x66, 0x7E, 0x60, 0x3C, 0x00, // .
0x3C, 0x66, 0x3C, 0x06, 0x3E, 0x66, 0x3E, 0x00, // .
0x66, 0x00, 0x3C, 0x06, 0x3E, 0x66, 0x3E, 0x00, // .
0x70, 0x00, 0x3C, 0x06, 0x3E, 0x66, 0x3E, 0x00, // .
0x1C, 0x1C, 0x3C, 0x06, 0x3E, 0x66, 0x3E, 0x00, // .
0x00, 0x00, 0x3E, 0x60, 0x60, 0x3E, 0x18, 0x30, // .
0x3C, 0x66, 0x3C, 0x66, 0x7E, 0x60, 0x3C, 0x00, // .
0x66, 0x00, 0x3C, 0x66, 0x7E, 0x60, 0x3C, 0x00, // .
0x70, 0x00, 0x3C, 0x66, 0x7E, 0x60, 0x3C, 0x00, // .
0x66, 0x00, 0x18, 0x18, 0x18, 0x18, 0x18, 0x00, // .
0x3C, 0x66, 0x18, 0x18, 0x18, 0x18, 0x18, 0x00, // .
0x70, 0x00, 0x18, 0x18, 0x18, 0x18, 0x18, 0x00, // .
0xC6, 0x38, 0x6C, 0xC6, 0xFE, 0xC6, 0xC6, 0x00, // .
0x1C, 0x1C, 0x00, 0x3C, 0x66, 0x7E, 0x66, 0x00, // .
0x0C, 0x18, 0x7C, 0x60, 0x78, 0x60, 0x7C, 0x00, // .
0x00, 0x00, 0x7E, 0x1A, 0x7E, 0xD8, 0x7E, 0x00, // .
0x3E, 0x78, 0xD8, 0xDE, 0xF8, 0xD8, 0xDE, 0x00, // .
0x3C, 0x66, 0x3C, 0x66, 0x66, 0x66, 0x3C, 0x00, // .
0x66, 0x00, 0x3C, 0x66, 0x66, 0x66, 0x3C, 0x00, // .
0x70, 0x00, 0x3C, 0x66, 0x66, 0x66, 0x3C, 0x00, // .
0x3C, 0x66, 0x00, 0x66, 0x66, 0x66, 0x3E, 0x00, // .
0x70, 0x00, 0x66, 0x66, 0x66, 0x66, 0x3E, 0x00, // .
0x66, 0x00, 0x66, 0x66, 0x66, 0x3E, 0x06, 0x3C, // .
0x66, 0x3C, 0x66, 0x66, 0x66, 0x66, 0x66, 0x3C, // .
0x66, 0x00, 0x66, 0x66, 0x66, 0x66, 0x66, 0x3C, // .
0x0C, 0x0C, 0x3E, 0x60, 0x60, 0x3E, 0x0C, 0x0C, // .
0x38, 0x6C, 0x60, 0xF0, 0x60, 0x66, 0xFC, 0x00, // .
0x66, 0x66, 0x3C, 0x18, 0x7E, 0x18, 0x7E, 0x18, // .
0x7C, 0x66, 0x66, 0x7C, 0x66, 0x6F, 0x66, 0x63, // .
0x0E, 0x1B, 0x18, 0x3C, 0x18, 0x18, 0x78, 0x30, // .
0x0E, 0x00, 0x3C, 0x06, 0x3E, 0x66, 0x3E, 0x00, // .
0x0E, 0x00, 0x18, 0x18, 0x18, 0x18, 0x18, 0x00, // .
0x0E, 0x00, 0x3C, 0x66, 0x66, 0x66, 0x3C, 0x00, // .
0x0E, 0x00, 0x66, 0x66, 0x66, 0x66, 0x3E, 0x00, // .
0x3B, 0x6E, 0x00, 0x7C, 0x66, 0x66, 0x66, 0x00, // .
0x3B, 0x6E, 0x00, 0x66, 0x76, 0x7E, 0x6E, 0x66, // .
0x3E, 0x66, 0x66, 0x3E, 0x00, 0x7E, 0x00, 0x00, // .
0x3C, 0x66, 0x66, 0x3C, 0x00, 0x7E, 0x00, 0x00, // .
0x18, 0x00, 0x18, 0x30, 0x60, 0x66, 0x3C, 0x00, // .
0x00, 0x00, 0x00, 0x7E, 0x60, 0x60, 0x00, 0x00, // .
0x00, 0x00, 0x00, 0x7E, 0x06, 0x06, 0x00, 0x00, // .
0xC6, 0xCC, 0xD8, 0x3E, 0x63, 0xC6, 0x0C, 0x1F, // .
0xC6, 0xCC, 0xD8, 0x36, 0x6E, 0xD6, 0x1F, 0x06, // .
0x18, 0x00, 0x18, 0x18, 0x18, 0x18, 0x18, 0x00, // .
0x00, 0x36, 0x6C, 0xD8, 0x6C, 0x36, 0x00, 0x00, // .
0x00, 0xD8, 0x6C, 0x36, 0x6C, 0xD8, 0x00, 0x00, // .
0x22, 0x88, 0x22, 0x88, 0x22, 0x88, 0x22, 0x88, // .
0x55, 0xAA, 0x55, 0xAA, 0x55, 0xAA, 0x55, 0xAA, // .
0xDD, 0x77, 0xDD, 0x77, 0xDD, 0x77, 0xDD, 0x77, // .
0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, // .
0x08, 0x08, 0x08, 0x08, 0xF8, 0x08, 0x08, 0x08, // .
0x08, 0x08, 0x08, 0xF8, 0xF8, 0x08, 0x08, 0x08, // .
0x1C, 0x1C, 0x1C, 0x1C, 0xFC, 0x1C, 0x1C, 0x1C, // .
0x00, 0x00, 0x00, 0x00, 0xFC, 0x1C, 0x1C, 0x1C, // .
0x00, 0x00, 0x00, 0xF8, 0xF8, 0x08, 0x08, 0x08, // .
0x1C, 0x1C, 0x1C, 0xFC, 0xFC, 0x1C, 0x1C, 0x1C, // .
0x1C, 0x1C, 0x1C, 0x1C, 0x1C, 0x1C, 0x1C, 0x1C, // .
0x00, 0x00, 0x00, 0xFC, 0xFC, 0x1C, 0x1C, 0x1C, // .
0x1C, 0x1C, 0x1C, 0xFC, 0xFC, 0x00, 0x00, 0x00, // .
0x1C, 0x1C, 0x1C, 0x1C, 0xFC, 0x00, 0x00, 0x00, // .
0x08, 0x08, 0x08, 0xF8, 0xF8, 0x00, 0x00, 0x00, // .
0x00, 0x00, 0x00, 0x00, 0xF8, 0x08, 0x08, 0x08, // .
0x08, 0x08, 0x08, 0x08, 0x0F, 0x00, 0x00, 0x00, // .
0x08, 0x08, 0x08, 0x08, 0xFF, 0x00, 0x00, 0x00, // .
0x00, 0x00, 0x00, 0x00, 0xFF, 0x08, 0x08, 0x08, // .
0x08, 0x08, 0x08, 0x08, 0x0F, 0x08, 0x08, 0x08, // .
0x00, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, // .
0x08, 0x08, 0x08, 0x08, 0xFF, 0x08, 0x08, 0x08, // .
0x08, 0x08, 0x08, 0x0F, 0x0F, 0x08, 0x08, 0x08, // .
0x1C, 0x1C, 0x1C, 0x1C, 0x1F, 0x1C, 0x1C, 0x1C, // .
0x1C, 0x1C, 0x1C, 0x1F, 0x1F, 0x00, 0x00, 0x00, // .
0x00, 0x00, 0x00, 0x1F, 0x1F, 0x1C, 0x1C, 0x1C, // .
0x1C, 0x1C, 0x1C, 0xFF, 0xFF, 0x00, 0x00, 0x00, // .
0x00, 0x00, 0x00, 0xFF, 0xFF, 0x1C, 0x1C, 0x1C, // .
0x1C, 0x1C, 0x1C, 0x1F, 0x1F, 0x1C, 0x1C, 0x1C, // .
0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00, // .
0x1C, 0x1C, 0x1C, 0xFF, 0xFF, 0x1C, 0x1C, 0x1C, // .
0x08, 0x08, 0x08, 0xFF, 0xFF, 0x00, 0x00, 0x00, // .
0x1C, 0x1C, 0x1C, 0x1C, 0xFF, 0x00, 0x00, 0x00, // .
0x00, 0x00, 0x00, 0xFF, 0xFF, 0x08, 0x08, 0x08, // .
0x00, 0x00, 0x00, 0x00, 0xFF, 0x1C, 0x1C, 0x1C, // .
0x1C, 0x1C, 0x1C, 0x1C, 0x1F, 0x00, 0x00, 0x00, // .
0x08, 0x08, 0x08, 0x0F, 0x0F, 0x00, 0x00, 0x00, // .
0x00, 0x00, 0x00, 0x0F, 0x0F, 0x08, 0x08, 0x08, // .
0x00, 0x00, 0x00, 0x00, 0x1F, 0x1C, 0x1C, 0x1C, // .
0x1C, 0x1C, 0x1C, 0x1C, 0xFF, 0x1C, 0x1C, 0x1C, // .
0x08, 0x08, 0x08, 0xFF, 0xFF, 0x08, 0x08, 0x08, // .
0x08, 0x08, 0x08, 0x08, 0xF8, 0x00, 0x00, 0x00, // .
0x00, 0x00, 0x00, 0x00, 0x0F, 0x08, 0x08, 0x08, // .
0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, // .
0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, // .
0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, // .
0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, // .
0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, // .
0x00, 0x00, 0x76, 0xCC, 0xCC, 0xCC, 0x76, 0x00, // .
0x3C, 0x66, 0x66, 0x7C, 0x66, 0x66, 0x7C, 0x60, // .
0x7E, 0x66, 0x60, 0x60, 0x60, 0x60, 0x60, 0x00, // .
0x00, 0x00, 0xFE, 0x6C, 0x6C, 0x6C, 0x66, 0x00, // .
0x7E, 0x66, 0x30, 0x18, 0x30, 0x66, 0x7E, 0x00, // .
0x00, 0x00, 0x3E, 0x6C, 0x6C, 0x6C, 0x38, 0x00, // .
0x00, 0x00, 0x66, 0x66, 0x66, 0x66, 0x7F, 0xC0, // .
0x00, 0x00, 0x7E, 0xD8, 0x18, 0x18, 0x0C, 0x00, // .
0x7C, 0x38, 0x7C, 0xD6, 0xD6, 0x7C, 0x38, 0x7C, // .
0x7C, 0xC6, 0xC6, 0xFE, 0xC6, 0xC6, 0x7C, 0x00, // .
0x7C, 0xC6, 0xC6, 0xC6, 0x6C, 0x6C, 0xEE, 0x00, // .
0x1E, 0x30, 0x18, 0x3C, 0x66, 0x66, 0x3C, 0x00, // .
0x00, 0x00, 0x7E, 0xDB, 0xDB, 0x7E, 0x00, 0x00, // .
0x03, 0x06, 0x3E, 0x6B, 0x73, 0x3E, 0x60, 0xC0, // .
0x1E, 0x30, 0x60, 0x7E, 0x60, 0x30, 0x1E, 0x00, // .
0x7C, 0xC6, 0xC6, 0xC6, 0xC6, 0xC6, 0xC6, 0x00, // .
0x00, 0x7E, 0x00, 0x7E, 0x00, 0x7E, 0x00, 0x00, // .
0x18, 0x18, 0x7E, 0x18, 0x18, 0x00, 0x7E, 0x00, // .
0x30, 0x18, 0x0C, 0x18, 0x30, 0x00, 0x7E, 0x00, // .
0x0C, 0x18, 0x30, 0x18, 0x0C, 0x00, 0x7E, 0x00, // .
0x0E, 0x1B, 0x1B, 0x18, 0x18, 0x18, 0x18, 0x18, // .
0x18, 0x18, 0x18, 0x18, 0x18, 0xD8, 0xD8, 0x70, // .
0x18, 0x18, 0x00, 0x7E, 0x00, 0x18, 0x18, 0x00, // .
0x00, 0x76, 0xDC, 0x00, 0x76, 0xDC, 0x00, 0x00, // .
0x3C, 0x66, 0x66, 0x3C, 0x00, 0x00, 0x00, 0x00, // .
0x00, 0x00, 0x00, 0x18, 0x18, 0x00, 0x00, 0x00, // .
0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, // .
0x1E, 0x18, 0x18, 0x18, 0x18, 0xD8, 0x78, 0x38, // .
0x78, 0x6C, 0x6C, 0x6C, 0x6C, 0x00, 0x00, 0x00, // .
0x38, 0x0C, 0x18, 0x30, 0x3C, 0x00, 0x00, 0x00, // .
0x00, 0x00, 0x3C, 0x3C, 0x3C, 0x3C, 0x00, 0x00, // .
0x00, 0x00, 0x00, 0x18, 0x18, 0x00, 0x00, 0x00
};

View file

@ -261,14 +261,14 @@ int32_t map_undoredo(int32_t dir)
{
if (mapstate == NULL || mapstate->next == NULL || !mapstate->next->numsectors) return 1;
while (map_revision+1 != mapstate->revision)
while (map_revision+1 != mapstate->revision && mapstate->next)
mapstate = mapstate->next;
}
else
{
if (mapstate == NULL || mapstate->prev == NULL || !mapstate->prev->numsectors) return 1;
while (map_revision-1 != mapstate->revision)
while (map_revision-1 != mapstate->revision && mapstate->prev)
mapstate = mapstate->prev;
}
@ -9538,18 +9538,6 @@ int32_t loadconsounds(char *fn)
void ExtPreLoadMap(void)
{
static int32_t soundinit = 0;
if (!soundinit)
{
g_numsounds = 0;
loadconsounds(gamecon);
if (g_numsounds > 0)
{
if (S_SoundStartup() != 0)
S_SoundShutdown();
}
soundinit = 1;
}
}
/// ^^^
@ -10255,6 +10243,7 @@ static void Keys2d3d(void)
if (mapstate == NULL)
{
mapstate = (mapundo_t *)Bcalloc(1, sizeof(mapundo_t));
map_revision = 0;
create_map_snapshot(); // initial map state
Bfree(mapstate->next);
mapstate = mapstate->prev;
@ -10297,7 +10286,7 @@ static void Keys2d3d(void)
}
else
{
if (map_undoredo(0)) printmessage16("Nothing to undo!");
if (map_undoredo(0)) message("Nothing to undo!");
else message("Revision %d undone",map_revision);
}
}
@ -10451,6 +10440,19 @@ static void Keys2d3d(void)
void ExtCheckKeys(void)
{
static int32_t soundinit = 0;
if (!soundinit)
{
g_numsounds = 0;
loadconsounds(gamecon);
if (g_numsounds > 0)
{
if (S_SoundStartup() != 0)
S_SoundShutdown();
}
soundinit = 1;
}
if (qsetmode == 200)
{
if (shadepreview)
@ -10509,9 +10511,8 @@ void ExtCheckKeys(void)
editinput();
if (infobox&2)m32_showmouse();
}
return;
}
Keys2d();
else Keys2d();
if (asksave == 1 && bstatus == 0 && mapstate)
{