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.

29 lines
601 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef MAPENTITIES_H
  8. #define MAPENTITIES_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. class Vector;
  13. class IMapEntities
  14. {
  15. public:
  16. virtual void CheckUpdateMap( char const *mapname ) = 0;
  17. virtual bool LookupOrigin( char const *name, Vector& origin, QAngle& angles ) = 0;
  18. virtual int Count() = 0;
  19. virtual char const *GetName( int number ) = 0;
  20. };
  21. extern IMapEntities *mapentities;
  22. #endif // MAPENTITIES_H