Skip to content

Commit

Permalink
- converted FuncRex to a class.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Oct 16, 2021
1 parent 89d98dd commit 25de6fe
Show file tree
Hide file tree
Showing 2 changed files with 311 additions and 293 deletions.
7 changes: 7 additions & 0 deletions source/games/exhumed/src/aistuff.h
Expand Up @@ -601,6 +601,13 @@ struct AIRat : public ExhumedAI
void RadialDamage(RunListEvent* ev) override;
};

struct AIRex : 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);

Expand Down

0 comments on commit 25de6fe

Please sign in to comment.