Check-in [68b686ff6d]
Not logged in
Overview
SHA1 Hash:68b686ff6d3760b7f9d399d1a4695f56b2409beb
Date: 2012-07-15 22:58:47
User: kinaba
Comment:memo
Timelines: family | ancestors | descendants | both | trunk
Diffs: redesign
Downloads: Tarball | ZIP archive
Other Links: files | file ages | manifest
Tags And Properties
Changes

Modified score_memo.txt from [845f96be529f982d] to [0e695941ab7be6d2].

1 contest1 212! 1 contest1 212! 2 contest2 280? 2 contest2 280? 3 contest3 275! 3 contest3 275! 4 contest4 561? 4 contest4 561? 5 contest5 1281? 5 contest5 1281? 6 contest6 737 | 6 contest6 737 // 一度通り過ぎるとふさがってしまう曲がり道 7 contest7 867? 7 contest7 867? 8 contest8 1245 | 8 contest8 1245 // 無理ゲー 9 contest9 3042? 9 contest9 3042? 10 contest10 2076 | 10 contest10 2076 // "λの上に岩" トラップが複数 11 flood1 569 | 11 flood1 569 // 崩すの怖がりすぎ & 一直線に並んでるのに真ん中から取るのはどうなの 12 flood2 280? 12 flood2 280? 13 flood3 802 | 13 flood3 802 // 溺死 14 flood4 970 | 14 flood4 970 // むずかしい岩崩し 15 flood5 561? 15 flood5 561? 16 trampoline1 291 | 16 trampoline1 291 // むずかしい岩崩し 17 trampoline2 1728? 17 trampoline2 1728? 18 trampoline3 698 | 18 trampoline3 698 // "上に岩" ワープゾーン版 19 beard1 856? 19 beard1 856? 20 beard2 2792 | 20 beard2 2792 // 崩すの怖がりすぎて間に合わなくなって溺死 21 beard3 811 | 21 beard3 811 // 無理ゲー:速攻で髭刈らないといけない 22 beard4 677 | 22 beard4 677 // 岩が落ちてきてデッドエンド 23 beard5 665 | 23 beard5 665 // これクリアできるの 24 horock1 333 24 horock1 333 25 horock2 235 25 horock2 235 26 horock3 1542 26 horock3 1542

Modified src/Makefile from [00843a9ae2199a17] to [de085b8055253640].

1 # To build, the following packages are needed. 1 # To build, the following packages are needed. 2 # wget http://ftp.digitalmars.com/dmd_2.059-0_i386.deb | 2 # $ wget http://ftp.digitalmars.com/dmd_2.059-0_i386.deb 3 # sudo apt-get install gcc gcc-multilib | 3 # $ sudo apt-get install gcc gcc-multilib 4 # sudo pkg -i dmd_2.059-0_i386.deb | 4 # $ sudo pkg -i dmd_2.059-0_i386.deb > 5 # > 6 # Optional GUI is Windows only. Need to install DFL (http://github.com/Rayerd/df 5 7 6 all: < > 8 cui: 7 dmd -O -release -inline -oflifter main.d driver.d game.d output.d solver 9 dmd -O -release -inline -oflifter main.d driver.d game.d output.d solver 8 10 9 gui: 11 gui: 10 dmd -O -release -inline -ofgui_lifter gui_main.d driver.d game.d output. | 12 dmd -O -release -inline -ofgui gui_main.d gui.d driver.d game.d output.d > 13 > 14 clean: > 15 rm *.obj *.o *.exe *.deps

Modified src/gui.d from [a1f9b7cabb9073dd] to [a6dfca9cc307c324].

55 this.font = new Font("MS Gothic", cell-2, GraphicsUnit.PIXEL); 55 this.font = new Font("MS Gothic", cell-2, GraphicsUnit.PIXEL); 56 this.backColor = Color(255,255,255); 56 this.backColor = Color(255,255,255); 57 this.colors['#'] = 57 this.colors['#'] = 58 this.colors['.'] = Color(255,191,127); 58 this.colors['.'] = Color(255,191,127); 59 this.colors['*'] = 59 this.colors['*'] = 60 this.colors['@'] = Color(255,127,127); 60 this.colors['@'] = Color(255,127,127); 61 this.colors['R'] = Color(128,128,0); 61 this.colors['R'] = Color(128,128,0); > 62 this.colors['r'] = Color(100,128,255); 62 this.colors['d'] = Color(255,0,0); 63 this.colors['d'] = Color(255,0,0); 63 this.colors['\\'] = 64 this.colors['\\'] = 64 this.colors['L'] = 65 this.colors['L'] = 65 this.colors['O'] = Color(127,255,127); 66 this.colors['O'] = Color(127,255,127); 66 this.colors['w'] = Color(204,229,255); 67 this.colors['w'] = Color(204,229,255); 67 this.colors['W'] = 68 this.colors['W'] = 68 this.colors['!'] = Color(159,159,159); 69 this.colors['!'] = Color(159,159,159); ................................................................................................................................................................................ 70 foreach(char c; '1'..':') this.colors[c] = Color(255,142,255); 71 foreach(char c; '1'..':') this.colors[c] = Color(255,142,255); 71 this.render['#'] = "■"; 72 this.render['#'] = "■"; 72 this.render['*'] = "✹"; 73 this.render['*'] = "✹"; 73 this.render['@'] = "❁"; 74 this.render['@'] = "❁"; 74 this.render['.'] = "♒"; 75 this.render['.'] = "♒"; 75 this.render['\\'] = "λ"; 76 this.render['\\'] = "λ"; 76 this.render['R'] = "☃"; 77 this.render['R'] = "☃"; > 78 this.render['r'] = "☃"; 77 this.render['d'] = "☠"; 79 this.render['d'] = "☠"; 78 this.render['L'] = "☒"; 80 this.render['L'] = "☒"; 79 this.render['O'] = "☐"; 81 this.render['O'] = "☐"; 80 this.render['W'] = "ꔣ"; 82 this.render['W'] = "ꔣ"; 81 this.render['!'] = "✄"; 83 this.render['!'] = "✄"; 82 foreach(c,tp; g.map.tr_target) this.render[c] = [cast(dchar)('☢' 84 foreach(c,tp; g.map.tr_target) this.render[c] = [cast(dchar)('☢' 83 foreach(char c; '1'..':') this.render[c] = [cast(dchar)('☢' 85 foreach(char c; '1'..':') this.render[c] = [cast(dchar)('☢' ................................................................................................................................................................................ 100 102 101 // Paint map. 103 // Paint map. 102 for(int y=1; y<=g.map.H; ++y) 104 for(int y=1; y<=g.map.H; ++y) 103 for(int x=1; x<=g.map.W; ++x) { 105 for(int x=1; x<=g.map.W; ++x) { 104 Rect r = Rect(cell*(x-1), scrH-cell*y, cell, cell); 106 Rect r = Rect(cell*(x-1), scrH-cell*y, cell, cell); 105 char c = g.map[y,x]; 107 char c = g.map[y,x]; 106 if( c != ' ' ) { 108 if( c != ' ' ) { 107 if( c == 'R' && g.dead ) | 109 if( c == 'R' ) 108 c = 'd'; | 110 c = (g.dead ? 'd' : g.cleared ? 'r' : 'R 109 graphicContext.drawText(this.render[c], font, th 111 graphicContext.drawText(this.render[c], font, th 110 } 112 } 111 } 113 } 112 114 113 // Update textual info. 115 // Update textual info. 114 this.text = .text( 116 this.text = .text( 115 "Score: ", g.score, 117 "Score: ", g.score,