diff options
| author | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:31:46 -0800 |
|---|---|---|
| committer | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:46:31 -0800 |
| commit | f56bb35301836e56582a575a75864392a0177875 (patch) | |
| tree | de61ddd39de3e7df52759711950b4c288592f0dc /sp/src/game/shared/weapon_ifmbase.h | |
| parent | Mark some more files as text. (diff) | |
| download | source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip | |
Fix line endings. WHAMMY.
Diffstat (limited to 'sp/src/game/shared/weapon_ifmbase.h')
| -rw-r--r-- | sp/src/game/shared/weapon_ifmbase.h | 120 |
1 files changed, 60 insertions, 60 deletions
diff --git a/sp/src/game/shared/weapon_ifmbase.h b/sp/src/game/shared/weapon_ifmbase.h index f9606083..cf0b93c3 100644 --- a/sp/src/game/shared/weapon_ifmbase.h +++ b/sp/src/game/shared/weapon_ifmbase.h @@ -1,60 +1,60 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-//===========================================================================//
-
-#ifndef WEAPON_IFMBASE_H
-#define WEAPON_IFMBASE_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-
-#if defined( CLIENT_DLL )
- #define CWeaponIFMBase C_WeaponIFMBase
-#endif
-
-#if defined ( DOD_DLL )
- #include "weapon_dodbase.h"
- #define CWeaponModBaseClass CWeaponDODBase
-#elif defined ( TF_CLIENT_DLL ) || defined ( TF_DLL )
- #include "tf_weaponbase.h"
- #define CWeaponModBaseClass CTFWeaponBase
-#endif
-
-class CWeaponIFMBase : public CWeaponModBaseClass
-{
-public:
- DECLARE_CLASS( CWeaponIFMBase, CWeaponModBaseClass );
- DECLARE_NETWORKCLASS();
- DECLARE_PREDICTABLE();
-
- CWeaponIFMBase();
-
-#ifdef GAME_DLL
- DECLARE_DATADESC();
-#endif
-
- // All predicted weapons need to implement and return true
- virtual bool IsPredicted() const;
-
-// virtual void FallInit( void );
-
-public:
-#if defined( CLIENT_DLL )
- virtual bool ShouldPredict();
- virtual void OnDataChanged( DataUpdateType_t type );
-#else
- virtual void Spawn();
-
- // FIXME: How should this work? This is a hack to get things working
- virtual const unsigned char *GetEncryptionKey( void ) { return NULL; }
-#endif
-
-private:
- CWeaponIFMBase( const CWeaponIFMBase & );
-};
-
-
-#endif // WEAPON_IFMBASE_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//===========================================================================// + +#ifndef WEAPON_IFMBASE_H +#define WEAPON_IFMBASE_H +#ifdef _WIN32 +#pragma once +#endif + + +#if defined( CLIENT_DLL ) + #define CWeaponIFMBase C_WeaponIFMBase +#endif + +#if defined ( DOD_DLL ) + #include "weapon_dodbase.h" + #define CWeaponModBaseClass CWeaponDODBase +#elif defined ( TF_CLIENT_DLL ) || defined ( TF_DLL ) + #include "tf_weaponbase.h" + #define CWeaponModBaseClass CTFWeaponBase +#endif + +class CWeaponIFMBase : public CWeaponModBaseClass +{ +public: + DECLARE_CLASS( CWeaponIFMBase, CWeaponModBaseClass ); + DECLARE_NETWORKCLASS(); + DECLARE_PREDICTABLE(); + + CWeaponIFMBase(); + +#ifdef GAME_DLL + DECLARE_DATADESC(); +#endif + + // All predicted weapons need to implement and return true + virtual bool IsPredicted() const; + +// virtual void FallInit( void ); + +public: +#if defined( CLIENT_DLL ) + virtual bool ShouldPredict(); + virtual void OnDataChanged( DataUpdateType_t type ); +#else + virtual void Spawn(); + + // FIXME: How should this work? This is a hack to get things working + virtual const unsigned char *GetEncryptionKey( void ) { return NULL; } +#endif + +private: + CWeaponIFMBase( const CWeaponIFMBase & ); +}; + + +#endif // WEAPON_IFMBASE_H |