Removed the rest of unused team stuff

This commit is contained in:
Walter Julius Hennecke 2012-11-15 23:49:35 +01:00
parent db0df99793
commit 35303ecc8c
5 changed files with 0 additions and 48 deletions

View file

@ -26,7 +26,6 @@ static vec3_t playerMins = {-12, -12, -24}; //RPG-X : TiM - {-15, -15, -24}
static vec3_t playerMaxs = {12, 12, 32}; // {15, 15, 32}
clInitStatus_t clientInitialStatus[MAX_CLIENTS];
team_t borgTeam = TEAM_FREE;
//TiM: For easier transport setup
/**

View file

@ -1023,8 +1023,6 @@ void StopFollowing( gentity_t *ent ) {
ps->stats[STAT_HEALTH] = ps->stats[STAT_MAX_HEALTH];
}
extern team_t borgTeam;
/*
=================
Cmd_Team_f

View file

@ -1665,8 +1665,6 @@ static void G_UpdateCvars( void )
}
extern int altAmmoUsage[];
extern team_t borgTeam;
extern team_t initialBorgTeam;
static void G_InitModRules( void )
{
numKilled = 0;

View file

@ -3,25 +3,6 @@
#include "g_local.h"
team_t initialBorgTeam = TEAM_FREE;
int borgQueenStartPoint = ENTITYNUM_NONE;
typedef enum _flag_status {
FLAG_ATBASE = 0,
FLAG_TAKEN,
FLAG_DROPPED
} flagStatus_t;
typedef struct teamgame_s
{
float last_flag_capture;
int last_capture_team;
flagStatus_t redStatus;
flagStatus_t blueStatus;
} teamgame_t;
teamgame_t teamgame;
const char *TeamName(int team) {
if (team==TEAM_SPECTATOR)
return "SPECTATOR";

View file

@ -1,31 +1,7 @@
// Copyright (C) 1999-2000 Id Software, Inc.
//
#define CTF_CAPTURE_BONUS 100 // what you get for capture
#define CTF_TEAM_BONUS 0 // what your team gets for capture
#define CTF_RECOVERY_BONUS 10 // what you get for recovery
#define CTF_FLAG_BONUS 10 // what you get for picking up enemy flag
#define CTF_FRAG_CARRIER_BONUS 20 // what you get for fragging enemy flag carrier
#define CTF_FLAG_RETURN_TIME 40000 // seconds until auto return
#define CTF_CARRIER_DANGER_PROTECT_BONUS 5 // bonus for fraggin someone who has recently hurt your flag carrier
#define CTF_CARRIER_PROTECT_BONUS 2 // bonus for fraggin someone while either you or your target are near your flag carrier
#define CTF_FLAG_DEFENSE_BONUS 10 // bonus for fraggin someone while either you or your target are near your flag
#define CTF_RETURN_FLAG_ASSIST_BONUS 10 // awarded for returning a flag that causes a capture to happen almost immediately
#define CTF_FRAG_CARRIER_ASSIST_BONUS 10 // award for fragging a flag carrier if a capture happens almost immediately
#define CTF_TARGET_PROTECT_RADIUS 1000 // the radius around an object being defended where a target will be worth extra frags
#define CTF_ATTACKER_PROTECT_RADIUS 1000 // the radius around an object being defended where an attacker will get extra frags when making kills
#define CTF_CARRIER_DANGER_PROTECT_TIMEOUT 8000
#define CTF_FRAG_CARRIER_ASSIST_TIMEOUT 10000
#define CTF_RETURN_FLAG_ASSIST_TIMEOUT 10000
#define CTF_GRAPPLE_SPEED 750 // speed of grapple in flight
#define CTF_GRAPPLE_PULL_SPEED 750 // speed player is pulled at
// Prototypes
const char *TeamName(int team);
const char *OtherTeamName(int team);
const char *TeamColorString(int team);