summaryrefslogtreecommitdiff
path: root/src/game/bg_public.h
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2003-10-04 21:57:37 +0000
committerTim Angus <tim@ngus.net>2003-10-04 21:57:37 +0000
commit974e34b048c30a0592f26575e0d33252fc32c9bd (patch)
treef9b24686ff2f1f5c64203f212614f6ec0daab95e /src/game/bg_public.h
parent924324982295c028f96f95b01e8463112b54da3b (diff)
* 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
Diffstat (limited to 'src/game/bg_public.h')
-rw-r--r--src/game/bg_public.h15
1 files changed, 8 insertions, 7 deletions
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 );