diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-10-06 13:26:50 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-10-06 13:26:50 +0200 |
commit | e10f5ee6a3f94a5ff2559f868c884e47d4628271 (patch) | |
tree | 3b2a2ceafc26e4215b49bf56e75cf80568251f26 /src/render/Sprite2d.h | |
parent | car AI (diff) | |
parent | Fixed player blip heading when looking left/right/behind (diff) | |
download | re3-e10f5ee6a3f94a5ff2559f868c884e47d4628271.tar re3-e10f5ee6a3f94a5ff2559f868c884e47d4628271.tar.gz re3-e10f5ee6a3f94a5ff2559f868c884e47d4628271.tar.bz2 re3-e10f5ee6a3f94a5ff2559f868c884e47d4628271.tar.lz re3-e10f5ee6a3f94a5ff2559f868c884e47d4628271.tar.xz re3-e10f5ee6a3f94a5ff2559f868c884e47d4628271.tar.zst re3-e10f5ee6a3f94a5ff2559f868c884e47d4628271.zip |
Diffstat (limited to 'src/render/Sprite2d.h')
-rw-r--r-- | src/render/Sprite2d.h | 2 |
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; }; }; |