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
+44
View File
@@ -0,0 +1,44 @@
#pragma once
namespace respawn
{
class c_mat_system_surface
{
public:
void draw_set_color(int r, int g, int b, int a)
{
return vfunc::call<14, void>(this, r, g, b, a);
}
void draw_filled_rect(int x1, int y1, int x2, int y2)
{
return vfunc::call<16, void>(this, x1, y1, x2, y2);
}
void draw_outlined_rect(int x1, int y1, int x2, int y2)
{
return vfunc::call<19, void>(this, x1, y1, x2, y2);
}
void draw_line(int x1, int y1, int x2, int y2)
{
return vfunc::call<20, void>(this, x1, y1, x2, y2);
}
void draw_text(unsigned long font, int size, int x, int y, int r, int g, int b, int a, unsigned int a10, const char* str)
{
return vfunc::call<200, void>(this, font, size, x, y, r, g, b, a, a10, str);
}
void draw_outlined_circle(int x, int y, int radius, int segments)
{
return vfunc::call<125, void>(this, x, y, radius, segments);
}
void get_screen_size(int& wide, int& tall)
{
return vfunc::call<53, void>(this, &wide, &tall);
}
private:
};
}