Counter Strike : Global Offensive Source Code
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.

49 lines
1.0 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Resource collection entity
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef SKYCAMERA_H
  8. #define SKYCAMERA_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. class CSkyCamera;
  13. //=============================================================================
  14. //
  15. // Sky Camera Class
  16. //
  17. class CSkyCamera : public CLogicalEntity
  18. {
  19. DECLARE_CLASS( CSkyCamera, CLogicalEntity );
  20. public:
  21. DECLARE_DATADESC();
  22. CSkyCamera();
  23. ~CSkyCamera();
  24. virtual void Spawn( void );
  25. virtual void Activate();
  26. void InputActivateSkybox( inputdata_t &inputdata );
  27. public:
  28. sky3dparams_t m_skyboxData;
  29. bool m_bUseAngles;
  30. CSkyCamera *m_pNext;
  31. };
  32. //-----------------------------------------------------------------------------
  33. // Retrives the current skycamera
  34. //-----------------------------------------------------------------------------
  35. CSkyCamera* GetCurrentSkyCamera();
  36. CSkyCamera* GetSkyCameraList();
  37. #endif // SKYCAMERA_H