Author: bdefreese Date: 2009-04-07 03:51:31 +0000 (Tue, 07 Apr 2009) New Revision: 9451
Added: packages/trunk/kball/debian/patches/09_keypad_enter.patch Modified: packages/trunk/kball/debian/changelog packages/trunk/kball/debian/control packages/trunk/kball/debian/patches/series Log: * Add myself to uploaders. * 09_keypad_enter.patch - Allow keypad enter to select. (Closes: #501844). Set to unstable to get ready to upload. Modified: packages/trunk/kball/debian/changelog =================================================================== --- packages/trunk/kball/debian/changelog 2009-04-07 00:58:53 UTC (rev 9450) +++ packages/trunk/kball/debian/changelog 2009-04-07 03:51:31 UTC (rev 9451) @@ -1,7 +1,9 @@ -kball (0.0.20041216-6) UNRELEASED; urgency=low +kball (0.0.20041216-6) unstable; urgency=low [ Barry deFreese ] + * Add myself to uploaders. * 08_dont_strip.patch - Remove -s from LDFLAGS. (Closes: #437246). + * 09_keypad_enter.patch - Allow keypad enter to select. (Closes: #501844). * Improve clean target. (Wasn't removing .o files). * Bump Standards Version to 3.8.1. (No changes needed). Modified: packages/trunk/kball/debian/control =================================================================== --- packages/trunk/kball/debian/control 2009-04-07 00:58:53 UTC (rev 9450) +++ packages/trunk/kball/debian/control 2009-04-07 03:51:31 UTC (rev 9451) @@ -2,7 +2,7 @@ Section: games Priority: optional Maintainer: Debian Games Team <[email protected]> -Uploaders: Miriam Ruiz <[email protected]> +Uploaders: Miriam Ruiz <[email protected]>, Barry deFreese <[email protected]> Build-Depends: debhelper (>= 5.0.0), quilt, libxxf86dga-dev, libxxf86vm-dev, liballegro4.2-dev | liballegro-dev, libdumb1-dev, libaldmb1-dev, sharutils, libxcursor-dev Standards-Version: 3.8.1 Homepage: http://kball.sourceforge.net/ Added: packages/trunk/kball/debian/patches/09_keypad_enter.patch =================================================================== --- packages/trunk/kball/debian/patches/09_keypad_enter.patch (rev 0) +++ packages/trunk/kball/debian/patches/09_keypad_enter.patch 2009-04-07 03:51:31 UTC (rev 9451) @@ -0,0 +1,22 @@ +Index: kball-0.0.20041216/src/qmenu.cpp +=================================================================== +--- kball-0.0.20041216.orig/src/qmenu.cpp 2009-04-06 23:21:11.000000000 -0400 ++++ kball-0.0.20041216/src/qmenu.cpp 2009-04-06 23:23:16.000000000 -0400 +@@ -185,7 +185,7 @@ + // if the last hit was very close (1/6 of second), ignore input + if (abs((int)big_timer_counter - last_hit) < BPS_OF_MENU_MANAGER/10) + { +- key[KEY_UP] = key[KEY_DOWN] = key[KEY_ENTER] = key[KEY_SPACE]=0; ++ key[KEY_UP] = key[KEY_DOWN] = key[KEY_ENTER] = key[KEY_ENTER_PAD] = key[KEY_SPACE]=0; + clear_keybuf(); + cret = 0; + } +@@ -212,7 +212,7 @@ + if (mis < 0) mis = menu_item_text.size()-1; + if ((unsigned)mis > menu_item_text.size()-1) mis = 0; + +- if ((cret & KC_BTN1) || (cret & KC_BTN2) || (cret & KC_BTN3) || key[KEY_ENTER] || key[KEY_SPACE]) d_done = true; // done, item selected wow! ++ if ((cret & KC_BTN1) || (cret & KC_BTN2) || (cret & KC_BTN3) || key[KEY_ENTER] || key[KEY_ENTER_PAD] || key[KEY_SPACE]) d_done = true; // done, item selected wow! + + if (callback != NULL) callback(*this, true); // call the callback if needed, to update logic + speed_counter--; Modified: packages/trunk/kball/debian/patches/series =================================================================== --- packages/trunk/kball/debian/patches/series 2009-04-07 00:58:53 UTC (rev 9450) +++ packages/trunk/kball/debian/patches/series 2009-04-07 03:51:31 UTC (rev 9451) @@ -6,4 +6,4 @@ 06_homedir_game.patch -p1 07_homedir_editor.patch -p1 08_dont_strip.patch -p1 - +09_keypad_enter.patch -p1 _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

