- converted all FuncObjects to classes.

This commit is contained in:
Christoph Oelckers 2021-10-15 22:13:05 +02:00
parent 3bda4d5b07
commit f13e1f2127
2 changed files with 913 additions and 878 deletions

View file

@ -513,6 +513,47 @@ struct AIMummy : public ExhumedAI
void RadialDamage(RunListEvent* ev) override; void RadialDamage(RunListEvent* ev) override;
}; };
struct AIElev : public ExhumedAI
{
void ProcessChannel(RunListEvent* ev) override;
void Tick(RunListEvent* ev) override;
};
struct AIWallFace : public ExhumedAI
{
void ProcessChannel(RunListEvent* ev) override;
};
struct AISlide : public ExhumedAI
{
void ProcessChannel(RunListEvent* ev) override;
void Tick(RunListEvent* ev) override;
};
struct AITrap : public ExhumedAI
{
void ProcessChannel(RunListEvent* ev) override;
void Tick(RunListEvent* ev) override;
};
struct AISpark : public ExhumedAI
{
void Tick(RunListEvent* ev) override;
};
struct AIEnergyBlock : public ExhumedAI
{
virtual void Damage(RunListEvent* ev) override;
virtual void RadialDamage(RunListEvent* ev) override;
};
struct AIObject : 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); void runlist_DispatchEvent(ExhumedAI* ai, int nObject, int nMessage, int nDamage, int nRun);

File diff suppressed because it is too large Load diff