diff --git a/docs/index.html b/docs/index.html index a7ba45e..deeb550 100644 --- a/docs/index.html +++ b/docs/index.html @@ -59,57 +59,45 @@ along with this program. If not, see . opens with Chris attempting to escape a Weapco patrol that has intercepted him.

-

Installation

- -

Installation under Linux:

-
-tar zxf starfighter-1.2.tar.gz
-cd starfighter-1.2
-make
-make install
-
- -

When the game is first run it will attempt to create ~/.parallelrealities/starfighter/. - Should this fail the game will not run.

-

Controls

Menus

Intermission Screen

In Game

Joystick and Gamepad support

Note - Keys cannot be changed

@@ -125,11 +113,11 @@ make install the options shown:

* Will only be shown if there are saved games @@ -230,11 +218,11 @@ make install you pick up, as well as mission related information.

The Target Arrow

diff --git a/src/player.cpp b/src/player.cpp index 5818aa3..3f02854 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -429,14 +429,26 @@ void getPlayerInput() switch (engine.event.jbutton.button) { case 0: - engine.keyState[KEY_FIRE] = engine.event.jbutton.state; - break; - case 1: + case 3: engine.keyState[KEY_ALTFIRE] = engine.event.jbutton.state; break; + case 1: case 2: + engine.keyState[KEY_FIRE] = engine.event.jbutton.state; + break; + case 4: + case 6: + engine.keyState[KEY_ESCAPE] = engine.event.jbutton.state; + break; + case 5: + case 7: + case 8: engine.keyState[KEY_SWITCH] = engine.event.jbutton.state; break; + case 9: + if (engine.event.jbutton.state) + engine.keyState[KEY_PAUSE] = 1; + break; } break;