summaryrefslogtreecommitdiff
path: root/src/game/bg_public.h
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2004-03-15 04:17:38 +0000
committerTim Angus <tim@ngus.net>2004-03-15 04:17:38 +0000
commit08fa53ab87e9510c714f18c5a4b52eb99599a377 (patch)
tree665fed9d2250c90ec87bbb4abae68a3cd653d6c2 /src/game/bg_public.h
parent0825a563b705c50de551951c4c131d0482935c45 (diff)
* Added knockback scaling
* Balance tweaks * A load of other stuff I can't remember
Diffstat (limited to 'src/game/bg_public.h')
-rw-r--r--src/game/bg_public.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/bg_public.h b/src/game/bg_public.h
index 02ffad71..6a119b27 100644
--- a/src/game/bg_public.h
+++ b/src/game/bg_public.h
@@ -904,6 +904,7 @@ typedef struct
float friction;
float stopSpeed;
float jumpMagnitude;
+ float knockbackScale;
int children[ 3 ];
int cost;
@@ -1131,6 +1132,7 @@ float BG_FindAirAccelerationForClass( int pclass );
float BG_FindFrictionForClass( int pclass );
float BG_FindStopSpeedForClass( int pclass );
float BG_FindJumpMagnitudeForClass( int pclass );
+float BG_FindKnockbackScaleForClass( int pclass );
int BG_FindSteptimeForClass( int pclass );
qboolean BG_ClassHasAbility( int pclass, int ability );
weapon_t BG_FindStartWeaponForClass( int pclass );
@@ -1254,3 +1256,4 @@ float VectorDistance( vec3_t v1, vec3_t v2 );
float VectorMinComponent( vec3_t v );
float VectorMaxComponent( vec3_t v );
+float round( float v );