Le dimanche 17 juin 2012 23:37:58, Thomas Preud'homme a écrit : > Greetings, >
[SNIP] > > I thus decided to make a patch for this which I attach to this email. The > patch is very simple, it restrict the display to the visible area by > pretending the level is never higher than 180. By this I mean a level > greater than 180 is displayed as if it's 180, without changing the actual > level. As a side effect, when such a situation happen, the cursor will > then remain static when trying to select a level between 180 and the > current level. I'm sorry, I made a mistake in the previous email. I attached the wrong patch. Here is the good one. Best regards, Thomas Preud'homme
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 <[email protected]> Origin: other Bug-Debian: http://bugs.debian.org/602808 Forwarded: no Last-Update: 2012-06-17 --- torus-trooper-0.22.dfsg1.orig/src/abagames/tt/title.d +++ torus-trooper-0.22.dfsg1/src/abagames/tt/title.d @@ -278,6 +278,8 @@ public class TitleManager { private void calcCursorPos(inout float x, inout 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;
signature.asc
Description: This is a digitally signed message part.

