mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Update PlayerRenderer.h
Switch between Steve and Alex Respect 64x32 and 64x64 React to the skin flag
This commit is contained in:
parent
78bb793933
commit
ffb9dbf227
|
|
@ -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
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue