@@ -28,25 +28,25 @@ class Creature;
2828class AggressorAI : public CreatureAI
2929{
3030 public:
31- explicit AggressorAI (Creature * c) : CreatureAI(c) {}
31+ explicit AggressorAI (Creature* c) : CreatureAI(c) {}
3232
3333 void UpdateAI (const uint32);
34- static int Permissible (const Creature *);
34+ static int Permissible (const Creature*);
3535};
3636
3737typedef std::vector<uint32> SpellVct;
3838
3939class CombatAI : public CreatureAI
4040{
4141 public:
42- explicit CombatAI (Creature * c) : CreatureAI(c) {}
42+ explicit CombatAI (Creature* c) : CreatureAI(c) {}
4343
4444 void InitializeAI ();
4545 void Reset ();
4646 void EnterCombat (Unit* who);
4747 void JustDied (Unit* killer);
4848 void UpdateAI (const uint32 diff);
49- static int Permissible (const Creature *);
49+ static int Permissible (const Creature*);
5050 protected:
5151 EventMap events;
5252 SpellVct spells;
@@ -55,7 +55,7 @@ class CombatAI : public CreatureAI
5555class CasterAI : public CombatAI
5656{
5757 public:
58- explicit CasterAI (Creature * c) : CombatAI(c) { m_attackDist = MELEE_RANGE ; }
58+ explicit CasterAI (Creature* c) : CombatAI(c) { m_attackDist = MELEE_RANGE ; }
5959 void InitializeAI ();
6060 void AttackStart (Unit* victim) { AttackStartCaster (victim, m_attackDist); }
6161 void UpdateAI (const uint32 diff);
@@ -67,24 +67,24 @@ class CasterAI : public CombatAI
6767struct ArcherAI : public CreatureAI
6868{
6969 public:
70- explicit ArcherAI (Creature * c);
71- void AttackStart (Unit * who);
70+ explicit ArcherAI (Creature* c);
71+ void AttackStart (Unit* who);
7272 void UpdateAI (const uint32 diff);
7373
74- static int Permissible (const Creature *);
74+ static int Permissible (const Creature*);
7575 protected:
7676 float m_minRange;
7777};
7878
7979struct TurretAI : public CreatureAI
8080{
8181 public:
82- explicit TurretAI (Creature * c);
83- bool CanAIAttack (const Unit * who) const ;
84- void AttackStart (Unit * who);
82+ explicit TurretAI (Creature* c);
83+ bool CanAIAttack (const Unit* who) const ;
84+ void AttackStart (Unit* who);
8585 void UpdateAI (const uint32 diff);
8686
87- static int Permissible (const Creature *);
87+ static int Permissible (const Creature*);
8888 protected:
8989 float m_minRange;
9090};
@@ -94,13 +94,13 @@ struct TurretAI : public CreatureAI
9494struct VehicleAI : public CreatureAI
9595{
9696 public:
97- explicit VehicleAI (Creature * c);
97+ explicit VehicleAI (Creature* c);
9898
9999 void UpdateAI (const uint32 diff);
100- static int Permissible (const Creature *);
100+ static int Permissible (const Creature*);
101101 void Reset ();
102- void MoveInLineOfSight (Unit *) {}
103- void AttackStart (Unit *) {}
102+ void MoveInLineOfSight (Unit*) {}
103+ void AttackStart (Unit*) {}
104104 void OnCharmed (bool apply);
105105
106106 private:
0 commit comments