summaryrefslogtreecommitdiffstats
path: root/src/render/Sprite2d.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-16 14:30:47 +0200
committerSergeanur <s.anureev@yandex.ua>2020-04-16 14:30:47 +0200
commit83cbe4e39ede4853e0d352e55aeddbd481b39948 (patch)
tree982648ce860ac1c50233df806798a8b9412819fe /src/render/Sprite2d.cpp
parentadd textures in correct order (diff)
downloadre3-83cbe4e39ede4853e0d352e55aeddbd481b39948.tar
re3-83cbe4e39ede4853e0d352e55aeddbd481b39948.tar.gz
re3-83cbe4e39ede4853e0d352e55aeddbd481b39948.tar.bz2
re3-83cbe4e39ede4853e0d352e55aeddbd481b39948.tar.lz
re3-83cbe4e39ede4853e0d352e55aeddbd481b39948.tar.xz
re3-83cbe4e39ede4853e0d352e55aeddbd481b39948.tar.zst
re3-83cbe4e39ede4853e0d352e55aeddbd481b39948.zip
Diffstat (limited to '')
-rw-r--r--src/render/Sprite2d.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/render/Sprite2d.cpp b/src/render/Sprite2d.cpp
index 3f21516a..1fe70121 100644
--- a/src/render/Sprite2d.cpp
+++ b/src/render/Sprite2d.cpp
@@ -5,13 +5,13 @@
#include "Camera.h"
#include "Sprite2d.h"
-RwIm2DVertex *CSprite2d::maVertices = (RwIm2DVertex*)0x6E9168;
-float &CSprite2d::RecipNearClip = *(float*)0x880DB4;
-int32 &CSprite2d::mCurrentBank = *(int32*)0x8F1AF4;
-RwTexture **CSprite2d::mpBankTextures = (RwTexture**)0x774DC0;
-int32 *CSprite2d::mCurrentSprite = (int32*)0x6F4500;
-int32 *CSprite2d::mBankStart = (int32*)0x774BE8;
-RwIm2DVertex *CSprite2d::maBankVertices = (RwIm2DVertex*)0x8429F8;
+RwIm2DVertex CSprite2d::maVertices[4];
+float CSprite2d::RecipNearClip;
+int32 CSprite2d::mCurrentBank;
+RwTexture *CSprite2d::mpBankTextures[10];
+int32 CSprite2d::mCurrentSprite[10];
+int32 CSprite2d::mBankStart[10];
+RwIm2DVertex CSprite2d::maBankVertices[500];
void
CSprite2d::SetRecipNearClip(void)