#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); }