r14078 - in packages/trunk/torus-trooper/debian: . patches

Peter De Wachter pdewacht-guest at alioth.debian.org
Sun May 19 13:46:48 UTC 2013


Author: pdewacht-guest
Date: 2013-05-19 13:46:47 +0000 (Sun, 19 May 2013)
New Revision: 14078

Added:
   packages/trunk/torus-trooper/debian/patches/lowest-level-position-602808.patch
Modified:
   packages/trunk/torus-trooper/debian/changelog
   packages/trunk/torus-trooper/debian/patches/series
Log:
torus-trooper: add title screen layout patch from #602808


Modified: packages/trunk/torus-trooper/debian/changelog
===================================================================
--- packages/trunk/torus-trooper/debian/changelog	2013-05-19 13:20:38 UTC (rev 14077)
+++ packages/trunk/torus-trooper/debian/changelog	2013-05-19 13:46:47 UTC (rev 14078)
@@ -1,7 +1,9 @@
 torus-trooper (0.22.dfsg1-9) UNRELEASED; urgency=low
 
-  * Ported to D language version 2
+  * Ported to D language version 2 (closes: #707272)
     - Dropped the torus-trooper-pure variant
+  * Keep level display visible in title screen (closes: #602808)
+    - Thanks to Thomas Preud'homme
   * Switch dh-style minimal rules file
   * Conforms to standards 3.9.4
 

Added: packages/trunk/torus-trooper/debian/patches/lowest-level-position-602808.patch
===================================================================
--- packages/trunk/torus-trooper/debian/patches/lowest-level-position-602808.patch	                        (rev 0)
+++ packages/trunk/torus-trooper/debian/patches/lowest-level-position-602808.patch	2013-05-19 13:46:47 UTC (rev 14078)
@@ -0,0 +1,23 @@
+Description: Keep level display visible in title screen
+ In title screen, the position of the text showing the level depends on the
+ value of the level itself. The higher is the level, the lower is the text.
+ When the level is too big, the text starts overlapping with the game name and
+ then disappear at the bottom of the screen. This patch gives a maximum
+ position to the level display position.
+Author: Thomas Preud'homme <robotux at celest.fr>
+Origin: other
+Bug-Debian: http://bugs.debian.org/602808
+Forwarded: no
+Last-Update: 2012-06-17
+
+--- a/src/abagames/tt/title.d
++++ b/src/abagames/tt/title.d
+@@ -278,6 +278,8 @@
+   private void calcCursorPos(ref float x, ref float y, int gd, int lv) {
+     x = 460 + gd * 70;
+     y = 90;
++    if (lv > 180)
++      lv = 180;
+     if (lv > 1) {
+       y += 30 + lv;
+       x -= lv * 0.33f;

Modified: packages/trunk/torus-trooper/debian/patches/series
===================================================================
--- packages/trunk/torus-trooper/debian/patches/series	2013-05-19 13:20:38 UTC (rev 14077)
+++ packages/trunk/torus-trooper/debian/patches/series	2013-05-19 13:46:47 UTC (rev 14078)
@@ -8,3 +8,4 @@
 level-select-444948.patch
 avoid-segfault-when-sdl-fails.patch
 dlang_v2.patch
+lowest-level-position-602808.patch




More information about the Pkg-games-commits mailing list