@@ -67,9 +67,11 @@ this.colors['d'] = Color(255,0,0); this.colors['\\'] = this.colors['L'] = this.colors['O'] = Color(127,255,127); - this.colors['W'] = Color(204,229,255); + this.colors['w'] = Color(204,229,255); + this.colors['W'] = + this.colors['!'] = Color(159,159,159); foreach(char c; 'A'..'J') this.colors[c] = Color(142,142,255); foreach(char c; '1'..':') this.colors[c] = Color(255,142,255); this.render['#'] = "■"; this.render['*'] = "✹"; @@ -78,11 +80,13 @@ this.render['R'] = "☃"; this.render['d'] = "☠"; this.render['L'] = "☒"; this.render['O'] = "☐"; + this.render['W'] = "ꔣ"; + this.render['!'] = "✄"; foreach(c,tp; g.map.tr_target) { char d = g.map[tp]; - this.render[c] = [cast(dchar)('☢'+d-'1')].to!string();/*㋀㏠*/ + this.render[c] = [cast(dchar)('☢'+d-'1')].to!string(); } foreach(char c; '1'..':') this.render[c] = [cast(dchar)('☢'+c-'1')].to!string(); this.paint ~= (Control c, PaintEventArgs ev) { graphicContext.copyTo(ev.graphics, Rect(0,0,this.clientSize.width,this.clientSize.height)); @@ -98,9 +102,9 @@ graphicContext.fillRectangle(this.backColor, Rect(0,0,scrW,scrH)); // Fill water. int w = g.water_level(); - graphicContext.fillRectangle(this.colors['W'], Rect(0, scrH-cell*w-1, scrW, cell*w+1)); + graphicContext.fillRectangle(this.colors['w'], Rect(0, scrH-cell*w-1, scrW, cell*w+1)); // Paint map. for(int y=1; y<=g.map.H; ++y) for(int x=1; x<=g.map.W; ++x) { @@ -113,9 +117,14 @@ } } // Update textual info. - this.text = .text("Score: ", g.score, " Air: ", g.hp, " Tide: ", g.water_until_rise); + this.text = .text( + "Score: ", g.score, + " Air: ", g.hp, + " Tide: ", g.water_until_rise, + " Wadler: ", g.hige_until_rise, + " Razor: ", g.map.razor); invalidate(); } private: