diff options
| author | John Schoenick <[email protected]> | 2015-09-09 18:35:41 -0700 |
|---|---|---|
| committer | John Schoenick <[email protected]> | 2015-09-09 18:35:41 -0700 |
| commit | 0d8dceea4310fde5706b3ce1c70609d72a38efdf (patch) | |
| tree | c831ef32c2c801a5c5a80401736b52c7b5a528ec /mp/src/game/shared/shareddefs.h | |
| parent | Updated the SDK with the latest code from the TF and HL2 branches. (diff) | |
| download | source-sdk-2013-0d8dceea4310fde5706b3ce1c70609d72a38efdf.tar.xz source-sdk-2013-0d8dceea4310fde5706b3ce1c70609d72a38efdf.zip | |
Diffstat (limited to 'mp/src/game/shared/shareddefs.h')
| -rw-r--r-- | mp/src/game/shared/shareddefs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mp/src/game/shared/shareddefs.h b/mp/src/game/shared/shareddefs.h index 11156a36..5236693f 100644 --- a/mp/src/game/shared/shareddefs.h +++ b/mp/src/game/shared/shareddefs.h @@ -151,6 +151,8 @@ typedef enum VOTE_FAILED_MAP_NOT_VALID, VOTE_FAILED_CANNOT_KICK_FOR_TIME, VOTE_FAILED_CANNOT_KICK_DURING_ROUND, + VOTE_FAILED_VOTE_IN_PROGRESS, + VOTE_FAILED_KICK_LIMIT_REACHED, // TF-specific? VOTE_FAILED_MODIFICATION_ALREADY_ACTIVE, @@ -455,6 +457,7 @@ enum { OBS_MODE_FIXED, // view from a fixed camera position OBS_MODE_IN_EYE, // follow a player in first person view OBS_MODE_CHASE, // follow a player in third person view + OBS_MODE_POI, // PASSTIME point of interest - game objective, big fight, anything interesting; added in the middle of the enum due to tons of hard-coded "<ROAMING" enum compares OBS_MODE_ROAMING, // free roaming NUM_OBSERVER_MODES, @@ -688,6 +691,7 @@ struct FireBulletsInfo_t m_vecDirShooting.Init( VEC_T_NAN, VEC_T_NAN, VEC_T_NAN ); #endif m_bPrimaryAttack = true; + m_bUseServerRandomSeed = false; } FireBulletsInfo_t( int nShots, const Vector &vecSrc, const Vector &vecDir, const Vector &vecSpread, float flDistance, int nAmmoType, bool bPrimaryAttack = true ) @@ -706,6 +710,7 @@ struct FireBulletsInfo_t m_pAdditionalIgnoreEnt = NULL; m_flDamageForceScale = 1.0f; m_bPrimaryAttack = bPrimaryAttack; + m_bUseServerRandomSeed = false; } int m_iShots; @@ -722,6 +727,7 @@ struct FireBulletsInfo_t CBaseEntity *m_pAttacker; CBaseEntity *m_pAdditionalIgnoreEnt; bool m_bPrimaryAttack; + bool m_bUseServerRandomSeed; }; //----------------------------------------------------------------------------- |