summaryrefslogtreecommitdiffstats
path: root/src/render/Sprite2d.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-10-05 16:32:01 +0200
committerSergeanur <s.anureev@yandex.ua>2019-10-05 16:32:01 +0200
commit365f9e9caff6f61ef08ca67526fd85f9a010d965 (patch)
tree685c0033f54e2a1210a92ad213e950dceef33940 /src/render/Sprite2d.h
parentMerge pull request #224 from erorcun/erorcun (diff)
downloadre3-365f9e9caff6f61ef08ca67526fd85f9a010d965.tar
re3-365f9e9caff6f61ef08ca67526fd85f9a010d965.tar.gz
re3-365f9e9caff6f61ef08ca67526fd85f9a010d965.tar.bz2
re3-365f9e9caff6f61ef08ca67526fd85f9a010d965.tar.lz
re3-365f9e9caff6f61ef08ca67526fd85f9a010d965.tar.xz
re3-365f9e9caff6f61ef08ca67526fd85f9a010d965.tar.zst
re3-365f9e9caff6f61ef08ca67526fd85f9a010d965.zip
Diffstat (limited to 'src/render/Sprite2d.h')
-rw-r--r--src/render/Sprite2d.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/Sprite2d.h b/src/render/Sprite2d.h
index e0f19ef1..268c7d2b 100644
--- a/src/render/Sprite2d.h
+++ b/src/render/Sprite2d.h
@@ -47,5 +47,7 @@ public:
static void DrawRect(const CRect &r, const CRGBA &col);
static void DrawRectXLU(const CRect &r, const CRGBA &c0, const CRGBA &c1, const CRGBA &c2, const CRGBA &c3);
+ static void Draw2DPolygon(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, const CRGBA &color);
+
static RwIm2DVertex* GetVertices() { return maVertices; };
};