diff options
author | Michael Levin <risujin@fastmail.fm> | 2009-10-03 11:18:02 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:14:51 +0000 |
commit | 6bff95c5978a0d4e0cb7e99232a1e61678fcf81b (patch) | |
tree | 6a6788b2b51c50707bc7f2dbdccb8cc40aab4e9c /src/game/bg_public.h | |
parent | 75002f6c61b3e7e3521819df0216d52c14374520 (diff) |
* Per Lakitu7's suggestion, changed spectator bounding box to match the dretch bounding box. Prevents spectators from getting stuck in the floor.
* Buildables round their health up when encoding health information for transmission, no more 0 hp buildables that aren't dead
* Removed the devmap credits hack I put in earlier
* Can now use \itemact weapon to switch to weapon, also \itemact weapon/blaster will not repeatedly force a weapon change if that weapon is already selected
* Options menu entry for "Sprint" changed to "Sprint / Dodge" with correct bind (+button6)
Norfenstein decided to switch to fractional "frags" (aka evos) for Aliens:
* BG_ClassCanEvolveFromTo rewritten to be more robust in case classes are shuffled around later
* CG_AtHighestClass and BG_UpgradeClassAvailable merged into BG_AlienCanEvolve
* Changed BG_GetValueOfHuman to BG_GetValueOfPlayer which now accomodates Aliens too
* Aliens now must receive 400 credits per frag point (9 evos = 3600 credits!)
* Aliens can only spend whole points
* TK/Suicide penalties moved to tremulous.h and converted to credit values
* Complex nasty Alien land goes bye-bye
Diffstat (limited to 'src/game/bg_public.h')
-rw-r--r-- | src/game/bg_public.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game/bg_public.h b/src/game/bg_public.h index cc789c1f..61195fe1 100644 --- a/src/game/bg_public.h +++ b/src/game/bg_public.h @@ -1110,7 +1110,7 @@ void BG_PositionBuildableRelativeToPlayer( const playerState_t *ps, void (*trace)( trace_t *, const vec3_t, const vec3_t, const vec3_t, const vec3_t, int, int ), vec3_t outOrigin, vec3_t outAngles, trace_t *tr ); -int BG_GetValueOfHuman( playerState_t *ps ); +int BG_GetValueOfPlayer( playerState_t *ps ); int BG_FindBuildNumForName( char *name ); int BG_FindBuildNumForEntityName( char *name ); @@ -1179,7 +1179,8 @@ 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_ClassCanEvolveFromTo( int fclass, int tclass, int credits, int alienStage, int num ); +qboolean BG_AlienCanEvolve( int pclass, int credits, int alienStage ); int BG_FindCostOfClass( int pclass ); int BG_FindValueOfClass( int pclass ); void BG_InitClassOverrides( void ); |