@@ -58,8 +58,9 @@ this.colors['.'] = Color(255,191,127); this.colors['*'] = this.colors['@'] = Color(255,127,127); this.colors['R'] = Color(128,128,0); + this.colors['r'] = Color(100,128,255); this.colors['d'] = Color(255,0,0); this.colors['\\'] = this.colors['L'] = this.colors['O'] = Color(127,255,127); @@ -73,8 +74,9 @@ this.render['@'] = "❁"; this.render['.'] = "♒"; this.render['\\'] = "λ"; this.render['R'] = "☃"; + this.render['r'] = "☃"; this.render['d'] = "☠"; this.render['L'] = "☒"; this.render['O'] = "☐"; this.render['W'] = "ꔣ"; @@ -103,10 +105,10 @@ for(int x=1; x<=g.map.W; ++x) { Rect r = Rect(cell*(x-1), scrH-cell*y, cell, cell); char c = g.map[y,x]; if( c != ' ' ) { - if( c == 'R' && g.dead ) - c = 'd'; + if( c == 'R' ) + c = (g.dead ? 'd' : g.cleared ? 'r' : 'R'); graphicContext.drawText(this.render[c], font, this.colors[c], r); } }