the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 26 lines 644 B view raw
1#pragma once 2 3#include "Model.h" 4 5class SilverfishModel : public Model 6{ 7 8private: 9 static const int BODY_COUNT = 7; 10 11private: 12 ModelPartArray bodyParts; 13 ModelPartArray bodyLayers; 14 float zPlacement[BODY_COUNT]; 15 16 static const int BODY_SIZES[BODY_COUNT][3]; 17 18 static const int BODY_TEXS[BODY_COUNT][2]; 19 20public: 21 SilverfishModel(); 22 23 int modelVersion(); 24 void render(shared_ptr<Entity> entity, float time, float r, float bob, float yRot, float xRot, float scale, bool usecompiled); 25 virtual void setupAnim(float time, float r, float bob, float yRot, float xRot, float scale, shared_ptr<Entity> entity, unsigned int uiBitmaskOverrideAnim=0); 26};