This is one of the first commits in a plan to remove all `using namespace std;` lines in the entire codebase as it is considered anti-pattern today.
35 lines
721 B
C++
35 lines
721 B
C++
#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(std::shared_ptr<Mob> mob, float time, float r, float a);
|
|
virtual void render(std::shared_ptr<Entity> entity, float time, float r, float bob, float yRot, float xRot, float scale, bool usecompiled);
|
|
|
|
private:
|
|
float rotWrap(double d);
|
|
|
|
}; |