[General] Rename unused ObjectCollision into ObjectSound
parent
fcebd9f4ae
commit
271dc3df87
@ -1,26 +0,0 @@
|
||||
#ifndef OPENMW_PROCESSOROBJECTCOLLISION_HPP
|
||||
#define OPENMW_PROCESSOROBJECTCOLLISION_HPP
|
||||
|
||||
#include "BaseObjectProcessor.hpp"
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class ProcessorObjectCollision final: public BaseObjectProcessor
|
||||
{
|
||||
public:
|
||||
ProcessorObjectCollision()
|
||||
{
|
||||
BPP_INIT(ID_OBJECT_COLLISION)
|
||||
}
|
||||
|
||||
virtual void Do(ObjectPacket &packet, ObjectList &objectList)
|
||||
{
|
||||
BaseObjectProcessor::Do(packet, objectList);
|
||||
|
||||
//objectList.setObjectCollisions(ptrCellStore);
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
#endif //OPENMW_PROCESSOROBJECTCOLLISION_HPP
|
@ -0,0 +1,26 @@
|
||||
#ifndef OPENMW_PROCESSOROBJECTSOUND_HPP
|
||||
#define OPENMW_PROCESSOROBJECTSOUND_HPP
|
||||
|
||||
#include "BaseObjectProcessor.hpp"
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class ProcessorObjectSound final: public BaseObjectProcessor
|
||||
{
|
||||
public:
|
||||
ProcessorObjectSound()
|
||||
{
|
||||
BPP_INIT(ID_OBJECT_SOUND)
|
||||
}
|
||||
|
||||
virtual void Do(ObjectPacket &packet, ObjectList &objectList)
|
||||
{
|
||||
BaseObjectProcessor::Do(packet, objectList);
|
||||
|
||||
//objectList.setObjectSounds(ptrCellStore);
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
#endif //OPENMW_PROCESSOROBJECTSOUND_HPP
|
@ -1,16 +0,0 @@
|
||||
#include <components/openmw-mp/NetworkMessages.hpp>
|
||||
#include "PacketObjectCollision.hpp"
|
||||
|
||||
using namespace mwmp;
|
||||
|
||||
PacketObjectCollision::PacketObjectCollision(RakNet::RakPeerInterface *peer) : ObjectPacket(peer)
|
||||
{
|
||||
packetID = ID_OBJECT_COLLISION;
|
||||
hasCellData = true;
|
||||
}
|
||||
|
||||
void PacketObjectCollision::Object(BaseObject &baseObject, bool send)
|
||||
{
|
||||
ObjectPacket::Object(baseObject, send);
|
||||
// Placeholder
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
#ifndef OPENMW_PACKETOBJECTCOLLISION_HPP
|
||||
#define OPENMW_PACKETOBJECTCOLLISION_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/Object/ObjectPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketObjectCollision : public ObjectPacket
|
||||
{
|
||||
public:
|
||||
PacketObjectCollision(RakNet::RakPeerInterface *peer);
|
||||
|
||||
virtual void Object(BaseObject &baseObject, bool send);
|
||||
};
|
||||
}
|
||||
|
||||
#endif //OPENMW_PACKETOBJECTCOLLISION_HPP
|
@ -0,0 +1,16 @@
|
||||
#include <components/openmw-mp/NetworkMessages.hpp>
|
||||
#include "PacketObjectSound.hpp"
|
||||
|
||||
using namespace mwmp;
|
||||
|
||||
PacketObjectSound::PacketObjectSound(RakNet::RakPeerInterface *peer) : ObjectPacket(peer)
|
||||
{
|
||||
packetID = ID_OBJECT_SOUND;
|
||||
hasCellData = true;
|
||||
}
|
||||
|
||||
void PacketObjectSound::Object(BaseObject &baseObject, bool send)
|
||||
{
|
||||
ObjectPacket::Object(baseObject, send);
|
||||
// Placeholder
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
#ifndef OPENMW_PACKETOBJECTSOUND_HPP
|
||||
#define OPENMW_PACKETOBJECTSOUND_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/Object/ObjectPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketObjectSound : public ObjectPacket
|
||||
{
|
||||
public:
|
||||
PacketObjectSound(RakNet::RakPeerInterface *peer);
|
||||
|
||||
virtual void Object(BaseObject &baseObject, bool send);
|
||||
};
|
||||
}
|
||||
|
||||
#endif //OPENMW_PACKETOBJECTSOUND_HPP
|
Loading…
Reference in New Issue