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.
This commit is contained in:
ChristianFalegnami
2026-03-12 23:51:35 +01:00
parent beec56d3be
commit 71018169b5
36 changed files with 469 additions and 1 deletions

View File

@@ -0,0 +1,29 @@
#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;
};