Skip to content

Commit

Permalink
- converted FuncSet/FuncSoul to a class.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Oct 16, 2021
1 parent d77a520 commit 61df236
Show file tree
Hide file tree
Showing 2 changed files with 424 additions and 404 deletions.
15 changes: 15 additions & 0 deletions source/games/exhumed/src/aistuff.h
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,21 @@ struct AIScorp : public ExhumedAI
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);

typedef void(*AiFunc)(int, int, int, int nRun);
Expand Down
Loading

0 comments on commit 61df236

Please sign in to comment.