mirror of
https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-03-20 06:53:30 +00:00
29 lines
919 B
C++
Executable File
29 lines
919 B
C++
Executable File
#ifndef NET_MINECRAFT_CLIENT_MODEL__HumanoidModel_H__
|
|
#define NET_MINECRAFT_CLIENT_MODEL__HumanoidModel_H__
|
|
|
|
//package net.minecraft.client.model;
|
|
|
|
#include "Model.h"
|
|
#include "geom/ModelPart.h"
|
|
class ItemInstance;
|
|
class HumanoidModel: public Model
|
|
{
|
|
public:
|
|
HumanoidModel(float g = 0, float yOffset = 0, int texW = 64, int texH = 32);
|
|
|
|
void setupAnim(float time, float r, float bob, float yRot, float xRot, float scale);
|
|
|
|
void render(HumanoidModel* model, float scale);
|
|
void render(Entity* e, float time, float r, float bob, float yRot, float xRot, float scale);
|
|
void renderHorrible(float time, float r, float bob, float yRot, float xRot, float scale);
|
|
void onGraphicsReset();
|
|
|
|
ModelPart head, hair, body, arm0, arm1, leg0, leg1;//, ear;
|
|
bool holdingLeftHand;
|
|
bool holdingRightHand;
|
|
bool sneaking;
|
|
bool bowAndArrow;
|
|
};
|
|
|
|
#endif /*NET_MINECRAFT_CLIENT_MODEL__HumanoidModel_H__*/
|