Update PlayerRenderer.h

Switch between Steve and Alex

Respect 64x32 and 64x64

React to the skin flag
This commit is contained in:
Oliver1337 2026-03-09 18:28:18 -03:00 committed by GitHub
parent 78bb793933
commit ffb9dbf227
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,11 +16,17 @@ private:
HumanoidModel *humanoidModel;
HumanoidModel *armorParts1;
HumanoidModel *armorParts2;
int m_iCurrentPlayerModelType;
int m_iCurrentPlayerTexWidth;
int m_iCurrentPlayerTexHeight;
public:
PlayerRenderer();
static unsigned int getNametagColour(int index);
void createArmorParts(bool slimArms);
void setPlayerModelType(int type);
void setPlayerSkinModel(int type, int texWidth, int texHeight);
private:
static const wstring MATERIAL_NAMES[5];
@ -52,4 +58,4 @@ public:
using LivingEntityRenderer::bindTexture;
virtual void bindTexture(shared_ptr<Entity> entity); // 4J Added override
};
};