first commit

This commit is contained in:
murdle
2026-03-01 02:38:58 +02:00
commit 19250b9db4
19111 changed files with 4358159 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
#pragma once
#include "Model.h"
#include "ModelPart.h"
class DragonModel : public Model
{
public:
static const int MODEL_ID = 4;
private:
ModelPart *head;
ModelPart *neck;
ModelPart *jaw;
ModelPart *body;
ModelPart *rearLeg;
ModelPart *frontLeg;
ModelPart *rearLegTip;
ModelPart *frontLegTip;
ModelPart *rearFoot;
ModelPart *frontFoot;
ModelPart *wing;
ModelPart *wingTip;
float a;
public:
ModelPart *cubes[5];
DragonModel(float g);
void prepareMobModel(shared_ptr<Mob> mob, float time, float r, float a);
virtual void render(shared_ptr<Entity> entity, float time, float r, float bob, float yRot, float xRot, float scale, bool usecompiled);
private:
float rotWrap(double d);
};