mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 00:41:55 +00:00
- converted all FuncObjects to classes.
This commit is contained in:
parent
3bda4d5b07
commit
f13e1f2127
2 changed files with 913 additions and 878 deletions
|
@ -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
Loading…
Reference in a new issue