Package: freedroid
Version: 1.0.2+cvs040112-1.1
Severity: normal
Tags: patch
Freedroid isn't playable only with the joystick, two outstanding issues:
* Unable to exit droid information in computer.
* Unable to takeover robots (can't set the probes).
The issue was pretty easy to resolve, just needs two minor changes:
diff -uN freedroid-1.0.2+cvs040112/src/ship.c
freedroid-1.0.2+cvs040112-bobbens/src/ship.c
--- freedroid-1.0.2+cvs040112/src/ship.c 2003-12-13 16:15:04.000000000 +0100
+++ freedroid-1.0.2+cvs040112-bobbens/src/ship.c 2008-05-24
13:53:12.000000000 +0200
@@ -598,7 +598,7 @@
key = TRUE;
}
}
- if (SpacePressedR() || EscapePressedR() || MouseRightPressedR())
+ if (FirePressedR() || SpacePressedR() || EscapePressedR() ||
MouseRightPressedR())
finished = TRUE;
if ( (UpPressedR()||WheelUpPressed()) && (droidtype < Me.type) )
diff -uN freedroid-1.0.2+cvs040112/src/takeover.c
freedroid-1.0.2+cvs040112-bobbens/src/takeover.c
--- freedroid-1.0.2+cvs040112/src/takeover.c 2003-11-06 22:21:03.000000000 +0100
+++ freedroid-1.0.2+cvs040112-bobbens/src/takeover.c 2008-05-14
23:12:42.000000000 +0200
@@ -406,7 +406,7 @@
last_movekey_time = SDL_GetTicks();
}
- set = set || (SpacePressed() || MouseLeftPressed());
+ set = set || (FirePressed() || SpacePressed() || MouseLeftPressed());
if (WheelUpPressed()) wheel_up ++;
if (WheelDownPressed()) wheel_down ++;
EOF
Will make the fire button set probes and escape from the droid information
window. In neither window is the fire button used. Since package is no longer
maintained upstream, I can't send the patch upstream, so hopefully you guys can
make it "mainline".
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24.3-ghanima-3 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages freedroid depends on:
ii freedroid-data 1.0.2+cvs040112-1.1 Data files for freedroid - a strat
ii libc6 2.7-11 GNU C Library: Shared libraries
ii libjpeg62 6b-14 The Independent JPEG Group's JPEG
ii libpng12-0 1.2.27-1 PNG library - runtime
ii libsdl-image1.2 1.2.6-3 image loading library for Simple D
ii libsdl-mixer1.2 1.2.8-4 mixer library for Simple DirectMed
ii libsdl1.2debian 1.2.13-2 Simple DirectMedia Layer
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime
freedroid recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]