r7845 - in packages/trunk/fretsonfire/debian: . patches
Miriam Ruiz
miriam at alioth.debian.org
Tue Jul 22 21:29:26 UTC 2008
Author: miriam
Date: 2008-07-22 21:29:26 +0000 (Tue, 22 Jul 2008)
New Revision: 7845
Added:
packages/trunk/fretsonfire/debian/patches/fix_window_height_bug.patch
Modified:
packages/trunk/fretsonfire/debian/changelog
packages/trunk/fretsonfire/debian/patches/fonts_lower_cpu.patch
packages/trunk/fretsonfire/debian/patches/series
Log:
Added patch: fix_window_height_bug.patch to fix a bug calculating
window size when the orthogonal projection window is set.
Thanks to David MartÃnez Martà <deavidsedice at gmail.com>
Modified: packages/trunk/fretsonfire/debian/changelog
===================================================================
--- packages/trunk/fretsonfire/debian/changelog 2008-07-22 21:15:31 UTC (rev 7844)
+++ packages/trunk/fretsonfire/debian/changelog 2008-07-22 21:29:26 UTC (rev 7845)
@@ -2,6 +2,9 @@
* Added patch: fonts_lower_cpu.patch to reduce CPU consumption
Thanks to David MartÃnez Martà <deavidsedice at gmail.com>
+ * Added patch: fix_window_height_bug.patch to fix a bug calculating
+ window size when the orthogonal projection window is set.
+ Thanks to David MartÃnez Martà <deavidsedice at gmail.com>
-- Miriam Ruiz <little_miry at yahoo.es> Tue, 22 Jul 2008 12:38:20 +0200
Added: packages/trunk/fretsonfire/debian/patches/fix_window_height_bug.patch
===================================================================
--- packages/trunk/fretsonfire/debian/patches/fix_window_height_bug.patch (rev 0)
+++ packages/trunk/fretsonfire/debian/patches/fix_window_height_bug.patch 2008-07-22 21:29:26 UTC (rev 7845)
@@ -0,0 +1,16 @@
+# Copyright (C) 2008 David Martinez Marti <deavidsedice at gmail.com>
+# Licensed under the GPL, see /usr/share/common-licenses/GPL
+
+Index: fretsonfire-1.2.512.dfsg/src/View.py
+===================================================================
+--- fretsonfire-1.2.512.dfsg.orig/src/View.py 2008-07-22 23:25:38.000000000 +0200
++++ fretsonfire-1.2.512.dfsg/src/View.py 2008-07-22 23:26:19.000000000 +0200
+@@ -139,7 +139,7 @@
+ w = int ( viewport[2] - viewport[0] )
+ h = int ( viewport[3] - viewport[1] )
+ # aspect ratio correction
+- h *= int((float(w) / float(h)) / (4.0 / 3.0))
++ h *= float((float(w) / float(h)) / (4.0 / 3.0))
+ viewport = [0, 0, 1, h / w]
+
+ if yIsDown:
Modified: packages/trunk/fretsonfire/debian/patches/fonts_lower_cpu.patch
===================================================================
--- packages/trunk/fretsonfire/debian/patches/fonts_lower_cpu.patch 2008-07-22 21:15:31 UTC (rev 7844)
+++ packages/trunk/fretsonfire/debian/patches/fonts_lower_cpu.patch 2008-07-22 21:29:26 UTC (rev 7845)
@@ -1,4 +1,4 @@
-# Copyright (C) 2008 David Martínez Martí <deavidsedice at gmail.com>
+# Copyright (C) 2008 David Martinez Marti <deavidsedice at gmail.com>
# Licensed under the GPL, see /usr/share/common-licenses/GPL
Index: fretsonfire-1.2.512.dfsg/src/Font.py
Modified: packages/trunk/fretsonfire/debian/patches/series
===================================================================
--- packages/trunk/fretsonfire/debian/patches/series 2008-07-22 21:15:31 UTC (rev 7844)
+++ packages/trunk/fretsonfire/debian/patches/series 2008-07-22 21:29:26 UTC (rev 7845)
@@ -4,3 +4,4 @@
typeerror.patch
font-revert.patch
fonts_lower_cpu.patch
+fix_window_height_bug.patch
More information about the Pkg-games-commits
mailing list