1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 09:39:43 +01:00

Make the level editor use font outlines for text appropriately

This commit is contained in:
Fredrik Ljungdahl 2020-01-23 14:23:56 +01:00
parent f9525020bb
commit ca9f577fc4

View file

@ -2459,10 +2459,10 @@ void editorrender( KeyPoll& key, Graphics& dwgfx, Game& game, mapclass& map, ent
//FillRect(dwgfx.backBuffer, (edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8), 16,16, dwgfx.getRGB(64,32,64));
//dwgfx.drawsprite((edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8),ed.getenemyframe(ed.level[ed.levx+(ed.levy*ed.maxwidth)].enemytype),164,48,48);
dwgfx.drawspritesetcol((edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8),ed.getenemyframe(ed.level[ed.levx+(ed.levy*ed.maxwidth)].enemytype),ed.entcol,help);
if(edentity[i].p1==0) dwgfx.Print((edentity[i].x*8)- (ed.levx*40*8)+4,(edentity[i].y*8)- (ed.levy*30*8)+4, "V", 255, 255, 255 - help.glow, false);
if(edentity[i].p1==1) dwgfx.Print((edentity[i].x*8)- (ed.levx*40*8)+4,(edentity[i].y*8)- (ed.levy*30*8)+4, "^", 255, 255, 255 - help.glow, false);
if(edentity[i].p1==2) dwgfx.Print((edentity[i].x*8)- (ed.levx*40*8)+4,(edentity[i].y*8)- (ed.levy*30*8)+4, "<", 255, 255, 255 - help.glow, false);
if(edentity[i].p1==3) dwgfx.Print((edentity[i].x*8)- (ed.levx*40*8)+4,(edentity[i].y*8)- (ed.levy*30*8)+4, ">", 255, 255, 255 - help.glow, false);
if(edentity[i].p1==0) dwgfx.bprint((edentity[i].x*8)- (ed.levx*40*8)+4,(edentity[i].y*8)- (ed.levy*30*8)+4, "V", 255, 255, 255 - help.glow, false);
if(edentity[i].p1==1) dwgfx.bprint((edentity[i].x*8)- (ed.levx*40*8)+4,(edentity[i].y*8)- (ed.levy*30*8)+4, "^", 255, 255, 255 - help.glow, false);
if(edentity[i].p1==2) dwgfx.bprint((edentity[i].x*8)- (ed.levx*40*8)+4,(edentity[i].y*8)- (ed.levy*30*8)+4, "<", 255, 255, 255 - help.glow, false);
if(edentity[i].p1==3) dwgfx.bprint((edentity[i].x*8)- (ed.levx*40*8)+4,(edentity[i].y*8)- (ed.levy*30*8)+4, ">", 255, 255, 255 - help.glow, false);
fillboxabs(dwgfx, (edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8),16,16,dwgfx.getBGR(255,164,255));
break;
case 2: //Threadmills & platforms
@ -2481,21 +2481,21 @@ void editorrender( KeyPoll& key, Graphics& dwgfx, Game& game, mapclass& map, ent
if(edentity[i].p1<=4)
{
if(edentity[i].p1==0) dwgfx.Print((edentity[i].x*8)- (ed.levx*40*8)+12,(edentity[i].y*8)- (ed.levy*30*8), "V", 255 - help.glow, 255 - help.glow, 255 - help.glow, false);
if(edentity[i].p1==1) dwgfx.Print((edentity[i].x*8)- (ed.levx*40*8)+12,(edentity[i].y*8)- (ed.levy*30*8), "^", 255 - help.glow, 255 - help.glow, 255 - help.glow, false);
if(edentity[i].p1==2) dwgfx.Print((edentity[i].x*8)- (ed.levx*40*8)+12,(edentity[i].y*8)- (ed.levy*30*8), "<", 255 - help.glow, 255 - help.glow, 255 - help.glow, false);
if(edentity[i].p1==3) dwgfx.Print((edentity[i].x*8)- (ed.levx*40*8)+12,(edentity[i].y*8)- (ed.levy*30*8), ">", 255 - help.glow, 255 - help.glow, 255 - help.glow, false);
if(edentity[i].p1==0) dwgfx.bprint((edentity[i].x*8)- (ed.levx*40*8)+12,(edentity[i].y*8)- (ed.levy*30*8), "V", 255 - help.glow, 255 - help.glow, 255 - help.glow, false);
if(edentity[i].p1==1) dwgfx.bprint((edentity[i].x*8)- (ed.levx*40*8)+12,(edentity[i].y*8)- (ed.levy*30*8), "^", 255 - help.glow, 255 - help.glow, 255 - help.glow, false);
if(edentity[i].p1==2) dwgfx.bprint((edentity[i].x*8)- (ed.levx*40*8)+12,(edentity[i].y*8)- (ed.levy*30*8), "<", 255 - help.glow, 255 - help.glow, 255 - help.glow, false);
if(edentity[i].p1==3) dwgfx.bprint((edentity[i].x*8)- (ed.levx*40*8)+12,(edentity[i].y*8)- (ed.levy*30*8), ">", 255 - help.glow, 255 - help.glow, 255 - help.glow, false);
fillboxabs(dwgfx, (edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8),32,8,dwgfx.getBGR(255,255,255));
}
if(edentity[i].p1==5)
{
dwgfx.Print((edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8), ">>>>", 255 - help.glow, 255 - help.glow, 255 - help.glow, false);
dwgfx.bprint((edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8), ">>>>", 255 - help.glow, 255 - help.glow, 255 - help.glow, false);
fillboxabs(dwgfx, (edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8),32,8,dwgfx.getBGR(255,255,255));
}
else if(edentity[i].p1==6)
{
dwgfx.Print((edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8), "<<<<", 255 - help.glow, 255 - help.glow, 255 - help.glow, false);
dwgfx.bprint((edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8), "<<<<", 255 - help.glow, 255 - help.glow, 255 - help.glow, false);
fillboxabs(dwgfx, (edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8),32,8,dwgfx.getBGR(255,255,255));
}
@ -2519,12 +2519,12 @@ void editorrender( KeyPoll& key, Graphics& dwgfx, Game& game, mapclass& map, ent
if(edentity[i].p1==7)
{
dwgfx.Print((edentity[i].x*8)- (ed.levx*40*8)+4,(edentity[i].y*8)- (ed.levy*30*8), "> > > > ", 255 - help.glow, 255 - help.glow, 255 - help.glow, false);
dwgfx.bprint((edentity[i].x*8)- (ed.levx*40*8)+4,(edentity[i].y*8)- (ed.levy*30*8), "> > > > ", 255 - help.glow, 255 - help.glow, 255 - help.glow, false);
fillboxabs(dwgfx, (edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8),64,8,dwgfx.getBGR(255,255,255));
}
else if(edentity[i].p1==8)
{
dwgfx.Print((edentity[i].x*8)- (ed.levx*40*8)+4,(edentity[i].y*8)- (ed.levy*30*8), "< < < < ", 255 - help.glow, 255 - help.glow, 255 - help.glow, false);
dwgfx.bprint((edentity[i].x*8)- (ed.levx*40*8)+4,(edentity[i].y*8)- (ed.levy*30*8), "< < < < ", 255 - help.glow, 255 - help.glow, 255 - help.glow, false);
fillboxabs(dwgfx, (edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8),64,8,dwgfx.getBGR(255,255,255));
}
break;
@ -2544,7 +2544,7 @@ void editorrender( KeyPoll& key, Graphics& dwgfx, Game& game, mapclass& map, ent
drawRect.x += 8;
BlitSurfaceStandard(dwgfx.entcolours[obj.customplatformtile],NULL,dwgfx.backBuffer, &drawRect);
dwgfx.Print((edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8), "////", 255 - help.glow, 255 - help.glow, 255 - help.glow, false);
dwgfx.bprint((edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8), "////", 255 - help.glow, 255 - help.glow, 255 - help.glow, false);
fillboxabs(dwgfx, (edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8),32,8,dwgfx.getBGR(255,255,255));
break;
case 9: //Shiny Trinket
@ -2595,12 +2595,12 @@ void editorrender( KeyPoll& key, Graphics& dwgfx, Game& game, mapclass& map, ent
fillboxabs(dwgfx, (edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8),16,16,dwgfx.getRGB(164,164,255));
if(ed.temp==i)
{
dwgfx.Print((edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8)-8,
dwgfx.bprint((edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8)-8,
"("+help.String(((edentity[i].p1-int(edentity[i].p1%40))/40)+1)+","+help.String(((edentity[i].p2-int(edentity[i].p2%30))/30)+1)+")",210,210,255);
}
else
{
dwgfx.Print((edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8)-8,help.String(ed.findwarptoken(i)),210,210,255);
dwgfx.bprint((edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8)-8,help.String(ed.findwarptoken(i)),210,210,255);
}
break;
case 15: //Crewmates
@ -2619,11 +2619,11 @@ void editorrender( KeyPoll& key, Graphics& dwgfx, Game& game, mapclass& map, ent
fillboxabs(dwgfx, (edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8),16,24,dwgfx.getRGB(164,255,255));
if(ed.entframe<2)
{
dwgfx.Print((edentity[i].x*8)- (ed.levx*40*8)-12,(edentity[i].y*8)- (ed.levy*30*8)-8,"START",255,255,255);
dwgfx.bprint((edentity[i].x*8)- (ed.levx*40*8)-12,(edentity[i].y*8)- (ed.levy*30*8)-8,"START",255,255,255);
}
else
{
dwgfx.Print((edentity[i].x*8)- (ed.levx*40*8)-12,(edentity[i].y*8)- (ed.levy*30*8)-8,"START",196,196,196);
dwgfx.bprint((edentity[i].x*8)- (ed.levx*40*8)-12,(edentity[i].y*8)- (ed.levy*30*8)-8,"START",196,196,196);
}
break;
case 17: //Roomtext
@ -2635,14 +2635,14 @@ void editorrender( KeyPoll& key, Graphics& dwgfx, Game& game, mapclass& map, ent
{
fillboxabs(dwgfx, (edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8),edentity[i].scriptname.length()*8,8,dwgfx.getRGB(96,96,96));
}
dwgfx.Print((edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8), edentity[i].scriptname, 196, 196, 255 - help.glow);
dwgfx.bprint((edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8), edentity[i].scriptname, 196, 196, 255 - help.glow);
break;
case 18: //Terminals
dwgfx.drawsprite((edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8)+8,17,96,96,96);
fillboxabs(dwgfx, (edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8),16,24,dwgfx.getRGB(164,164,164));
if(ed.temp==i)
{
dwgfx.Print((edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8)-8,edentity[i].scriptname,210,210,255);
dwgfx.bprint((edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8)-8,edentity[i].scriptname,210,210,255);
}
break;
case 19: //Script Triggers
@ -2650,7 +2650,7 @@ void editorrender( KeyPoll& key, Graphics& dwgfx, Game& game, mapclass& map, ent
fillboxabs(dwgfx, (edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8),8,8,dwgfx.getRGB(255,255,255));
if(ed.temp==i)
{
dwgfx.Print((edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8)-8,edentity[i].scriptname,210,210,255);
dwgfx.bprint((edentity[i].x*8)- (ed.levx*40*8),(edentity[i].y*8)- (ed.levy*30*8)-8,edentity[i].scriptname,210,210,255);
}
break;
case 50: //Warp lines
@ -2695,12 +2695,12 @@ void editorrender( KeyPoll& key, Graphics& dwgfx, Game& game, mapclass& map, ent
fillboxabs(dwgfx, (edentity[i].p1*8)- (ed.levx*40*8),(edentity[i].p2*8)- (ed.levy*30*8),16,16,dwgfx.getRGB(64,64,96));
if(ed.tilex+(ed.levx*40)==edentity[i].p1 && ed.tiley+(ed.levy*30)==edentity[i].p2)
{
dwgfx.Print((edentity[i].p1*8)- (ed.levx*40*8),(edentity[i].p2*8)- (ed.levy*30*8)-8,
dwgfx.bprint((edentity[i].p1*8)- (ed.levx*40*8),(edentity[i].p2*8)- (ed.levy*30*8)-8,
"("+help.String(((edentity[i].x-int(edentity[i].x%40))/40)+1)+","+help.String(((edentity[i].y-int(edentity[i].y%30))/30)+1)+")",190,190,225);
}
else
{
dwgfx.Print((edentity[i].p1*8)- (ed.levx*40*8),(edentity[i].p2*8)- (ed.levy*30*8)-8,help.String(ed.findwarptoken(i)),190,190,225);
dwgfx.bprint((edentity[i].p1*8)- (ed.levx*40*8),(edentity[i].p2*8)- (ed.levy*30*8)-8,help.String(ed.findwarptoken(i)),190,190,225);
}
}
}
@ -2851,8 +2851,8 @@ void editorrender( KeyPoll& key, Graphics& dwgfx, Game& game, mapclass& map, ent
if(ed.dmtileeditor>0 && t2<=30)
{
dwgfx.Print(2, 45-t2, "Tile:", 196, 196, 255 - help.glow, false);
dwgfx.Print(58, 45-t2, help.String(ed.dmtile), 196, 196, 255 - help.glow, false);
dwgfx.bprint(2, 45-t2, "Tile:", 196, 196, 255 - help.glow, false);
dwgfx.bprint(58, 45-t2, help.String(ed.dmtile), 196, 196, 255 - help.glow, false);
FillRect(dwgfx.backBuffer, 44,44-t2,10,10, dwgfx.getRGB(196, 196, 255 - help.glow));
FillRect(dwgfx.backBuffer, 45,45-t2,8,8, dwgfx.getRGB(0,0,0));
@ -2867,8 +2867,8 @@ void editorrender( KeyPoll& key, Graphics& dwgfx, Game& game, mapclass& map, ent
}
else
{
dwgfx.Print(2, 12, "Tile:", 196, 196, 255 - help.glow, false);
dwgfx.Print(58, 12, help.String(ed.dmtile), 196, 196, 255 - help.glow, false);
dwgfx.bprint(2, 12, "Tile:", 196, 196, 255 - help.glow, false);
dwgfx.bprint(58, 12, help.String(ed.dmtile), 196, 196, 255 - help.glow, false);
FillRect(dwgfx.backBuffer, 44,11,10,10, dwgfx.getRGB(196, 196, 255 - help.glow));
FillRect(dwgfx.backBuffer, 45,12,8,8, dwgfx.getRGB(0,0,0));
@ -3386,61 +3386,61 @@ void editorrender( KeyPoll& key, Graphics& dwgfx, Game& game, mapclass& map, ent
switch(ed.drawmode)
{
case 0:
dwgfx.Print(2,199, "1: Walls",196, 196, 255 - help.glow);
dwgfx.bprint(2,199, "1: Walls",196, 196, 255 - help.glow);
break;
case 1:
dwgfx.Print(2,199, "2: Backing",196, 196, 255 - help.glow);
dwgfx.bprint(2,199, "2: Backing",196, 196, 255 - help.glow);
break;
case 2:
dwgfx.Print(2,199, "3: Spikes",196, 196, 255 - help.glow);
dwgfx.bprint(2,199, "3: Spikes",196, 196, 255 - help.glow);
break;
case 3:
dwgfx.Print(2,199, "4: Trinkets",196, 196, 255 - help.glow);
dwgfx.bprint(2,199, "4: Trinkets",196, 196, 255 - help.glow);
break;
case 4:
dwgfx.Print(2,199, "5: Checkpoint",196, 196, 255 - help.glow);
dwgfx.bprint(2,199, "5: Checkpoint",196, 196, 255 - help.glow);
break;
case 5:
dwgfx.Print(2,199, "6: Disappear",196, 196, 255 - help.glow);
dwgfx.bprint(2,199, "6: Disappear",196, 196, 255 - help.glow);
break;
case 6:
dwgfx.Print(2,199, "7: Conveyors",196, 196, 255 - help.glow);
dwgfx.bprint(2,199, "7: Conveyors",196, 196, 255 - help.glow);
break;
case 7:
dwgfx.Print(2,199, "8: Moving",196, 196, 255 - help.glow);
dwgfx.bprint(2,199, "8: Moving",196, 196, 255 - help.glow);
break;
case 8:
dwgfx.Print(2,199, "9: Enemies",196, 196, 255 - help.glow);
dwgfx.bprint(2,199, "9: Enemies",196, 196, 255 - help.glow);
break;
case 9:
dwgfx.Print(2,199, "0: Grav Line",196, 196, 255 - help.glow);
dwgfx.bprint(2,199, "0: Grav Line",196, 196, 255 - help.glow);
break;
case 10:
dwgfx.Print(2,199, "R: Roomtext",196, 196, 255 - help.glow);
dwgfx.bprint(2,199, "R: Roomtext",196, 196, 255 - help.glow);
break;
case 11:
dwgfx.Print(2,199, "T: Terminal",196, 196, 255 - help.glow);
dwgfx.bprint(2,199, "T: Terminal",196, 196, 255 - help.glow);
break;
case 12:
dwgfx.Print(2,199, "Y: Script Box",196, 196, 255 - help.glow);
dwgfx.bprint(2,199, "Y: Script Box",196, 196, 255 - help.glow);
break;
case 13:
dwgfx.Print(2,199, "U: Warp Token",196, 196, 255 - help.glow);
dwgfx.bprint(2,199, "U: Warp Token",196, 196, 255 - help.glow);
break;
case 14:
dwgfx.Print(2,199, "I: Warp Lines",196, 196, 255 - help.glow);
dwgfx.bprint(2,199, "I: Warp Lines",196, 196, 255 - help.glow);
break;
case 15:
dwgfx.Print(2,199, "O: Crewmate",196, 196, 255 - help.glow);
dwgfx.bprint(2,199, "O: Crewmate",196, 196, 255 - help.glow);
break;
case 16:
dwgfx.Print(2,199, "P: Start Point",196, 196, 255 - help.glow);
dwgfx.bprint(2,199, "P: Start Point",196, 196, 255 - help.glow);
break;
}
FillRect(dwgfx.backBuffer, 260,198,80,10, dwgfx.getRGB(32,32,32));
FillRect(dwgfx.backBuffer, 261,199,80,9, dwgfx.getRGB(0,0,0));
dwgfx.Print(268,199, "("+help.String(ed.levx+1)+","+help.String(ed.levy+1)+")",196, 196, 255 - help.glow, false);
dwgfx.bprint(268,199, "("+help.String(ed.levx+1)+","+help.String(ed.levy+1)+")",196, 196, 255 - help.glow, false);
}
else
@ -3461,13 +3461,13 @@ void editorrender( KeyPoll& key, Graphics& dwgfx, Game& game, mapclass& map, ent
FillRect(dwgfx.backBuffer, 0,230+ed.roomnamehide,320,10, dwgfx.getRGB(0,0,0));
dwgfx.Print(5,231+ed.roomnamehide,ed.level[ed.levx+(ed.maxwidth*ed.levy)].roomname, 196, 196, 255 - help.glow, true);
}
dwgfx.Print(4, 222, "SPACE ^ SHIFT ^", 196, 196, 255 - help.glow, false);
dwgfx.Print(268,222, "("+help.String(ed.levx+1)+","+help.String(ed.levy+1)+")",196, 196, 255 - help.glow, false);
dwgfx.bprint(4, 222, "SPACE ^ SHIFT ^", 196, 196, 255 - help.glow, false);
dwgfx.bprint(268,222, "("+help.String(ed.levx+1)+","+help.String(ed.levy+1)+")",196, 196, 255 - help.glow, false);
}
else
{
dwgfx.Print(4, 232, "SPACE ^ SHIFT ^", 196, 196, 255 - help.glow, false);
dwgfx.Print(268,232, "("+help.String(ed.levx+1)+","+help.String(ed.levy+1)+")",196, 196, 255 - help.glow, false);
dwgfx.bprint(4, 232, "SPACE ^ SHIFT ^", 196, 196, 255 - help.glow, false);
dwgfx.bprint(268,232, "("+help.String(ed.levx+1)+","+help.String(ed.levy+1)+")",196, 196, 255 - help.glow, false);
}
}
@ -3500,55 +3500,55 @@ void editorrender( KeyPoll& key, Graphics& dwgfx, Game& game, mapclass& map, ent
switch(ed.drawmode)
{
case 0:
dwgfx.Print(2,2, "1: Walls",196, 196, 255 - help.glow);
dwgfx.bprint(2,2, "1: Walls",196, 196, 255 - help.glow);
break;
case 1:
dwgfx.Print(2,2, "2: Backing",196, 196, 255 - help.glow);
dwgfx.bprint(2,2, "2: Backing",196, 196, 255 - help.glow);
break;
case 2:
dwgfx.Print(2,2, "3: Spikes",196, 196, 255 - help.glow);
dwgfx.bprint(2,2, "3: Spikes",196, 196, 255 - help.glow);
break;
case 3:
dwgfx.Print(2,2, "4: Trinkets",196, 196, 255 - help.glow);
dwgfx.bprint(2,2, "4: Trinkets",196, 196, 255 - help.glow);
break;
case 4:
dwgfx.Print(2,2, "5: Checkpoint",196, 196, 255 - help.glow);
dwgfx.bprint(2,2, "5: Checkpoint",196, 196, 255 - help.glow);
break;
case 5:
dwgfx.Print(2,2, "6: Disappear",196, 196, 255 - help.glow);
dwgfx.bprint(2,2, "6: Disappear",196, 196, 255 - help.glow);
break;
case 6:
dwgfx.Print(2,2, "7: Conveyors",196, 196, 255 - help.glow);
dwgfx.bprint(2,2, "7: Conveyors",196, 196, 255 - help.glow);
break;
case 7:
dwgfx.Print(2,2, "8: Moving",196, 196, 255 - help.glow);
dwgfx.bprint(2,2, "8: Moving",196, 196, 255 - help.glow);
break;
case 8:
dwgfx.Print(2,2, "9: Enemies",196, 196, 255 - help.glow);
dwgfx.bprint(2,2, "9: Enemies",196, 196, 255 - help.glow);
break;
case 9:
dwgfx.Print(2,2, "0: Grav Line",196, 196, 255 - help.glow);
dwgfx.bprint(2,2, "0: Grav Line",196, 196, 255 - help.glow);
break;
case 10:
dwgfx.Print(2,2, "R: Roomtext",196, 196, 255 - help.glow);
dwgfx.bprint(2,2, "R: Roomtext",196, 196, 255 - help.glow);
break;
case 11:
dwgfx.Print(2,2, "T: Terminal",196, 196, 255 - help.glow);
dwgfx.bprint(2,2, "T: Terminal",196, 196, 255 - help.glow);
break;
case 12:
dwgfx.Print(2,2, "Y: Script Box",196, 196, 255 - help.glow);
dwgfx.bprint(2,2, "Y: Script Box",196, 196, 255 - help.glow);
break;
case 13:
dwgfx.Print(2,2, "U: Warp Token",196, 196, 255 - help.glow);
dwgfx.bprint(2,2, "U: Warp Token",196, 196, 255 - help.glow);
break;
case 14:
dwgfx.Print(2,2, "I: Warp Lines",196, 196, 255 - help.glow);
dwgfx.bprint(2,2, "I: Warp Lines",196, 196, 255 - help.glow);
break;
case 15:
dwgfx.Print(2,2, "O: Crewmate",196, 196, 255 - help.glow);
dwgfx.bprint(2,2, "O: Crewmate",196, 196, 255 - help.glow);
break;
case 16:
dwgfx.Print(2,2, "P: Start Point",196, 196, 255 - help.glow);
dwgfx.bprint(2,2, "P: Start Point",196, 196, 255 - help.glow);
break;
}
@ -3576,7 +3576,7 @@ void editorrender( KeyPoll& key, Graphics& dwgfx, Game& game, mapclass& map, ent
if (game.test)
{
dwgfx.Print(5, 5, game.teststring, 196, 196, 255 - help.glow, false);
dwgfx.bprint(5, 5, game.teststring, 196, 196, 255 - help.glow, false);
}
dwgfx.drawfade();