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 OzelotModel : public Model
6{
7private:
8 ModelPart *backLegL, *backLegR;
9 ModelPart *frontLegL, *frontLegR;
10 ModelPart *tail1, *tail2, *head, *body;
11
12 static const int SNEAK_STATE = 0;
13 static const int WALK_STATE = 1;
14 static const int SPRINT_STATE = 2;
15 static const int SITTING_STATE = 3;
16
17 int state;
18
19 static const float xo;
20 static const float yo;
21 static const float zo;
22
23 static const float headWalkY;
24 static const float headWalkZ;
25 static const float bodyWalkY;
26 static const float bodyWalkZ;
27 static const float tail1WalkY;
28 static const float tail1WalkZ;
29 static const float tail2WalkY;
30 static const float tail2WalkZ;
31 static const float backLegY;
32 static const float backLegZ;
33 static const float frontLegY;
34 static const float frontLegZ ;
35
36public:
37 OzelotModel();
38
39 void render(shared_ptr<Entity> entity, float time, float r, float bob, float yRot, float xRot, float scale, bool usecompiled);
40 void render(OzelotModel *model, float scale, bool usecompiled);
41 void setupAnim(float time, float r, float bob, float yRot, float xRot, float scale, unsigned int uiBitmaskOverrideAnim=0);
42 void prepareMobModel(shared_ptr<Mob> mob, float time, float r, float a);
43};