Dateien nach "inc" hochladen

This commit is contained in:
2026-11-07 20:24:56 +00:00
parent 03eeb724ee
commit 959388d2c4
4 changed files with 112 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#pragma once
namespace render
{
inline void draw_set_color(Context* ctx, int r, int g, int b, int a)
{
return ctx->pfn_draw_set_color(*ctx->mss_ptr, r, g, b, a);
}
inline void draw_filled_rect(Context* ctx, int x0, int y0, int x1, int y1)
{
return ctx->pfn_draw_filled_rect(*ctx->mss_ptr, x0, y0, x1, y1);
}
inline void draw_outlined_rect(Context* ctx, int x0, int y0, int x1, int y1)
{
return ctx->pfn_draw_outlined_rect(*ctx->mss_ptr, x0, y0, x1, y1);
}
extern void tick( Context* ctx );
extern bool w2s(Context* ctx, Vector3D &vIn, Vector3D* vOut);
}