mirror of
https://github.com/neoStudiosLCE/neoLegacy.git
synced 2026-05-22 18:45:05 +00:00
Added Brown Rabbit model and a basic ai system. added toast variant, others have to be implemented. TODO: add other variants, add their spawn in the biomes, add IDS_RABBIT And change sounds. ADD color to the spwanegg.
29 lines
666 B
C++
29 lines
666 B
C++
#pragma once
|
|
#include "Model.h"
|
|
|
|
class RabbitModel : public Model
|
|
{
|
|
private:
|
|
ModelPart *head;
|
|
ModelPart *nose;
|
|
ModelPart *leftEar;
|
|
ModelPart *rightEar;
|
|
|
|
ModelPart *body;
|
|
ModelPart *tail;
|
|
ModelPart *leftFrontLeg;
|
|
ModelPart *rightFrontLeg;
|
|
|
|
ModelPart *leftHindThigh;
|
|
ModelPart *leftHindFoot;
|
|
ModelPart *rightHindThigh;
|
|
ModelPart *rightHindFoot;
|
|
|
|
public:
|
|
RabbitModel();
|
|
|
|
virtual void render(shared_ptr<Entity> entity,
|
|
float time, float r, float bob,
|
|
float yRot, float xRot,
|
|
float scale, bool usecompiled) override;
|
|
}; |