diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-28 00:11:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-28 00:11:59 +0300 |
commit | 4e7669dd6e07658fa86878d1e64c482a094b3b19 (patch) | |
tree | 8ffc8cb8621fef8a40615ef17e7b39abd885a000 /src/net | |
parent | a065831539e63dc6e25f4743b3a548aadf92304a (diff) | |
download | mv-4e7669dd6e07658fa86878d1e64c482a094b3b19.tar.gz mv-4e7669dd6e07658fa86878d1e64c482a094b3b19.tar.bz2 mv-4e7669dd6e07658fa86878d1e64c482a094b3b19.tar.xz mv-4e7669dd6e07658fa86878d1e64c482a094b3b19.zip |
Add fake pet moving commands.
Actual moving will be implimented after.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/pethandler.cpp | 6 | ||||
-rw-r--r-- | src/net/eathena/pethandler.h | 6 | ||||
-rw-r--r-- | src/net/pethandler.h | 6 | ||||
-rw-r--r-- | src/net/tmwa/pethandler.cpp | 6 | ||||
-rw-r--r-- | src/net/tmwa/pethandler.h | 6 |
5 files changed, 10 insertions, 20 deletions
diff --git a/src/net/eathena/pethandler.cpp b/src/net/eathena/pethandler.cpp index 41b69550c..9c78787cf 100644 --- a/src/net/eathena/pethandler.cpp +++ b/src/net/eathena/pethandler.cpp @@ -108,10 +108,8 @@ void PetHandler::handleMessage(Net::MessageIn &msg) BLOCK_END("PetHandler::handleMessage") } -void PetHandler::move(const Being *const being A_UNUSED, - const int petId A_UNUSED, - const int x1 A_UNUSED, const int y1 A_UNUSED, - const int x2 A_UNUSED, const int y2 A_UNUSED) const +void PetHandler::move(const int petId A_UNUSED, + const int x A_UNUSED, const int y A_UNUSED) const { } diff --git a/src/net/eathena/pethandler.h b/src/net/eathena/pethandler.h index 982fb501a..42a03452b 100644 --- a/src/net/eathena/pethandler.h +++ b/src/net/eathena/pethandler.h @@ -37,10 +37,8 @@ class PetHandler final : public MessageHandler, public Net::PetHandler void handleMessage(Net::MessageIn &msg) override final; - void move(const Being *const being, - const int petId, - const int x1, const int y1, - const int x2, const int y2) const override final; + void move(const int petId, + const int x, const int y) const override final; void spawn(const Being *const being, const int petId, diff --git a/src/net/pethandler.h b/src/net/pethandler.h index 914065593..1eaf011d8 100644 --- a/src/net/pethandler.h +++ b/src/net/pethandler.h @@ -32,10 +32,8 @@ class PetHandler notfinal virtual ~PetHandler() { } - virtual void move(const Being *const being, - const int petId, - const int x1, const int y1, - const int x2, const int y2) const = 0; + virtual void move(const int petId, + const int x, const int y) const = 0; virtual void spawn(const Being *const being, const int petId, diff --git a/src/net/tmwa/pethandler.cpp b/src/net/tmwa/pethandler.cpp index 1f278e016..eba2f4093 100644 --- a/src/net/tmwa/pethandler.cpp +++ b/src/net/tmwa/pethandler.cpp @@ -51,10 +51,8 @@ void PetHandler::handleMessage(Net::MessageIn &msg A_UNUSED) BLOCK_END("PetHandler::handleMessage") } -void PetHandler::move(const Being *const being A_UNUSED, - const int petId A_UNUSED, - const int x1 A_UNUSED, const int y1 A_UNUSED, - const int x2 A_UNUSED, const int y2 A_UNUSED) const +void PetHandler::move(const int petId A_UNUSED, + const int x A_UNUSED, const int y A_UNUSED) const { } diff --git a/src/net/tmwa/pethandler.h b/src/net/tmwa/pethandler.h index 31822d3d5..fa46256c2 100644 --- a/src/net/tmwa/pethandler.h +++ b/src/net/tmwa/pethandler.h @@ -37,10 +37,8 @@ class PetHandler final : public MessageHandler, public Net::PetHandler void handleMessage(Net::MessageIn &msg) override final; - void move(const Being *const being, - const int petId, - const int x1, const int y1, - const int x2, const int y2) const override final; + void move(const int petId, + const int x, const int y) const override final; void spawn(const Being *const being, const int petId, |