aboutsummaryrefslogtreecommitdiff
path: root/source2-basehook/Renderer/Renderer.hpp
diff options
context:
space:
mode:
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