mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-23 06:36:54 +00:00
20 lines
521 B
C
20 lines
521 B
C
//========= Copyright Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose:
|
|
//
|
|
//===========================================================================//
|
|
|
|
#ifndef SURFACEHANDLE_H
|
|
#define SURFACEHANDLE_H
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
struct msurface2_t;
|
|
typedef msurface2_t *SurfaceHandle_t;
|
|
typedef msurface2_t * RESTRICT SurfaceHandleRestrict_t;
|
|
const SurfaceHandle_t SURFACE_HANDLE_INVALID = NULL;
|
|
#define IS_SURF_VALID(surfID) ( surfID != SURFACE_HANDLE_INVALID )
|
|
|
|
#endif // SURFACEHANDLE_H
|