From b65deca2aeac6424eb285019095d79f23bdf9d37 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Wed, 28 Sep 2016 12:37:08 +0300 Subject: [PATCH] Remove unused PacketRotation and PacketCreateProjectile --- components/openmw-mp/NetworkMessages.hpp | 1 - .../Packets/PacketCreateProjectile.cpp | 18 --------------- .../Packets/PacketCreateProjectile.hpp | 23 ------------------- .../openmw-mp/Packets/PacketRotation.cpp | 5 ---- .../openmw-mp/Packets/PacketRotation.hpp | 15 ------------ 5 files changed, 62 deletions(-) delete mode 100644 components/openmw-mp/Packets/PacketCreateProjectile.cpp delete mode 100644 components/openmw-mp/Packets/PacketCreateProjectile.hpp delete mode 100644 components/openmw-mp/Packets/PacketRotation.cpp delete mode 100644 components/openmw-mp/Packets/PacketRotation.hpp diff --git a/components/openmw-mp/NetworkMessages.hpp b/components/openmw-mp/NetworkMessages.hpp index f64ae6734..2d8503ae3 100644 --- a/components/openmw-mp/NetworkMessages.hpp +++ b/components/openmw-mp/NetworkMessages.hpp @@ -18,7 +18,6 @@ enum GameMessages ID_USER_MYID, ID_GAME_EQUIPMENT, ID_USER_DISCONNECTED, - ID_GAME_CREATE_PROJECTILE, ID_GAME_CAST, ID_GAME_DIE, ID_GAME_RESURRECT, diff --git a/components/openmw-mp/Packets/PacketCreateProjectile.cpp b/components/openmw-mp/Packets/PacketCreateProjectile.cpp deleted file mode 100644 index 810c82c14..000000000 --- a/components/openmw-mp/Packets/PacketCreateProjectile.cpp +++ /dev/null @@ -1,18 +0,0 @@ -// -// Created by koncord on 13.01.16. -// - -#include -#include "PacketCreateProjectile.hpp" - -mwmp::PacketCreateProjectile::PacketCreateProjectile(RakNet::RakPeerInterface *peer) -{ - packetID = ID_GAME_CREATE_PROJECTILE; -} - -void mwmp::PacketCreateProjectile::Packet(RakNet::BitStream *bs, mwmp::BasePlayer *player, bool send) -{ - BasePacket::Packet(bs, player, send); - - -} diff --git a/components/openmw-mp/Packets/PacketCreateProjectile.hpp b/components/openmw-mp/Packets/PacketCreateProjectile.hpp deleted file mode 100644 index 97281b9a0..000000000 --- a/components/openmw-mp/Packets/PacketCreateProjectile.hpp +++ /dev/null @@ -1,23 +0,0 @@ -// -// Created by koncord on 13.01.16. -// - -#ifndef OPENMW_PACKETCREATEPROJECTILE_HPP -#define OPENMW_PACKETCREATEPROJECTILE_HPP - - -#include - -namespace mwmp -{ - class PacketCreateProjectile : public BasePacket - { - public: - PacketCreateProjectile(RakNet::RakPeerInterface *peer); - - virtual void Packet(RakNet::BitStream *bs, BasePlayer *player, bool send); - }; -} - - -#endif //OPENMW_PACKETCREATEPROJECTILE_HPP diff --git a/components/openmw-mp/Packets/PacketRotation.cpp b/components/openmw-mp/Packets/PacketRotation.cpp deleted file mode 100644 index ab1dfbe19..000000000 --- a/components/openmw-mp/Packets/PacketRotation.cpp +++ /dev/null @@ -1,5 +0,0 @@ -// -// Created by koncord on 15.01.16. -// - -#include "PacketRotation.hpp" diff --git a/components/openmw-mp/Packets/PacketRotation.hpp b/components/openmw-mp/Packets/PacketRotation.hpp deleted file mode 100644 index ec895d923..000000000 --- a/components/openmw-mp/Packets/PacketRotation.hpp +++ /dev/null @@ -1,15 +0,0 @@ -// -// Created by koncord on 15.01.16. -// - -#ifndef OPENMW_PACKETROTATION_HPP -#define OPENMW_PACKETROTATION_HPP - - -class PacketRotation -{ - -}; - - -#endif //OPENMW_PACKETROTATION_HPP