summaryrefslogtreecommitdiff
path: root/src/render/Sprite2d.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-10-05 17:32:01 +0300
committerSergeanur <s.anureev@yandex.ua>2019-10-05 17:32:01 +0300
commit365f9e9caff6f61ef08ca67526fd85f9a010d965 (patch)
tree685c0033f54e2a1210a92ad213e950dceef33940 /src/render/Sprite2d.h
parenta47f78758c86b65fe4f69111a2b5685096148ab7 (diff)
Triangular radar blips
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; };
};