File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Plugins/Include/PGUIRenderer Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -894,14 +894,14 @@ class TNodeList
894894};
895895
896896template <typename T>
897- class TNodeListNodeWrapper : public Toshi ::TNodeList<TNodeListNodeWrapper <T>>::TNode
897+ class TNodeWrapper : public Toshi ::TNodeList<TNodeWrapper <T>>::TNode
898898{
899899public:
900900 using Type = T;
901901
902902public:
903- TNodeListNodeWrapper () {}
904- TNodeListNodeWrapper (Type *a_pValue)
903+ TNodeWrapper () {}
904+ TNodeWrapper (Type *a_pValue)
905905 : m_pValue(a_pValue) {}
906906
907907 Type *Get () const { return m_pValue; }
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ class PGUIRENDERER_EXPORTS PGUITRTextureFactory : public Toshi::TGUITextureFacto
4646 class TextureSet
4747 {
4848 public:
49- using TextureNode = Toshi::TNodeListNodeWrapper <Texture>;
49+ using TextureNode = Toshi::TNodeWrapper <Texture>;
5050
5151 public:
5252 TextureSet (PGUITRTextureFactory *a_pTextureFactory);
Original file line number Diff line number Diff line change @@ -172,8 +172,8 @@ class TSpriteShader : public TShader
172172 TVector2 m_vUV2; // 0x6C
173173 TVertexPoolResourceInterface::LockBuffer m_VertexLockBuffer; // 0xE0
174174 TBOOL m_bForceRender; // 0xC8
175- TNodeList<TNodeListNodeWrapper <TSpriteMesh>> m_aMeshes; // 0xCC
176- TNodeListNodeWrapper <TSpriteMesh> *m_pCurrentMesh; // 0xDC
175+ TNodeList<TNodeWrapper <TSpriteMesh>> m_aMeshes; // 0xCC
176+ TNodeWrapper <TSpriteMesh> *m_pCurrentMesh; // 0xDC
177177 TMatrix44 m_oModelViewMatrix; // 0x8C
178178 TUSHORT m_iNumIndices; // 0x110
179179 TUSHORT m_iNumVertices; // 0x114
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ TBOOL TSpriteShader::Create()
5757 TSpriteMesh *pMeshes = CreateMesh (256 , iMeshSize);
5858 for (size_t i = 0 ; i < 256 ; i++) {
5959 pMeshes[i].Create (m_uiFlags, m_usMaxStaticVertices, m_usMaxStaticIndices);
60- m_aMeshes.InsertTail (*(new TNodeListNodeWrapper <TSpriteMesh>(&pMeshes[i])));
60+ m_aMeshes.InsertTail (*(new TNodeWrapper <TSpriteMesh>(&pMeshes[i])));
6161 }
6262 return TTRUE;
6363}
@@ -145,7 +145,7 @@ void TSpriteShader::FUN_10001b60()
145145{
146146 TSpriteMesh *pMesh = CreateMesh (TNULL);
147147 pMesh->Create (m_uiFlags, m_usMaxStaticVertices, m_usMaxStaticIndices);
148- m_aMeshes.InsertTail (*(new TNodeListNodeWrapper <TSpriteMesh>(pMesh)));
148+ m_aMeshes.InsertTail (*(new TNodeWrapper <TSpriteMesh>(pMesh)));
149149}
150150
151151TOSHI_NAMESPACE_END
You can’t perform that action at this time.
0 commit comments