aboutsummaryrefslogtreecommitdiff
path: root/source2-basehook/Renderer/Renderer.hpp
diff options
context:
space:
mode:
authorjz0 <[email protected]>2020-05-03 22:38:59 +0300
committerjz0 <[email protected]>2020-05-03 22:38:59 +0300
commitfdb81a898151278a66af544dfae6bfcbbf9dc3d2 (patch)
tree8884fc5c21b3daf0a32cc145c4488b9e708deec4 /source2-basehook/Renderer/Renderer.hpp
downloadarchived-source2-basehook-fdb81a898151278a66af544dfae6bfcbbf9dc3d2.tar.xz
archived-source2-basehook-fdb81a898151278a66af544dfae6bfcbbf9dc3d2.zip
Initial commit
Diffstat (limited to 'source2-basehook/Renderer/Renderer.hpp')
-rw-r--r--source2-basehook/Renderer/Renderer.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/source2-basehook/Renderer/Renderer.hpp b/source2-basehook/Renderer/Renderer.hpp
new file mode 100644
index 0000000..9d65fd2
--- /dev/null
+++ b/source2-basehook/Renderer/Renderer.hpp
@@ -0,0 +1,17 @@
+#pragma once
+#include "../Source2SDK/SDK.hpp"
+#include "../Include.hpp"
+
+namespace EngineRenderer
+{
+ void DrawRect(int x, int y, int w, int h, Color color);
+ void DrawOutlinedRect(int x, int y, int w, int h, Color color);
+ void DrawGradientRect(Vector2D Position, Vector2D Size, Color Top, Color Bottom, bool Horizontal);
+ void DrawLine(int x0, int y0, int x1, int y1, Color color);
+ void DrawColoredCircle(int x, int y, float radius, Color color);
+ void DrawTexturedPolygon(int n, Vertex_t* vertice, Color color);
+ void DrawFilledCircle(Vector2D position, float smoothness, float radius, Color color);
+ void DrawString(unsigned long font, int x, int y, Color color, const char* str, ...);
+}
+
+extern IVGuiPaintSurface* pRendererSurface; \ No newline at end of file