summaryrefslogtreecommitdiffstats
path: root/src/render/Sprite2d.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-08-13 18:47:39 +0200
committeraap <aap@papnet.eu>2020-08-13 18:47:39 +0200
commitcdebea71f39377418355efdc86e2d6501cbf292f (patch)
treeaf8a5779be178c6b0358c5e07cda660d22fea8a7 /src/render/Sprite2d.h
parentfix render poly bug (diff)
downloadre3-cdebea71f39377418355efdc86e2d6501cbf292f.tar
re3-cdebea71f39377418355efdc86e2d6501cbf292f.tar.gz
re3-cdebea71f39377418355efdc86e2d6501cbf292f.tar.bz2
re3-cdebea71f39377418355efdc86e2d6501cbf292f.tar.lz
re3-cdebea71f39377418355efdc86e2d6501cbf292f.tar.xz
re3-cdebea71f39377418355efdc86e2d6501cbf292f.tar.zst
re3-cdebea71f39377418355efdc86e2d6501cbf292f.zip
Diffstat (limited to '')
-rw-r--r--src/render/Sprite2d.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/Sprite2d.h b/src/render/Sprite2d.h
index 1adb5d49..5abd8d71 100644
--- a/src/render/Sprite2d.h
+++ b/src/render/Sprite2d.h
@@ -4,6 +4,7 @@ class CSprite2d
{
static float RecipNearClip;
static float NearScreenZ;
+ static float NearCamZ; // not original
static int nextBufferVertex;
static int nextBufferIndex;
static RwIm2DVertex maVertices[8];
@@ -27,7 +28,7 @@ public:
void Draw(const CRect &rect, const CRGBA &c0, const CRGBA &c1, const CRGBA &c2, const CRGBA &c3);
void Draw(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, const CRGBA &col);
- static void SetVertices(const CRect &r, const CRGBA &c0, const CRGBA &c1, const CRGBA &c2, const CRGBA &c3, uint32 far);
+ static void SetVertices(const CRect &r, const CRGBA &c0, const CRGBA &c1, const CRGBA &c2, const CRGBA &c3);
static void SetVertices(const CRect &r, const CRGBA &c0, const CRGBA &c1, const CRGBA &c2, const CRGBA &c3,
float u0, float v0, float u1, float v1, float u3, float v3, float u2, float v2);
static void SetVertices(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4,