forked from Kolyah35/minecraft-pe-0.6.1
the whole game
This commit is contained in:
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__ */
|
||||
Reference in New Issue
Block a user