Differences From Artifact [045b845268918546]:
- File        
src/output.d
- 2012-07-15 06:15:47 - part of checkin [f6c126aeeb] on branch trunk - better flushed check. (user: kinaba) [annotate]
- 2012-07-15 12:14:10 - part of checkin [e02668367d] on branch trunk - Revert redesign in the trunk. (user: kinaba) [annotate]
 
To Artifact [95ed42a2d89e1fef]:
- File        
src/output.d
- 2012-07-15 14:07:16 - part of checkin [a487d35804] on branch trunk - test (user: kinaba) [annotate]
 
   33                  if(flushed)                                                           33                  if(flushed)
   34                          return;                                                       34                          return;
   35                                                                                        35  
   36                  log ~= c;                                                             36                  log ~= c;
   37                  score_log ~= g.score;                                                 37                  score_log ~= g.score;
   38                  if(finished || log.length+1==g.map.W*g.map.H)                         38                  if(finished || log.length+1==g.map.W*g.map.H)
   39                          flush();                                                      39                          flush();
                                                                                        >    40                  if(log.length+1==g.map.W*g.map.H)
                                                                                        >    41                          application_exit();
   40          }                                                                             42          }
   41                                                                                        43  
   42  private:                                                                              44  private:
   43          string log;                                                                   45          string log;
   44          long[] score_log;                                                             46          long[] score_log;
   45          bool   flushed;                                                               47          bool   flushed;
   46                                                                                        48