summaryrefslogtreecommitdiff
path: root/engine/surfacehandle.h
diff options
context:
space:
mode:
Diffstat (limited to 'engine/surfacehandle.h')
-rw-r--r--engine/surfacehandle.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/engine/surfacehandle.h b/engine/surfacehandle.h
new file mode 100644
index 0000000..696bca9
--- /dev/null
+++ b/engine/surfacehandle.h
@@ -0,0 +1,19 @@
+//========= 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