forked from mirrors/kolyah35-minecraft-pe-0.6.1
the whole game
This commit is contained in:
parent
816e9060b4
commit
f0617a5d22
2069 changed files with 581500 additions and 0 deletions
26
src/client/renderer/entity/PlayerRenderer.h
Executable file
26
src/client/renderer/entity/PlayerRenderer.h
Executable file
|
|
@ -0,0 +1,26 @@
|
|||
#ifndef NET_MINECRAFT_CLIENT_RENDERER_ENTITY__PlayerRenderer_H__
|
||||
#define NET_MINECRAFT_CLIENT_RENDERER_ENTITY__PlayerRenderer_H__
|
||||
|
||||
#include "HumanoidMobRenderer.h"
|
||||
|
||||
class PlayerRenderer : public HumanoidMobRenderer
|
||||
{
|
||||
typedef HumanoidMobRenderer super;
|
||||
public:
|
||||
PlayerRenderer(HumanoidModel* humanoidModel, float shadow);
|
||||
~PlayerRenderer();
|
||||
|
||||
virtual int prepareArmor(Mob* mob, int layer, float a);
|
||||
|
||||
virtual void setupPosition(Entity* mob, float x, float y, float z);
|
||||
virtual void setupRotations(Entity* mob, float bob, float bodyRot, float a);
|
||||
|
||||
virtual void renderName(Mob* mob, float x, float y, float z);
|
||||
virtual void onGraphicsReset();
|
||||
private:
|
||||
HumanoidModel* armorParts1;
|
||||
HumanoidModel* armorParts2;
|
||||
};
|
||||
|
||||
|
||||
#endif /* NET_MINECRAFT_CLIENT_RENDERER_ENTITY__PlayerRenderer_H__ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue