Apply changes from recent original Rogue GPL release

This commit is contained in:
Frank Richter 2023-08-10 21:28:12 +02:00
parent b0303c1098
commit 7098d2d0a7
85 changed files with 175 additions and 5 deletions

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Deathmatch ball.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Deathmatch tag.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* The basic AI functions like enemy detection, attacking and so on.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/*
* =======================================================================
*

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Game command processing.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/*
* =======================================================================
*

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/*
* =======================================================================
*

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/*
* =======================================================================
*
@ -38,11 +40,11 @@ gitem_armor_t jacketarmor_info = {25, 50, .30, .00, ARMOR_JACKET};
gitem_armor_t combatarmor_info = {50, 100, .60, .30, ARMOR_COMBAT};
gitem_armor_t bodyarmor_info = {100, 200, .80, .60, ARMOR_BODY};
int jacket_armor_index;
int combat_armor_index;
int body_armor_index;
static int power_screen_index;
static int power_shield_index;
static int jacket_armor_index;
static int combat_armor_index;
static int body_armor_index;
static int power_screen_index;
static int power_shield_index;
void Use_Quad(edict_t *ent, gitem_t *item);
static int quad_drop_timeout_hack;

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/*
* =======================================================================
*

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/*
* =======================================================================
*

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/*
* =======================================================================
*

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/*
* =======================================================================
*

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/*
* =======================================================================
*

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/*
* =======================================================================
*

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/*
* =======================================================================
*

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/*
* =======================================================================
*

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Quake IIs legendary physic engine.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/*
* =======================================================================
*

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/*
* =======================================================================
*

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Game side of server CMDs. At this time only the ipfilter.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Targets.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Trigger.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Turrets aka big cannons with a driver.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Misc. utility functions for the game logic.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Weapon support functions.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Here are the client, server and game are tied together.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Main header file for the game module.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* The berserker.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Berserker animations.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Boss 2 aka Hornet.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Animations for boss2.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
#include "../../header/local.h"
#include "boss32.h"

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Final boss, stage 1 (jorg).

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Animations for final boss stage 1.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Final boss, stage 2 (makron).

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Final boss, stage 2 (makron).

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Brain.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Brain animations.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/*
* ==============================================================================
*

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Carrier animations.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Iron Maiden.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Iron Maiden animations.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Baracuda Shark.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Baracuda Shark animations.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Mechanic.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Mechanic animations.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Flyer.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Flyer animations.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Gladiator.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Gladiator animations.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Gunner.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Gunner animations.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Icarus and Daedalus.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Icarus and Daedalus animations.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Infantry.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Infantry animations.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* The insane earth soldiers.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Insane animations

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Medic and Medic commander.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Medic and Medic Commander animations.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Monster movement support functions.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Player (the arm and the weapons) animation.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Mutant.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Mutant animations.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Parasite.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Parasite animations.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Soldier aka "Guard". This is the most complex enemy in Quake 2, since

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Soldier aka "Guard" animations.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Stalker.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Stalker animations.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Supertank aka "Boss1".

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Supertank aka "Boss1" animations.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Tank and Tank Commander.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Tank and Tank Commander animations.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Wall mounted turrets.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Turret animations.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Black Window (stage 1).

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Black Widow (stage 1) animations.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Black Window (stage 2).

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Black Widow (stage 2) animations.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Interface between client <-> game and client calculations.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* HUD, deathmatch scoreboard, help computer and intermission stuff.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* The player trail, used by monsters to locate the player.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* The "camera" through that the player looks into the game.

View file

@ -1,3 +1,5 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
/* =======================================================================
*
* Player weapons.