diff options
| author | Joe Ludwig <[email protected]> | 2013-09-02 11:39:10 -0700 |
|---|---|---|
| committer | Joe Ludwig <[email protected]> | 2013-09-02 11:39:10 -0700 |
| commit | a0c29e7dd67abb15c74c85f07741784877edfdcd (patch) | |
| tree | 35bd6b4580afa14648895b0f321d33a712a5d0fa /sp/src/game/shared | |
| parent | Added bloom shader and screenspace effect helpers as examples for the SDK. (diff) | |
| download | source-sdk-2013-a0c29e7dd67abb15c74c85f07741784877edfdcd.tar.xz source-sdk-2013-a0c29e7dd67abb15c74c85f07741784877edfdcd.zip | |
General:
* Fixed a variety of server browser issues with mods based on this SDK
* Fixed many warnings on various platforms
* Added source code for fgdlib and raytrace
* Updated many source files with the latest shared source from TF2.
OSX:
* Added support for Xcode 4.6
* Switched OSX builds to use Xcode instead of makefiles
* Moved libs from src/lib/osx32 to src/lib/public/osx32 or src/lib/common/osx32 to match windows better.
Linux:
* Moved libs from src/lib/linux32 to src/lib/public/linux32 or src/lib/common/linux32 to match windows better.
Diffstat (limited to 'sp/src/game/shared')
| -rw-r--r-- | sp/src/game/shared/GameStats.cpp | 2 | ||||
| -rw-r--r-- | sp/src/game/shared/playernet_vars.h | 4 | ||||
| -rw-r--r-- | sp/src/game/shared/shareddefs.h | 11 |
3 files changed, 9 insertions, 8 deletions
diff --git a/sp/src/game/shared/GameStats.cpp b/sp/src/game/shared/GameStats.cpp index 3571827d..e81eaed6 100644 --- a/sp/src/game/shared/GameStats.cpp +++ b/sp/src/game/shared/GameStats.cpp @@ -3,10 +3,8 @@ // Purpose:
//
//=============================================================================
-
#include "cbase.h"
-
#include "igamesystem.h"
#include "gamestats.h"
#include "tier1/utlstring.h"
diff --git a/sp/src/game/shared/playernet_vars.h b/sp/src/game/shared/playernet_vars.h index 9fdeec0f..abb49765 100644 --- a/sp/src/game/shared/playernet_vars.h +++ b/sp/src/game/shared/playernet_vars.h @@ -77,10 +77,10 @@ struct fogplayerparams_t {
m_hCtrl.Set( NULL );
m_flTransitionTime = -1.0f;
- m_OldColor.r = m_OldColor.g = m_OldColor.g = m_OldColor.a = 0.0f;
+ m_OldColor.r = m_OldColor.g = m_OldColor.b = m_OldColor.a = 0;
m_flOldStart = 0.0f;
m_flOldEnd = 0.0f;
- m_NewColor.r = m_NewColor.g = m_NewColor.g = m_NewColor.a = 0.0f;
+ m_NewColor.r = m_NewColor.g = m_NewColor.b = m_NewColor.a = 0;
m_flNewStart = 0.0f;
m_flNewEnd = 0.0f;
}
diff --git a/sp/src/game/shared/shareddefs.h b/sp/src/game/shared/shareddefs.h index 4dbab433..868ae046 100644 --- a/sp/src/game/shared/shareddefs.h +++ b/sp/src/game/shared/shareddefs.h @@ -919,14 +919,17 @@ enum #define TF_VISION_FILTER_NONE 0
#define TF_VISION_FILTER_PYRO (1<<0) // 1
#define TF_VISION_FILTER_HALLOWEEN (1<<1) // 2
+#define TF_VISION_FILTER_ROME (1<<2) // 4
+// THIS ENUM SHOULD MATCH THE ORDER OF THE FLAGS ABOVE
enum
{
- MODEL_INDEX_OVERRIDE_DEFAULT = 0,
- MODEL_INDEX_OVERRIDE_PYRO,
- MODEL_INDEX_OVERRIDE_HALLOWEEN,
+ VISION_MODE_NONE = 0,
+ VISION_MODE_PYRO,
+ VISION_MODE_HALLOWEEN,
+ VISION_MODE_ROME,
- MAX_MODEL_INDEX_OVERRIDES
+ MAX_VISION_MODES
};
#endif // TF_DLL || TF_CLIENT_DLL
|