Differences From Artifact [5bf75f7f55fc5b47]:
- File        
test.d
- 2012-07-14 01:58:20 - part of checkin [6819168095b] on branch trunk - Correct parsing of Flooding. (user: kinaba) [annotate]
 
To Artifact [5ea3ddf4a0f6a860]:
- File        
test.d
- 2012-07-14 02:04:49 - part of checkin [7693c375f5] on branch trunk - Air indicator. (user: kinaba) [annotate]
 
  179          Map m;                                                                       179          Map m;
  180          int score;                                                                   180          int score;
  181                                                                                       181  
  182          this(Map m)                                                                  182          this(Map m)
  183          {                                                                            183          {
  184                  noMessageFilter();                                                   184                  noMessageFilter();
  185                  this.m = m;                                                          185                  this.m = m;
  186                  this.text = "Dark Integers";                                     |   186                  this.text = .text("Score: ", score, "  air[",m.water_proof-m.und
  187                  this.keyDown ~= &myKey;                                              187                  this.keyDown ~= &myKey;
  188                  this.score = 0;                                                      188                  this.score = 0;
  189          }                                                                            189          }
  190          override void onResize(EventArgs ev) {                                       190          override void onResize(EventArgs ev) {
  191                  invalidate();                                                        191                  invalidate();
  192          }                                                                            192          }
  193          override void onPaint(PaintEventArgs ev)                                     193          override void onPaint(PaintEventArgs ev)
................................................................................................................................................................................
  262                          break;                                                       262                          break;
  263                  }                                                                    263                  }
  264                  if(m.cleared) {                                                      264                  if(m.cleared) {
  265                          writeln();                                                   265                          writeln();
  266                          writeln("Score: ", score);                                   266                          writeln("Score: ", score);
  267                          Application.exit();                                          267                          Application.exit();
  268                  }                                                                    268                  }
  269                  this.text = .text("Score: ", score);                             |   269                  this.text = .text("Score: ", score, "  air[",m.water_proof-m.und
  270                  invalidate();                                                        270                  invalidate();
  271          }                                                                            271          }
  272  }                                                                                    272  }
  273                                                                                       273  
  274  void main(string[] args)                                                             274  void main(string[] args)
  275  {                                                                                    275  {
  276          Form myForm = new MyForm(new Map(File(args[1])));                            276          Form myForm = new MyForm(new Map(File(args[1])));
  277          Application.run(myForm);                                                     277          Application.run(myForm);
  278  }                                                                                    278  }