diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-12 19:31:23 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-12 19:31:23 +0200 |
commit | dc444b9ca06efd32eb624e5da063cfec309a086a (patch) | |
tree | 0d39d226b09d29ffabc1c8ba37573198772a2646 /src/render/Sprite2d.h | |
parent | fix garages (diff) | |
parent | CClouds; disabled object clipping for SA cam (diff) | |
download | re3-dc444b9ca06efd32eb624e5da063cfec309a086a.tar re3-dc444b9ca06efd32eb624e5da063cfec309a086a.tar.gz re3-dc444b9ca06efd32eb624e5da063cfec309a086a.tar.bz2 re3-dc444b9ca06efd32eb624e5da063cfec309a086a.tar.lz re3-dc444b9ca06efd32eb624e5da063cfec309a086a.tar.xz re3-dc444b9ca06efd32eb624e5da063cfec309a086a.tar.zst re3-dc444b9ca06efd32eb624e5da063cfec309a086a.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 0e12d441..04b40591 100644 --- a/src/render/Sprite2d.h +++ b/src/render/Sprite2d.h @@ -46,6 +46,8 @@ public: static void DrawRect(const CRect &r, const CRGBA &c0, const CRGBA &c1, const CRGBA &c2, const CRGBA &c3); 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 DrawAnyRect(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, + 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); |