summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
diff options
context:
space:
mode:
authorenneract <trem.redman@gmail.com>2014-12-20 20:07:54 +0100
committerenneract <trem.redman@gmail.com>2014-12-20 20:07:54 +0100
commit74be23bb4d9e5fe441ce25008281e4cfc387185e (patch)
tree5af9e0f2016f9cf81948224108934ea1ae4abbfe /src/game/g_local.h
parentf5c4bc00cf6307c14a6037a1f0a68259e4fe2ac8 (diff)
Add logging of weapon settings at game init.
Also adds a few missing weapons and hardcodes Lightning Gun's settings.
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r--src/game/g_local.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h
index a98d818..18ff14b 100644
--- a/src/game/g_local.h
+++ b/src/game/g_local.h
@@ -320,7 +320,7 @@ typedef enum
typedef enum
{
-#define CSW(a,b) a
+#define CSW(a,b,c) a
#include "g_csw.h"
#undef CSW
,
@@ -984,6 +984,7 @@ void G_InitDamageLocations( void );
#define DAMAGE_NO_PROTECTION 0x00000008 // armor, shields, invulnerability, and godmode have no effect
#define DAMAGE_NO_LOCDAMAGE 0x00000010 // do not apply locational damage
+void G_LogCombatSettings( void );
void G_CombatStats_Fire( gentity_t *ent, combatStatsWeapon_t weapon, int damage );
void G_CombatStats_FireMOD( gentity_t *ent, meansOfDeath_t mod, int damage );
void G_CombatStats_Hit( gentity_t *ent, gentity_t *hit, combatStatsWeapon_t weapon, int damage );