diff options
author | Spp <none@none> | 2010-04-19 09:26:37 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-04-19 09:26:37 +0200 |
commit | 74dd02d024007c3a09219177fabfe9010b1bce63 (patch) | |
tree | 041286f1a0a20c9714199b03c60808d3b7291e48 /src/game/WaypointMovementGenerator.cpp | |
parent | fdd8d2f3cc7108043f6bad036b994770f904866f (diff) |
Remove LOTS of compile warnings
--HG--
branch : trunk
Diffstat (limited to 'src/game/WaypointMovementGenerator.cpp')
-rw-r--r-- | src/game/WaypointMovementGenerator.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/game/WaypointMovementGenerator.cpp b/src/game/WaypointMovementGenerator.cpp index 719ddd9aed5..876fb7ec057 100644 --- a/src/game/WaypointMovementGenerator.cpp +++ b/src/game/WaypointMovementGenerator.cpp @@ -31,19 +31,19 @@ template<class T> void -WaypointMovementGenerator<T>::Initialize(T &u){} +WaypointMovementGenerator<T>::Initialize(T & /*u*/){} template<> void -WaypointMovementGenerator<Creature>::Finalize(Creature &u){} +WaypointMovementGenerator<Creature>::Finalize(Creature & /*u*/){} template<> void -WaypointMovementGenerator<Player>::Finalize(Player &u){} +WaypointMovementGenerator<Player>::Finalize(Player & /*u*/){} template<class T> void -WaypointMovementGenerator<T>::MovementInform(T &unit){} +WaypointMovementGenerator<T>::MovementInform(T & /*unit*/){} template<> void WaypointMovementGenerator<Creature>::MovementInform(Creature &unit) @@ -62,20 +62,20 @@ bool WaypointMovementGenerator<Creature>::GetDestination(float &x, float &y, flo } template<> -bool WaypointMovementGenerator<Player>::GetDestination(float &x, float &y, float &z) const +bool WaypointMovementGenerator<Player>::GetDestination(float & /*x*/, float & /*y*/, float & /*z*/) const { return false; } template<> -void WaypointMovementGenerator<Creature>::Reset(Creature &unit) +void WaypointMovementGenerator<Creature>::Reset(Creature & /*unit*/unit) { StopedByPlayer = true; i_nextMoveTime.Reset(0); } template<> -void WaypointMovementGenerator<Player>::Reset(Player &unit){} +void WaypointMovementGenerator<Player>::Reset(Player & /*unit*/){} template<> void WaypointMovementGenerator<Creature>::InitTraveller(Creature &unit, const WaypointData &node) @@ -122,11 +122,11 @@ WaypointMovementGenerator<Creature>::Initialize(Creature &u) } template<> -void WaypointMovementGenerator<Player>::InitTraveller(Player &unit, const WaypointData &node){} +void WaypointMovementGenerator<Player>::InitTraveller(Player & /*unit*/, const WaypointData & /*node*/){} template<class T> bool -WaypointMovementGenerator<T>::Update(T &unit, const uint32 &diff) +WaypointMovementGenerator<T>::Update(T & /*unit*/, const uint32 & /*diff*/) { return false; } |