* try to resolve merge conflict
* feat: TU19 (Dec 2014) Features & Content (#32)
* December 2014 files
* Working release build
* Fix compilation issues
* Add sound to Windows64Media
* Add DLC content and force Tutorial DLC
* Revert "Add DLC content and force Tutorial DLC"
This reverts commit 97a4399472.
* Disable broken light packing
* Disable breakpoint during DLC texture map load
Allows DLC loading but the DLC textures are still broken
* Fix post build not working
* ...
* fix vs2022 build
* fix cmake build
---------
Co-authored-by: Loki <lokirautio@gmail.com>
51 lines
1.0 KiB
C++
51 lines
1.0 KiB
C++
#pragma once
|
|
|
|
#include "Monster.h"
|
|
|
|
class Blaze : public Monster
|
|
{
|
|
public:
|
|
eINSTANCEOF GetType() { return eTYPE_BLAZE; }
|
|
static Entity *create(Level *level) { return new Blaze(level); }
|
|
|
|
// private int nextBurnNeighborsTick;
|
|
private:
|
|
float allowedHeightOffset;
|
|
int nextHeightOffsetChangeTick;
|
|
int attackCounter;
|
|
|
|
static const int DATA_FLAGS_ID = 16;
|
|
|
|
public:
|
|
Blaze(Level *level);
|
|
|
|
protected:
|
|
virtual void registerAttributes();
|
|
virtual void defineSynchedData();
|
|
virtual int getAmbientSound();
|
|
virtual int getHurtSound();
|
|
virtual int getDeathSound();
|
|
|
|
public:
|
|
virtual int getLightColor(float a);
|
|
virtual float getBrightness(float a);
|
|
virtual void aiStep();
|
|
|
|
protected:
|
|
virtual void checkHurtTarget(shared_ptr<Entity> target, float d);
|
|
virtual void causeFallDamage(float distance);
|
|
virtual int getDeathLoot();
|
|
|
|
public:
|
|
virtual bool isOnFire();
|
|
|
|
protected:
|
|
virtual void dropDeathLoot(bool wasKilledByPlayer, int playerBonusLevel);
|
|
|
|
public:
|
|
bool isCharged();
|
|
void setCharged(bool value);
|
|
|
|
protected:
|
|
bool isDarkEnoughToSpawn();
|
|
}; |