blob: 6c718fb92eae7da3e9dcffde45bf249bb38e8415 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#pragma once
#include "MobRenderer.h"
class HumanoidModel;
class Giant;
class HumanoidMobRenderer : public MobRenderer
{
protected:
HumanoidModel *humanoidModel;
float _scale;
HumanoidModel *armorParts1;
HumanoidModel *armorParts2;
void _init(HumanoidModel *humanoidModel, float scale);
public:
HumanoidMobRenderer(HumanoidModel *humanoidModel, float shadow);
HumanoidMobRenderer(HumanoidModel *humanoidModel, float shadow, float scale);
protected:
virtual void createArmorParts();
virtual void additionalRendering(shared_ptr<Mob> mob, float a);
void scale(shared_ptr<Mob> mob, float a);
};
|