Differences From Artifact [e2d0d7db868c3a44]:
- File
src/output.d
- 2012-07-15 11:26:58 - part of checkin [bd650eb3f9] on branch trunk - Output is now fully functional. (user: kinaba) [annotate]
To 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]
31 31 override void on_game_changed(char c, in Game g, bool finished)
32 32 {
33 33 if(flushed)
34 34 return;
35 35
36 36 log ~= c;
37 37 score_log ~= g.score;
38 - if(finished || log.length+1==g.W*g.H)
38 + if(finished || log.length+1==g.map.W*g.map.H)
39 39 flush();
40 40 }
41 41
42 42 private:
43 43 string log;
44 44 long[] score_log;
45 45 bool flushed;