the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2
3#include "Model.h"
4
5class ModelPart;
6
7class VillagerGolemModel : public Model
8{
9public:
10 ModelPart *head, *body, *arm0, *arm1, *leg0, *leg1;
11
12 //VillagerGolemModel()
13 //{
14 // this(0);
15 //}
16
17 //VillagerGolemModel(float g)
18 //{
19 // this(g, -7);
20 //}
21
22 VillagerGolemModel(float g = 0.0f, float yOffset = -7.0f);
23
24 void render(shared_ptr<Entity> entity, float time, float r, float bob, float yRot, float xRot, float scale, bool usecompiled);
25 void setupAnim(float time, float r, float bob, float yRot, float xRot, float scale, shared_ptr<Entity> entity, unsigned int uiBitmaskOverrideAnim=0);
26 void prepareMobModel(shared_ptr<LivingEntity> mob, float time, float r, float a);
27
28private:
29 float triangleWave(float bob, float period);
30};