Initial commit

This commit is contained in:
drof
2026-11-05 02:19:09 +01:00
commit 13f8503697
125 changed files with 17029 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#pragma once
class c_render
{
public:
size_t get_text_width(const char* text, size_t font_size);
void draw_rect(respawn::color_t color, int x1, int y1, int x2, int y2, int opacity = 255);
void draw_rect_filled(respawn::color_t color, int x1, int y1, int x2, int y2, int opacity = 255);
void draw_line(respawn::color_t color, int x1, int y1, int x2, int y2, int opacity = 255);
void draw_rect_bordered(respawn::color_t sColor, float flX0, float flY0, float flX1, float flY1, int opacity = 255);
void draw_circle(respawn::color_t color, int x, int y, int radius, int segments = 100, int opacity = 255);
void draw_text(respawn::color_t color, ulong font, int size, int x, int y, const char* text);
void draw_text_ex(respawn::color_t color, ulong font, int size, int x, int y, const char* text, ...);
void draw_text_centered(respawn::color_t color, ulong font, int size, int x, int y, const char* text, ...);
private:
};