45 lines
1017 B
C++
45 lines
1017 B
C++
#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:
|
|
};
|
|
}
|