summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-24 01:48:07 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-24 01:48:07 +0300
commit6a67f52f6b82bb8c6259eb0b9282ab543347b9ee (patch)
treebd0741506b3f69e98cdcaa99d2ccb40db86291d5 /src/net/tmwa
parente22f6d0070ea2b0102caf3b738fba703606e6bd4 (diff)
downloadplus-6a67f52f6b82bb8c6259eb0b9282ab543347b9ee.tar.gz
plus-6a67f52f6b82bb8c6259eb0b9282ab543347b9ee.tar.bz2
plus-6a67f52f6b82bb8c6259eb0b9282ab543347b9ee.tar.xz
plus-6a67f52f6b82bb8c6259eb0b9282ab543347b9ee.zip
Remove unused pet handler methods and fields.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/pethandler.cpp16
-rw-r--r--src/net/tmwa/pethandler.h13
2 files changed, 5 insertions, 24 deletions
diff --git a/src/net/tmwa/pethandler.cpp b/src/net/tmwa/pethandler.cpp
index 4f82a6e59..328b0ed99 100644
--- a/src/net/tmwa/pethandler.cpp
+++ b/src/net/tmwa/pethandler.cpp
@@ -40,20 +40,12 @@ PetHandler::PetHandler() :
petHandler = this;
}
-void PetHandler::move(const int petId A_UNUSED,
- const int x A_UNUSED,
+void PetHandler::move(const int x A_UNUSED,
const int y A_UNUSED) const
{
}
-void PetHandler::spawn(const Being *const being A_UNUSED,
- const int petId A_UNUSED,
- const int x A_UNUSED, const int y A_UNUSED) const
-{
-}
-
-void PetHandler::emote(const uint8_t emoteId A_UNUSED,
- const int petId A_UNUSED)
+void PetHandler::emote(const uint8_t emoteId A_UNUSED)
{
}
@@ -93,8 +85,4 @@ void PetHandler::setDirection(const unsigned char type A_UNUSED) const
{
}
-void PetHandler::startAi(const bool start A_UNUSED) const
-{
-}
-
} // namespace TmwAthena
diff --git a/src/net/tmwa/pethandler.h b/src/net/tmwa/pethandler.h
index 6362151cd..ababc2fee 100644
--- a/src/net/tmwa/pethandler.h
+++ b/src/net/tmwa/pethandler.h
@@ -33,15 +33,10 @@ class PetHandler final : public Net::PetHandler
A_DELETE_COPY(PetHandler)
- void move(const int petId,
- const int x, const int y) const override final;
+ void move(const int x,
+ const int y) const override final;
- void spawn(const Being *const being,
- const int petId,
- const int x, const int y) const override final A_CONST;
-
- void emote(const uint8_t emoteId,
- const int petId) override final;
+ void emote(const uint8_t emoteId) override final;
void catchPet(const Being *const being) const override final A_CONST;
@@ -61,8 +56,6 @@ class PetHandler final : public Net::PetHandler
void setDirection(const unsigned char type) const override final;
- void startAi(const bool start) const override final;
-
protected:
int mRandCounter;
};