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.

19 lines
521 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //===========================================================================//
  6. #ifndef SURFACEHANDLE_H
  7. #define SURFACEHANDLE_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. struct msurface2_t;
  12. typedef msurface2_t *SurfaceHandle_t;
  13. typedef msurface2_t * RESTRICT SurfaceHandleRestrict_t;
  14. const SurfaceHandle_t SURFACE_HANDLE_INVALID = NULL;
  15. #define IS_SURF_VALID(surfID) ( surfID != SURFACE_HANDLE_INVALID )
  16. #endif // SURFACEHANDLE_H