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.

32 lines
772 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef MAPDATA_SHARED_H
  8. #define MAPDATA_SHARED_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "interface.h"
  13. #include "mathlib/vector.h"
  14. #define INTERFACEVERSION_MAPDATA "MapData001"
  15. abstract_class IMapData
  16. {
  17. public:
  18. // World data queries.
  19. virtual void GetMapBounds( Vector &vecMins, Vector &vecMaxs ) = 0;
  20. virtual void GetMapOrigin( Vector &vecOrigin ) = 0;
  21. virtual void GetMapSize( Vector &vecSize ) = 0;
  22. // 3D Skybox data queries.
  23. virtual void Get3DSkyboxOrigin( Vector &vecOrigin ) = 0;
  24. virtual float Get3DSkyboxScale( void ) = 0;
  25. };
  26. #endif // MAPDATA_SHARED_H