- converted FuncPlayer into a class

This commit is contained in:
Christoph Oelckers 2021-10-15 22:19:07 +02:00
parent f13e1f2127
commit 93b0a35927
2 changed files with 1900 additions and 1884 deletions

View file

@ -555,6 +555,14 @@ struct AIObject : public ExhumedAI
void RadialDamage(RunListEvent* ev) override;
};
struct AIPlayer : public ExhumedAI
{
void Tick(RunListEvent* ev) override;
void Damage(RunListEvent* ev) override;
void Draw(RunListEvent* ev) override;
void RadialDamage(RunListEvent* ev) override;
};
void runlist_DispatchEvent(ExhumedAI* ai, int nObject, int nMessage, int nDamage, int nRun);
typedef void(*AiFunc)(int, int, int, int nRun);

File diff suppressed because it is too large Load diff