summaryrefslogtreecommitdiff
path: root/src/game/g_combat.c
diff options
context:
space:
mode:
authorenneract <trem.redman@gmail.com>2014-12-06 23:35:11 +0100
committerenneract <trem.redman@gmail.com>2014-12-06 23:35:11 +0100
commit05fc0ccd95f486c79e1b073f80245c6cd0179e62 (patch)
treebdcbb5e32992291580982b2afd10f9e63cae2640 /src/game/g_combat.c
parent58903527dbf5fc7d8035ac2349174fe5f58ba2ac (diff)
parent1a59a05174d3ed6e6b75b8d9e2b5b074ebf41b38 (diff)
Merge branch 'master' of https://github.com/mtiusane/new-edge into bp-on-hud
Diffstat (limited to 'src/game/g_combat.c')
-rw-r--r--src/game/g_combat.c75
1 files changed, 4 insertions, 71 deletions
diff --git a/src/game/g_combat.c b/src/game/g_combat.c
index 87a6bd6..e43d036 100644
--- a/src/game/g_combat.c
+++ b/src/game/g_combat.c
@@ -80,75 +80,9 @@ void LookAtKiller( gentity_t *self, gentity_t *inflictor, gentity_t *attacker )
// these are just for logging, the client prints its own messages
char *modNames[ ] =
{
- "MOD_UNKNOWN",
- "MOD_HDOG",
- "MOD_SHOTGUN",
- "MOD_BLASTER",
- "MOD_PAINSAW",
- "MOD_MACHINEGUN",
- "MOD_CHAINGUN",
- "MOD_PRIFLE",
- "MOD_MDRIVER",
- "MOD_LASGUN",
- "MOD_LCANNON",
- "MOD_LCANNON_SPLASH",
- "MOD_FLAMER",
- "MOD_FLAMER_SPLASH",
- "MOD_GRENADE",
- "MOD_PSAWBLADE",
- "MOD_MINE",
- "MOD_FLAMES",
- "MOD_SMOKE",
- "MOD_SPITEFUL_ABCESS",
- "MOD_WATER",
- "MOD_SLIME",
- "MOD_LAVA",
- "MOD_CRUSH",
- "MOD_TELEFRAG",
- "MOD_FALLING",
- "MOD_SUICIDE",
- "MOD_TARGET_LASER",
- "MOD_TRIGGER_HURT",
-
- "MOD_ABUILDER_CLAW",
- "MOD_LEVEL0_BITE",
- "MOD_LEVEL1_CLAW",
- "MOD_LEVEL1_PCLOUD",
- "MOD_LEVEL3_CLAW",
- "MOD_LEVEL3_POUNCE",
- "MOD_LEVEL5_POUNCE",
- "MOD_LEVEL5_PRICKLES",
- "MOD_LEVEL3_BOUNCEBALL",
- "MOD_LEVEL2_CLAW",
- "MOD_LEVEL2_ZAP",
- "MOD_LEVEL5_CLAW",
- "MOD_LEVEL5_ZAP",
- "MOD_LEVEL5_BOUNCEBALL",
- "MOD_LEVEL2_BOUNCEBALL",
- "MOD_LEVEL4_CLAW",
- "MOD_LEVEL4_TRAMPLE",
- "MOD_LEVEL4_CRUSH",
-
- "MOD_SLOWBLOB",
- "MOD_POISON",
- "MOD_INFECTION",
- "MOD_SWARM",
- "MOD_MD2",
- "MOD_HSPAWN",
- "MOD_TESLAGEN",
- "MOD_MGTURRET",
- "MOD_MGTURRET2",
- "MOD_REACTOR",
-
- "MOD_ASPAWN",
- "MOD_ATUBE",
- "MOD_OVERMIND",
- "MOD_SLAP",
- "MOD_DECONSTRUCT",
- "MOD_REPLACE",
- "MOD_NOCREEP",
- "MOD_NOBP",
- "MOD_ABOMB"
+#define MOD(x) #x
+#include "bg_mod.h"
+#undef MOD
};
/*
@@ -184,8 +118,7 @@ float G_CamperRewardBonus( gentity_t *self )
// exclude builders:
switch( BG_GetPlayerWeapon( &self->client->ps ) )
{
- case WP_ABUILD:
- case WP_ABUILD2:
+ case WP_ABUILD:
case WP_HBUILD: return 1.0f;
default: ;
}