mirror of
https://github.com/yquake2/rogue.git
synced 2024-11-22 20:31:50 +00:00
'Ground Zero' for Yamagi Quake II
1f82ad2154
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. |
||
---|---|---|
src | ||
.gitignore | ||
CHANGELOG | ||
CMakeLists.txt | ||
LICENSE | ||
Makefile | ||
README |
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.