Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.3 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. //========= Copyright � 1996-2001, Valve LLC, All rights reserved. ============
  8. //
  9. // Purpose:
  10. //
  11. // $NoKeywords: $
  12. //=============================================================================
  13. #include "cbase.h"
  14. #include "gamemovement.h"
  15. #include "sdk_gamerules.h"
  16. #include "sdk_shareddefs.h"
  17. #include "in_buttons.h"
  18. #include "movevars_shared.h"
  19. #ifdef CLIENT_DLL
  20. #include "c_sdk_player.h"
  21. #else
  22. #include "sdk_player.h"
  23. #endif
  24. class CSDKGameMovement : public CGameMovement
  25. {
  26. public:
  27. DECLARE_CLASS( CSDKGameMovement, CGameMovement );
  28. CSDKGameMovement();
  29. };
  30. // Expose our interface.
  31. static CSDKGameMovement g_GameMovement;
  32. IGameMovement *g_pGameMovement = ( IGameMovement * )&g_GameMovement;
  33. EXPOSE_SINGLE_INTERFACE_GLOBALVAR(CGameMovement, IGameMovement,INTERFACENAME_GAMEMOVEMENT, g_GameMovement );
  34. // ---------------------------------------------------------------------------------------- //
  35. // CSDKGameMovement.
  36. // ---------------------------------------------------------------------------------------- //
  37. CSDKGameMovement::CSDKGameMovement()
  38. {
  39. //m_vecViewOffsetNormal = SDK_PLAYER_VIEW_OFFSET;
  40. }