1
This commit is contained in:
parent
33f7272337
commit
a1636c4ed4
@ -338,7 +338,7 @@ void Car::OnExplosionHit(Explosion* e)
|
||||
dmg_out);
|
||||
}
|
||||
|
||||
void Car::DecHP(float dec_hp, int killer_id, const std::string& killer_name, int weapon_id,
|
||||
void Car::DecHP(float dec_hp, int killer_id, const std::string killer_name, int weapon_id,
|
||||
int real_killer_id, const std::string real_killer_name,
|
||||
float& real_dmg_out)
|
||||
{
|
||||
|
@ -36,7 +36,7 @@ class Car : public Creature
|
||||
virtual float GetRadius() override;
|
||||
virtual float GetSpeed() override;
|
||||
virtual void DecHP(float dec_hp,
|
||||
int killer_id, const std::string& killer_name, int weapon_id,
|
||||
int killer_id, const std::string killer_name, int weapon_id,
|
||||
int real_killer_id, const std::string real_killer_name,
|
||||
float& real_dmg_out) override;
|
||||
virtual void SendDebugMsg(const std::string& debug_msg) override;
|
||||
|
@ -220,7 +220,7 @@ class Creature : public MoveableEntity
|
||||
Player* AsPlayer() { return IsPlayer() ? (Player*)this : nullptr; };
|
||||
Car* AsCar() { return IsCar() ? (Car*)this : nullptr; };
|
||||
virtual void DecHP(float dec_hp, int killer_id,
|
||||
const std::string& killer_name, int weapon_id,
|
||||
const std::string killer_name, int weapon_id,
|
||||
int real_killer_id, const std::string real_killer_name,
|
||||
float& real_dmg_out) {};
|
||||
void AddHp(float hp);
|
||||
|
@ -167,7 +167,7 @@ void Hero::DetachFromMaster()
|
||||
}
|
||||
}
|
||||
|
||||
void Hero::DecHP(float dec_hp, int killer_id, const std::string& killer_name, int weapon_id,
|
||||
void Hero::DecHP(float dec_hp, int killer_id, const std::string killer_name, int weapon_id,
|
||||
int real_killer_id, const std::string real_killer_name,
|
||||
float& real_dmg_out)
|
||||
{
|
||||
|
@ -25,7 +25,7 @@ public:
|
||||
virtual void OnBulletHit(IBullet* bullet) override;
|
||||
virtual void Update(int delta_time) override;
|
||||
virtual void DecHP(float dec_hp,
|
||||
int killer_id, const std::string& killer_name, int weapon_id,
|
||||
int killer_id, const std::string killer_name, int weapon_id,
|
||||
int real_killer_id, const std::string real_killer_name,
|
||||
float& real_dmg_out) override;
|
||||
virtual std::string GetName() override;
|
||||
|
@ -643,7 +643,7 @@ void Human::BeKill(int killer_id, const std::string& killer_name, int weapon_id,
|
||||
}
|
||||
}
|
||||
|
||||
void Human::DecHP(float dec_hp, int killer_id, const std::string& killer_name, int weapon_id,
|
||||
void Human::DecHP(float dec_hp, int killer_id, const std::string killer_name, int weapon_id,
|
||||
int real_killer_id, const std::string real_killer_name,
|
||||
float& real_dmg_out)
|
||||
{
|
||||
|
@ -302,7 +302,7 @@ class Human : public Creature
|
||||
void BeKill(int killer_id, const std::string& killer_name, int weapon_id,
|
||||
int real_killer_id, const std::string& real_killer_name);
|
||||
virtual void DecHP(float dec_hp,
|
||||
int killer_id, const std::string& killer_name, int weapon_id,
|
||||
int killer_id, const std::string killer_name, int weapon_id,
|
||||
int real_killer_id, const std::string real_killer_name,
|
||||
float& real_dmg_out) override;
|
||||
virtual void AddToNewObjects(Entity* entity) override;
|
||||
|
Loading…
x
Reference in New Issue
Block a user