summaryrefslogtreecommitdiff
path: root/utils/common/scratchpad_helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/common/scratchpad_helpers.h')
-rw-r--r--utils/common/scratchpad_helpers.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/utils/common/scratchpad_helpers.h b/utils/common/scratchpad_helpers.h
new file mode 100644
index 0000000..29e5a12
--- /dev/null
+++ b/utils/common/scratchpad_helpers.h
@@ -0,0 +1,25 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================//
+
+#ifndef SCRATCHPAD_HELPERS_H
+#define SCRATCHPAD_HELPERS_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+
+#include "iscratchpad3d.h"
+#include "bspfile.h"
+
+
+void ScratchPad_DrawWinding( IScratchPad3D *pPad, int nPoints, Vector *pPoints, Vector vColor, Vector vOffset = Vector(0,0,0) );
+
+void ScratchPad_DrawFace( IScratchPad3D *pPad, dface_t *f, int iFaceNumber = -1, const CSPColor &faceColor=CSPColor(1,1,1,1), const Vector &vOffset=Vector(0,0,0) );
+void ScratchPad_DrawWorld( IScratchPad3D *pPad, bool bDrawFaceNumbers, const CSPColor &faceColor=CSPColor(1,1,1,1) );
+void ScratchPad_DrawWorld( bool bDrawFaceNumbers, const CSPColor &faceColor=CSPColor(1,1,1,1) );
+
+
+#endif // SCRATCHPAD_HELPERS_H