22 lines
1.4 KiB
Plaintext
22 lines
1.4 KiB
Plaintext
$OpenBSD: patch-gtkpool_ball_cpp,v 1.2 2002/10/25 11:59:06 naddy Exp $
|
|
--- gtkpool/ball.cpp.orig Thu Oct 24 11:56:21 2002
|
|
+++ gtkpool/ball.cpp Thu Oct 24 12:01:15 2002
|
|
@@ -53,7 +53,7 @@ Ball::Ball(void){
|
|
radius = diam = 0;
|
|
}
|
|
|
|
-Ball::Ball (double x, double y, int d, GdkColor *c, int cat = other, bool isq = false, bool ise = false, bool isn = false, bool isso = false, bool isst = false) : Point2D(x, y), vel(0, 0), bnc(0, 0), tvec(0, 0) {
|
|
+Ball::Ball (double x, double y, int d, GdkColor *c, int cat = other, bool isq, bool ise, bool isn, bool isso, bool isst) : Point2D(x, y), vel(0, 0), bnc(0, 0), tvec(0, 0) {
|
|
radius = (diam = d) / 2;
|
|
clr = c;
|
|
is_cue = isq; is_eight = ise; is_nine = isn;
|
|
@@ -63,7 +63,7 @@ Ball::Ball (double x, double y, int d, G
|
|
ball_num = 15;
|
|
}
|
|
|
|
-Ball::Ball (double x, double y, int d, int bn, GdkPixmap *pixmap, GdkBitmap *c_bmp, GdkPixmap *b_pixmap, GdkBitmap *b_clip_bmp, int cat = other, bool isq = false, bool ise = false, bool isn = false, bool isso = false, bool isst = false) : Point2D(x, y), vel(0, 0), bnc(0, 0), tvec(0, 0) {
|
|
+Ball::Ball (double x, double y, int d, int bn, GdkPixmap *pixmap, GdkBitmap *c_bmp, GdkPixmap *b_pixmap, GdkBitmap *b_clip_bmp, int cat = other, bool isq, bool ise, bool isn, bool isso, bool isst) : Point2D(x, y), vel(0, 0), bnc(0, 0), tvec(0, 0) {
|
|
radius = (diam = d) / 2;
|
|
clr = (GdkColor *)NULL;
|
|
is_cue = isq; is_eight = ise; is_nine = isn;
|