From 974e34b048c30a0592f26575e0d33252fc32c9bd Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 4 Oct 2003 21:57:37 +0000 Subject: * Switched Dragoon and Chimera in preparation for wall jumping * Removed SCA_CANJUMP and replaced with BG_FindJumpMagnitudeForClass * Fixed bug where holding crouch on a non-crouching class distorted speed --- src/game/bg_public.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/game/bg_public.h') diff --git a/src/game/bg_public.h b/src/game/bg_public.h index 876a2f7e..6fdb8546 100644 --- a/src/game/bg_public.h +++ b/src/game/bg_public.h @@ -214,12 +214,12 @@ typedef enum #define SCA_WALLCLIMBER 0x00000001 #define SCA_TAKESFALLDAMAGE 0x00000002 #define SCA_CANZOOM 0x00000004 -#define SCA_CANJUMP 0x00000008 -#define SCA_NOWEAPONDRIFT 0x00000010 -#define SCA_FOVWARPS 0x00000020 -#define SCA_ALIENSENSE 0x00000040 -#define SCA_NOFOOTSTEPS 0x00000080 -#define SCA_CANUSELADDERS 0x00000100 +#define SCA_NOWEAPONDRIFT 0x00000008 +#define SCA_FOVWARPS 0x00000010 +#define SCA_ALIENSENSE 0x00000020 +#define SCA_NOFOOTSTEPS 0x00000040 +#define SCA_CANUSELADDERS 0x00000080 +#define SCA_WALLJUMPER 0x00000100 #define SS_WALLCLIMBING 0x00000001 #define SS_WALLCLIMBINGCEILING 0x00000002 @@ -897,6 +897,7 @@ typedef struct float acceleration; float friction; float stopSpeed; + float jumpMagnitude; int children[ 3 ]; int timeToEvolve; @@ -1088,12 +1089,12 @@ float BG_FindSpeedForClass( int pclass ); float BG_FindAccelerationForClass( int pclass ); float BG_FindFrictionForClass( int pclass ); float BG_FindStopSpeedForClass( int pclass ); +float BG_FindJumpMagnitudeForClass( int pclass ); int BG_FindSteptimeForClass( int pclass ); qboolean BG_ClassHasAbility( int pclass, int ability ); weapon_t BG_FindStartWeaponForClass( int pclass ); float BG_FindBuildDistForClass( int pclass ); int BG_ClassCanEvolveFromTo( int fclass, int tclass, int credits, int num ); -int BG_FindEvolveTimeForClass( int pclass ); int BG_FindValueOfClass( int pclass ); int BG_FindPriceForWeapon( int weapon ); -- cgit