- converted FuncSet/FuncSoul to a class.

This commit is contained in:
Christoph Oelckers 2021-10-15 23:18:58 +02:00
parent d77a5208f3
commit 61df236588
2 changed files with 505 additions and 485 deletions

View file

@ -626,6 +626,21 @@ struct AIScorp : public ExhumedAI
void RadialDamage(RunListEvent* ev) override; void RadialDamage(RunListEvent* ev) override;
}; };
struct AISet : public ExhumedAI
{
void Tick(RunListEvent* ev) override;
void Damage(RunListEvent* ev) override;
void Draw(RunListEvent* ev) override;
void RadialDamage(RunListEvent* ev) override;
};
struct AISoul : public ExhumedAI
{
void Tick(RunListEvent* ev) override;
};
void runlist_DispatchEvent(ExhumedAI* ai, int nObject, int nMessage, int nDamage, int nRun); void runlist_DispatchEvent(ExhumedAI* ai, int nObject, int nMessage, int nDamage, int nRun);
typedef void(*AiFunc)(int, int, int, int nRun); typedef void(*AiFunc)(int, int, int, int nRun);

File diff suppressed because it is too large Load diff