'Ground Zero' for Yamagi Quake II
Find a file
Yamagi Burmeister 1f82ad2154 Fix parasite, return true instead of false when checking attacks.
This was one of those stupid brainos where you know it better and still
do it wrong... In standard C the return value of a non-void function is
undefined if the closing } is reached. MSVC++5 and 6 returned 1 for
functions with return type int. Since qboolean == int parasite_blocked()
and parasite_checkattack() should return true and not false.

BUT: The true in parasite_blocked() was correct, in the original MSVC++6
build parasites always thought that they're blocked and tried to free
themself.

In parasite_checkattack() the false was wrong, so change it to true. And
yes, the function is crap. The better part of it doesn't make sense and
just burns CPU cycles for nothing. But it's working now and everyone is
happy, so let's leave it alone.

This fixes yquake2 issue #359.
2019-01-30 18:32:17 +01:00
src Fix parasite, return true instead of false when checking attacks. 2019-01-30 18:32:17 +01:00
.gitignore Fix bug with high velocities in vents in 32bit builds, fix MingW build 2015-05-17 18:40:49 +02:00
CHANGELOG Update the CHANGELOG for 2.04. 2017-05-25 11:45:51 +02:00
CMakeLists.txt Switch from an arch whitelist to an "all archs are supported" approach. 2016-06-11 09:47:05 +02:00
LICENSE Readme und Lizenz fuer die Addons 2009-06-08 16:04:34 +00:00
Makefile Switch some annoying and wrong GCC warnings off. 2018-10-25 19:23:49 +02:00
README README: Always put quotes around "Ground Zero" 2018-08-14 21:09:26 +02:00

This is a bugfixed version of id Software's Quake II missionpack
"Ground Zero", developed by Rogue Software. Hundreds of bugs were
fixed, this version should run much more stable than the old
SDK version. While compatible with any Quake II client that uses
the original unaltered mod API, the "Yamagi Quake II Client" is
highly recommended to play the addon. For more information visit
http://www.yamagi.org/quake2. 

Installation for FreeBSD, Linux and OpenBSD:
--------------------------------------------
1. Type "make" or "gmake" to compile the game.so.
2. Create a subdirectory rogue/ in your quake2 directory.
3. Copy pak0.pak and videos/ from the "Ground Zero" CD to
   the newly created directory rogue/.
4. Copy release/game.so to rogue/.
5. Start the game with "./quake2 +set game rogue"

Installation for OS X:
----------------------
1. Create a subdirectory rogue/ in your quake2 directory.
2. Copy pak0.pak and videos/ from the "Ground Zero" CD to
   the newly created directory rogue/.
3. Copy game.dynlib from the zip-archive to rogue/.
4. Start the game with "quake2 +set game rogue"

If you want to compile 'rogue' for OS X from source, please take a
look at the "Installation" section of the README of the Yamagi Quake II
client. In the same file the integration into an app-bundle is
explained.
 
Installation for Windows:
-------------------------
1. Create a subdirectory rogue\ in your quake2 directory.
2. Copy pak0.pak and videos\ from the "Ground Zero" CD to
   the newly created directory rogue\.
3. Copy game.dll from the zip-archive to rogue/.
4. Start the game with "quake2.exe +set game rogue"

If you want to compile 'rogue' for Windows from source, please take a
look at the "Installation" section of the README of the Yamagi Quake II
client. There's descripted how to setup the build environment.