aboutsummaryrefslogtreecommitdiff
path: root/src/game/UnitEvents.h
diff options
context:
space:
mode:
authorSpp <none@none>2010-03-09 11:11:10 +0100
committerSpp <none@none>2010-03-09 11:11:10 +0100
commit8034a6c48ea565345cd769422bb80acf5df015e4 (patch)
tree41ca28853f2c124a3b6c07b0d917538f80118bcd /src/game/UnitEvents.h
parentc716c0e5e59f5e37f8e46822d77555768f23633a (diff)
Rename 'Hostil' to 'Hostile'
Credits to NoFantasy (Mangos) Closes issue #411 --HG-- branch : trunk
Diffstat (limited to 'src/game/UnitEvents.h')
-rw-r--r--src/game/UnitEvents.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/game/UnitEvents.h b/src/game/UnitEvents.h
index 69c66fe34b0..4e492ea144d 100644
--- a/src/game/UnitEvents.h
+++ b/src/game/UnitEvents.h
@@ -25,7 +25,7 @@
class ThreatContainer;
class ThreatManager;
-class HostilReference;
+class HostileReference;
//==============================================================
//==============================================================
@@ -87,7 +87,7 @@ class UnitBaseEvent
class ThreatRefStatusChangeEvent : public UnitBaseEvent
{
private:
- HostilReference* iHostilReference;
+ HostileReference* iHostileReference;
union
{
float iFValue;
@@ -96,13 +96,13 @@ class ThreatRefStatusChangeEvent : public UnitBaseEvent
};
ThreatManager* iThreatManager;
public:
- ThreatRefStatusChangeEvent(uint32 pType) : UnitBaseEvent(pType) { iHostilReference = NULL; }
+ ThreatRefStatusChangeEvent(uint32 pType) : UnitBaseEvent(pType) { iHostileReference = NULL; }
- ThreatRefStatusChangeEvent(uint32 pType, HostilReference* pHostilReference) : UnitBaseEvent(pType) { iHostilReference = pHostilReference; }
+ ThreatRefStatusChangeEvent(uint32 pType, HostileReference* pHostileReference) : UnitBaseEvent(pType) { iHostileReference = pHostileReference; }
- ThreatRefStatusChangeEvent(uint32 pType, HostilReference* pHostilReference, float pValue) : UnitBaseEvent(pType) { iHostilReference = pHostilReference; iFValue = pValue; }
+ ThreatRefStatusChangeEvent(uint32 pType, HostileReference* pHostileReference, float pValue) : UnitBaseEvent(pType) { iHostileReference = pHostileReference; iFValue = pValue; }
- ThreatRefStatusChangeEvent(uint32 pType, HostilReference* pHostilReference, bool pValue) : UnitBaseEvent(pType) { iHostilReference = pHostilReference; iBValue = pValue; }
+ ThreatRefStatusChangeEvent(uint32 pType, HostileReference* pHostileReference, bool pValue) : UnitBaseEvent(pType) { iHostileReference = pHostileReference; iBValue = pValue; }
int32 getIValue() const { return iIValue; }
@@ -112,7 +112,7 @@ class ThreatRefStatusChangeEvent : public UnitBaseEvent
void setBValue(bool pValue) { iBValue = pValue; }
- HostilReference* getReference() const { return iHostilReference; }
+ HostileReference* getReference() const { return iHostileReference; }
void setThreatManager(ThreatManager* pThreatManager) { iThreatManager = pThreatManager; }
@@ -127,7 +127,7 @@ class ThreatManagerEvent : public ThreatRefStatusChangeEvent
ThreatContainer* iThreatContainer;
public:
ThreatManagerEvent(uint32 pType) : ThreatRefStatusChangeEvent(pType) {}
- ThreatManagerEvent(uint32 pType, HostilReference* pHostilReference) : ThreatRefStatusChangeEvent(pType, pHostilReference) {}
+ ThreatManagerEvent(uint32 pType, HostileReference* pHostileReference) : ThreatRefStatusChangeEvent(pType, pHostileReference) {}
void setThreatContainer(ThreatContainer* pThreatContainer) { iThreatContainer = pThreatContainer; }