No description
Find a file
Bill Currie b2e92c2864 Rewrite joy_axis and JOY_Move for axis buttons.
First, this completely smashes joystick input: it will not work (though it
doesn't crash). This is because there is, as of yet, no means to configure
the system.

Each joystick axis has:
    - per-axis amplification (both pre and post).
    - per-axis offset (offset applied after pre-amp but before post amp)
    - selectable destination:
        - linear delta: position and angles (as before)
        - axis button: if the value crosses the threshold, the given key is
          pressed or released as appropriate.

The axis amplification still uses joy_amp and joy_pre_amp (and
in_amp/in_pre_amp), but now also has the per-axis settings.

The per-axis offset is most useful for axis buttons. For example, the xbox
360 controller triggers are analong but go "all the way to negative on 0
state". Offsetting the input keeps axis button thresholds simple.

Amplification and offset is applied before anything is done with the axis
value. The formula is:

    joy_amp * in_amp * axis-amp *
        (offset + value * joy_pre_amp * in_pre_amp * axis-pre_amp)

Axis button thresholds are very simple: if the sign of the value is the
same as the sign of the threshold and abs(value) >= abs(threshold), the
button is pressed. While multiple thresholds and keys can be placed on an
axis, only one can be pressed at a time. The threshold furthest from 0
wins.
2013-01-23 13:15:02 +09:00
config.d Make fs_userpath default to ~/quakeforge on windows. 2013-01-23 11:10:19 +09:00
debian Update the debian changelog. 2013-01-18 17:15:27 +09:00
desktop Fix the missing desktop files. 2012-02-09 16:14:56 +09:00
doc Merge branch 'qfcc-cse' 2012-12-13 20:17:28 +09:00
hw Don't include the specific plugin headers in plugin.h. 2012-02-13 22:02:07 +09:00
include Rewrite joy_axis and JOY_Move for axis buttons. 2013-01-23 13:15:02 +09:00
libs Rewrite joy_axis and JOY_Move for axis buttons. 2013-01-23 13:15:02 +09:00
m4 Break out the default plugin code into its own macro. 2012-04-22 10:03:52 +09:00
nq Implement dynamic IMTs. 2013-01-16 19:48:54 +09:00
pkg-config Move qfcc's libs and headers to ${prefix}/share 2012-05-05 19:34:35 +09:00
qtv Make hash tables more const correct. 2012-10-27 11:44:31 +09:00
qw Handle alloca "correctly". 2013-01-22 21:02:50 +09:00
RPM Qdd include/QF/math/*.h to the rpm. 2013-01-10 22:14:59 +09:00
ruamoko Correct the menu code to sortof work with the new IMTs. 2013-01-16 20:31:46 +09:00
tools Build and package win64 binaries too. 2013-01-23 11:59:54 +09:00
vc2005 Fix the missing vc project files. 2012-02-09 14:10:27 +09:00
vc2008 Fix the missing vc project files. 2012-02-09 14:10:27 +09:00
.gitignore Use git-version-gen to create meaningful version strings. 2012-12-21 18:43:03 +09:00
bootstrap Get the Makefile find command right for boostrap clean. 2011-01-04 22:25:26 +09:00
configure.ac Fix some 64-bit mingw compile issues. 2013-01-22 21:02:49 +09:00
COPYING
INSTALL Require bison 2.6 or later. 2013-01-11 13:48:14 +09:00
Makefile.am Add the new cross scripts to EXTRA_DIST 2013-01-23 11:44:01 +09:00
NEWS Update for 0.7.2. 2013-01-23 12:01:36 +09:00
README.cygwin
TODO Detect the silent death of the jack client thread. 2011-09-07 15:16:27 +09:00

This file gives instruction for compiling QF with cygwin to run in MS Windows(R).

DISCLAIMER: Use at your own risk, NO WARRANTY of any kind. NO GUARANTEE of correctness or usability.

If you have problems with these instructions please let me know.

email: wildcode@users.sourceforge.net
IRC: irc.xiph.org #quakeforge
==========================================================================

WARNING: This is not intended for inexperienced users, binaries are available on request.

         QuakeForge may take several hours from bootstrap to the completion
         of make install on some systems

To build win32(mingw) QuakeForge bins you will need to download and install cygwin, and the Microsoft DirectX SDK. Cygwin can be found at http://www.cygwin.org

Once cygwin is installed along with the appropriate developement modules, copy dinput.h from the DirectX SDK and place it in /usr/include/w32api/

If you want to use DirectSound also copy dsound.h to the same spot.

in the quakeforge source dir, within cygwin, type
./bootstrap
./configure --host=i386-mingw32 --build=i386-cygwin --target=i386-mingw32 --program-prefix= --with-static-plugins --disable-shared --disable-oss --disable-vorbis --disable-Werror --enable-optimize --enable-asmopt --disable-debug --enable-zlib
make
make install

--disable-Werror is needed as some versions of the DX SDK are buggy.

Go to the /usr/local/bin directory and copy the qw-* and nq-* files to your dos
quake dir

Let us know how it works for you.

NOTE: At the time of writing qw-server.exe was not working correctly. Please refrain from using it unless you are willing to fix it.

Special Note: QuakeForge supplies only our own version of the programs for Quake. To get the game data, you still need to have purchased Quake or get the shareware version from Id Software.

Chris Ison (WildCode) for QuakeForge
March 11, 2003