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í <[EMAIL PROTECTED]>
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í <[EMAIL PROTECTED]>
+ * 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í <[EMAIL PROTECTED]>
-- Miriam Ruiz <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
+# 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� <[EMAIL PROTECTED]>
+# Copyright (C) 2008 David Martinez Marti <[EMAIL PROTECTED]>
# 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
_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits