diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-05-20 14:05:34 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-05-21 15:47:12 +0200 |
commit | a77f4c3465d90b774a30c5ef2db3f57ff21c4e01 (patch) | |
tree | edf22059f78e7670ef003dce27ef538242022c75 /src/game/bg_public.h | |
parent | d05bee2ac2ae858dbf690c8e6e84d9e7ea3db48f (diff) |
Remove all override code.
Overrides allowed changing some attributes of buildings and classes using configs (and without having to change the code itself). This commit removes this nonsensical system.
Diffstat (limited to 'src/game/bg_public.h')
-rw-r--r-- | src/game/bg_public.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/game/bg_public.h b/src/game/bg_public.h index 1a5b81c..790e206 100644 --- a/src/game/bg_public.h +++ b/src/game/bg_public.h @@ -954,25 +954,6 @@ typedef struct int value; } classAttributes_t; -typedef struct -{ - char modelName[ MAX_QPATH ]; - float modelScale; - char skinName[ MAX_QPATH ]; - float shadowScale; - char hudName[ MAX_QPATH ]; - char humanName[ MAX_STRING_CHARS ]; - - vec3_t mins; - vec3_t maxs; - vec3_t crouchMaxs; - vec3_t deadMins; - vec3_t deadMaxs; - int viewheight; - int crouchViewheight; - float zOffset; -} classAttributeOverrides_t; - //stages typedef enum { @@ -1038,16 +1019,6 @@ typedef struct qboolean replaceable; } buildableAttributes_t; -typedef struct -{ - char models[ MAX_BUILDABLE_MODELS ][ MAX_QPATH ]; - - float modelScale; - vec3_t mins; - vec3_t maxs; - float zOffset; -} buildableAttributeOverrides_t; - //TA: weapon record typedef struct { @@ -1166,7 +1137,6 @@ int BG_FindDCCTestForBuildable( int bclass ); int BG_FindUniqueTestForBuildable( int bclass ); qboolean BG_FindReplaceableTestForBuildable( int bclass ); qboolean BG_FindTransparentTestForBuildable( int bclass ); -void BG_InitBuildableOverrides( void ); int BG_FindClassNumForName( char *name ); char *BG_FindNameForClassNum( int pclass ); @@ -1200,7 +1170,6 @@ float BG_FindBuildDistForClass( int pclass ); int BG_ClassCanEvolveFromTo( int fclass, int tclass, int credits, int num ); int BG_FindCostOfClass( int pclass ); int BG_FindValueOfClass( int pclass ); -void BG_InitClassOverrides( void ); int BG_FindPriceForWeapon( int weapon ); qboolean BG_FindStagesForWeapon( int weapon, stage_t stage ); |