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,37 @@
#pragma once
#include "Fireball.h"
class HitResult;
class DragonFireball : public Fireball
{
public:
eINSTANCEOF GetType() { return eTYPE_DRAGON_FIREBALL; }
static Entity *create(Level *level) { return new DragonFireball(level); }
public:
static const double SPLASH_RANGE;
private:
static const double SPLASH_RANGE_SQ;
public:
DragonFireball(Level *level);
DragonFireball(Level *level, shared_ptr<Mob> mob, double xa, double ya, double za);
DragonFireball(Level *level, double x, double y, double z, double xa, double ya, double za);
protected:
virtual void onHit(HitResult *res);
public:
virtual bool isPickable();
virtual bool hurt(DamageSource *source, int damage);
virtual bool shouldBurn();
virtual int getIcon();
protected:
// 4J Added TU9
virtual ePARTICLE_TYPE getTrailParticleType();
};