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.

47 lines
1005 B

  1. //========= Copyright 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. public:
  27. sky3dparams_t m_skyboxData;
  28. bool m_bUseAngles;
  29. CSkyCamera *m_pNext;
  30. };
  31. //-----------------------------------------------------------------------------
  32. // Retrives the current skycamera
  33. //-----------------------------------------------------------------------------
  34. CSkyCamera* GetCurrentSkyCamera();
  35. CSkyCamera* GetSkyCameraList();
  36. #endif // SKYCAMERA_H