# HG changeset patch
# User unc0rr
# Date 1218093678 0
# Node ID d03d12ef8971b1e2ef4b151110a9e02b210ba41e
# Parent c2e02c52dcad83bac2751caed122370301dd1ac4
- Fix grenade sound
- Higher screen size restrictions
diff -r c2e02c52dcad -r d03d12ef8971 QTfrontend/ui_hwform.cpp
--- a/QTfrontend/ui_hwform.cpp Wed Aug 06 12:48:45 2008 +0000
+++ b/QTfrontend/ui_hwform.cpp Thu Aug 07 07:21:18 2008 +0000
@@ -31,7 +31,7 @@
HWForm->setObjectName(QString::fromUtf8("HWForm"));
HWForm->resize(QSize(640, 480).expandedTo(HWForm->minimumSizeHint()));
- HWForm->setMinimumSize(QSize(620, 430));
+ HWForm->setMinimumSize(QSize(720, 430));
HWForm->setWindowTitle(QMainWindow::tr("Hedgewars"));
centralWidget = new QWidget(HWForm);
centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
diff -r c2e02c52dcad -r d03d12ef8971 hedgewars.kdevelop
--- a/hedgewars.kdevelop Wed Aug 06 12:48:45 2008 +0000
+++ b/hedgewars.kdevelop Thu Aug 07 07:21:18 2008 +0000
@@ -19,20 +19,20 @@
hedgewars
.
false
-
+
kdevsubversion
-
+
executable
/
bin/hedgewars
-
+
false
true
-
+
/usr/home/unC0Rr/Sources/Hedgewars/Hedgewars-FF/trunk
false
false
@@ -55,16 +55,16 @@
make
-
+
true
4
0
false
-
-
-
+
+
+
default
@@ -72,9 +72,9 @@
0
-
-
-
+
+
+
default
@@ -83,12 +83,12 @@
-
+
-
-
-
-
+
+
+
+
true
false
false
@@ -194,7 +194,7 @@
false
-
+
set
m_,_
theValue
diff -r c2e02c52dcad -r d03d12ef8971 hedgewars/GSHandlers.inc
--- a/hedgewars/GSHandlers.inc Wed Aug 06 12:48:45 2008 +0000
+++ b/hedgewars/GSHandlers.inc Thu Aug 07 07:21:18 2008 +0000
@@ -145,7 +145,10 @@
exit
end;
CalcRotationDirAngle(Gear);
-if (Gear^.State and (gstCollision or gstMoving)) = (gstCollision or gstMoving) then PlaySound(sndGrenadeImpact, false)
+if (Gear^.State and (gstCollision or gstMoving)) = (gstCollision or gstMoving) then
+ if (hwAbs(Gear^.dX) > _0_1) or
+ (hwAbs(Gear^.dY) > _0_1) then
+ PlaySound(sndGrenadeImpact, false)
end;
procedure doStepCluster(Gear: PGear);