Bug#522861: gravitywars: start-on-level passwords are reverse-case-sensitive

Steve Cotton steve0001 at s.cotton.clara.co.uk
Tue Apr 7 01:04:58 UTC 2009


Package: gravitywars
Version: 1.102-31
Severity: normal
Tags: patch

The man page lists a command-line option:

  level-code
     You’ll receive this code after you complete a level, and can use it to
     warp directly to that level when the game starts.

Complete the first level, and at the start of the second level there's a
password in the status bar at the top of the screen.  Put it on the command
line and it's supported to start on the second level

BUG: it's a bad variation of case-sensitive.  In the game, it's displayed in
upper-case, but it will only be accepted on the command-line in lower-case.


While I think it would be better to replace this entirely with in-game
options (such as saving the players progress, and in-game choice of starting
level from those already reached), the attached patch will at least make
upper-case work.

(Patch applies on top of the joystick patch; I'm about to suggest that that
code should be cleaned up.)

Steve


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29.1 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gravitywars depends on:
ii  libc6                        2.9-6       GNU C Library: Shared libraries
ii  libsdl1.2debian              1.2.13-4+b1 Simple DirectMedia Layer

gravitywars recommends no packages.

gravitywars suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gravitywars__case_insensitive_passwords.patch
Type: text/x-diff
Size: 625 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20090407/8601cd2b/attachment.patch>


More information about the Pkg-games-devel mailing list