diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-10-21 14:21:44 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-10-21 14:21:44 +0000 |
| commit | 7657a2e4a536a9ee50a9277c2662dc49362ae341 (patch) | |
| tree | 4374705cd67b2c5195cc2aa5986fc1591680852b /test/checkers.cxx | |
| parent | d3dee719fbaaa0b64d15ad7397e549d2e4ee7d6f (diff) | |
Fixed all the frigging file headings - was missing a $ in the Id string.
Applied some damage bit fixes from Bill Spitzak.
git-svn-id: file:///fltk/svn/fltk/trunk@28 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/checkers.cxx')
| -rw-r--r-- | test/checkers.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/checkers.cxx b/test/checkers.cxx index 6c676a67c..a35e3eb1f 100644 --- a/test/checkers.cxx +++ b/test/checkers.cxx @@ -1,5 +1,5 @@ // -// "$Id" +// "$Id: checkers.cxx,v 1.5 1998/10/21 14:21:18 mike Exp $" // // Checkers game for the Fast Light Tool Kit (FLTK). // @@ -1014,8 +1014,8 @@ void Board::drag_piece(int i, int dx, int dy) { dragging = b[i]; } if (dx != dragx || dy != dragy) { - damage(FL_DAMAGE_OVERLAY, dragx, dragy, ISIZE, ISIZE); - damage(FL_DAMAGE_OVERLAY, dx, dy, ISIZE, ISIZE); + damage(FL_DAMAGE_ALL, dragx, dragy, ISIZE, ISIZE); + damage(FL_DAMAGE_ALL, dx, dy, ISIZE, ISIZE); } dragx = dx; dragy = dy; @@ -1029,8 +1029,8 @@ void Board::drop_piece(int i) { int x = squarex(i); int y = squarey(i); if (x != dragx || y != dragy) { - damage(FL_DAMAGE_OVERLAY, dragx, dragy, ISIZE, ISIZE); - damage(FL_DAMAGE_OVERLAY, x, y, ISIZE, ISIZE); + damage(4, dragx, dragy, ISIZE, ISIZE); + damage(4, x, y, ISIZE, ISIZE); } } @@ -1366,5 +1366,5 @@ int main(int argc, char **argv) { } // -// End of "$Id: checkers.cxx,v 1.4 1998/10/20 13:24:55 mike Exp $". +// End of "$Id: checkers.cxx,v 1.5 1998/10/21 14:21:18 mike Exp $". // |
