Lines 1-20
Link Here
|
1 |
--- src/kbilliards.cpp.orig Wed Jan 19 10:43:51 2005 |
1 |
--- src/kbilliards.cpp.orig Thu Feb 17 23:58:08 2005 |
2 |
+++ src/kbilliards.cpp Thu Jan 20 19:40:29 2005 |
2 |
+++ src/kbilliards.cpp Fri Feb 18 13:20:19 2005 |
3 |
@@ -84,7 +84,7 @@ |
3 |
@@ -105,7 +105,7 @@ |
4 |
// and load musicconfiguration |
4 |
// load game optios like players name , multiplayer, game type .. |
5 |
loadSettings(); |
5 |
loadGameOptions(); |
6 |
|
6 |
|
7 |
- MaxThrowPower=round((actualconfig.check_speed)*0.36) ; |
7 |
- MaxThrowPower=round((actualconfig.check_speed)*0.36) ; |
8 |
+ MaxThrowPower=rint((actualconfig.check_speed)*0.36) ; |
8 |
+ MaxThrowPower=rint((actualconfig.check_speed)*0.36) ; |
9 |
|
9 |
|
10 |
KStandardDirs sd; |
10 |
KStandardDirs sd; |
11 |
path_data=(QString)(sd.findResourceDir("data","kbilliards/top_left_corner.png") + (QString)"kbilliards/"); |
11 |
path_data=(QString)(sd.findResourceDir("data","kbilliards/top_left_corner.png") + (QString)"kbilliards/"); |
12 |
@@ -806,7 +806,7 @@ |
12 |
@@ -901,7 +901,7 @@ |
13 |
|
|
|
14 |
canvas->setAdvancePeriod(actualconfig.check_speed); // set current animation speed |
15 |
|
13 |
|
16 |
- MaxThrowPower=round((actualconfig.check_speed)*0.36) ; // set proportional max power |
14 |
canvas->setAdvancePeriod(actualconfig.check_speed); // set current animation speed |
17 |
+ MaxThrowPower=rint((actualconfig.check_speed)*0.36) ; // set proportional max power |
|
|
18 |
|
15 |
|
|
|
16 |
- MaxThrowPower=round((actualconfig.check_speed)*0.36) ; // set proportional max power |
17 |
+ MaxThrowPower=rint((actualconfig.check_speed)*0.36) ; // set proportional max power |
19 |
} |
18 |
} |
20 |
|
19 |
|
|
|
20 |
if (isvisible) { |