diff --git a/apps/openmw-mp/CMakeLists.txt b/apps/openmw-mp/CMakeLists.txt index b8e445720..a42462657 100644 --- a/apps/openmw-mp/CMakeLists.txt +++ b/apps/openmw-mp/CMakeLists.txt @@ -95,16 +95,16 @@ set(PROCESSORS_PLAYER source_group(tes3mp-server\\processors\\player FILES ${PROCESSORS_PLAYER}) set(PROCESSORS_WORLD - processors/world/ProcessorContainer.hpp processors/world/ProcessorDoorState.hpp - processors/world/ProcessorMusicPlay.hpp processors/world/ProcessorObjectAnimPlay.hpp - processors/world/ProcessorObjectDelete.hpp processors/world/ProcessorObjectLock.hpp - processors/world/ProcessorObjectMove.hpp processors/world/ProcessorObjectPlace.hpp - processors/world/ProcessorObjectRotate.hpp processors/world/ProcessorObjectScale.hpp - processors/world/ProcessorObjectSpawn.hpp processors/world/ProcessorObjectState.hpp - processors/world/ProcessorObjectTrap.hpp processors/world/ProcessorScriptLocalShort.hpp - processors/world/ProcessorScriptLocalFloat.hpp processors/world/ProcessorScriptMemberShort.hpp - processors/world/ProcessorScriptMemberFloat.hpp processors/world/ProcessorScriptGlobalShort.hpp - processors/world/ProcessorScriptGlobalFloat.hpp processors/world/ProcessorVideoPlay.hpp + processors/object/ProcessorContainer.hpp processors/object/ProcessorDoorState.hpp + processors/object/ProcessorMusicPlay.hpp processors/object/ProcessorObjectAnimPlay.hpp + processors/object/ProcessorObjectDelete.hpp processors/object/ProcessorObjectLock.hpp + processors/object/ProcessorObjectMove.hpp processors/object/ProcessorObjectPlace.hpp + processors/object/ProcessorObjectRotate.hpp processors/object/ProcessorObjectScale.hpp + processors/object/ProcessorObjectSpawn.hpp processors/object/ProcessorObjectState.hpp + processors/object/ProcessorObjectTrap.hpp processors/object/ProcessorScriptLocalShort.hpp + processors/object/ProcessorScriptLocalFloat.hpp processors/object/ProcessorScriptMemberShort.hpp + processors/object/ProcessorScriptMemberFloat.hpp processors/object/ProcessorScriptGlobalShort.hpp + processors/object/ProcessorScriptGlobalFloat.hpp processors/object/ProcessorVideoPlay.hpp ) source_group(tes3mp-server\\processors\\world FILES ${PROCESSORS_WORLD}) @@ -113,7 +113,7 @@ set(PROCESSORS processors/ProcessorInitializer.cpp processors/PlayerProcessor.cpp processors/ActorProcessor.cpp - processors/WorldProcessor.cpp + processors/ObjectProcessor.cpp ) source_group(tes3mp-server\\processors FILES ${PROCESSORS}) diff --git a/apps/openmw-mp/Networking.cpp b/apps/openmw-mp/Networking.cpp index 29e284847..2a2aaf687 100644 --- a/apps/openmw-mp/Networking.cpp +++ b/apps/openmw-mp/Networking.cpp @@ -19,7 +19,7 @@ #include "processors/ProcessorInitializer.hpp" #include "processors/PlayerProcessor.hpp" #include "processors/ActorProcessor.hpp" -#include "processors/WorldProcessor.hpp" +#include "processors/ObjectProcessor.hpp" #include "Networking.hpp" #include "MasterClient.hpp" @@ -178,7 +178,7 @@ void Networking::processObjectPacket(RakNet::Packet *packet) if (!player->isHandshaked() || player->getLoadState() != Player::POSTLOADED) return; - if (!WorldProcessor::Process(*packet, baseObjectList)) + if (!ObjectProcessor::Process(*packet, baseObjectList)) LOG_MESSAGE_SIMPLE(Log::LOG_WARN, "Unhandled ObjectPacket with identifier %i has arrived", (int) packet->data[0]); } diff --git a/apps/openmw-mp/processors/WorldProcessor.cpp b/apps/openmw-mp/processors/ObjectProcessor.cpp similarity index 83% rename from apps/openmw-mp/processors/WorldProcessor.cpp rename to apps/openmw-mp/processors/ObjectProcessor.cpp index 4d8180636..ece698e35 100644 --- a/apps/openmw-mp/processors/WorldProcessor.cpp +++ b/apps/openmw-mp/processors/ObjectProcessor.cpp @@ -2,7 +2,7 @@ // Created by koncord on 03.04.17. // -#include "WorldProcessor.hpp" +#include "ObjectProcessor.hpp" #include "Networking.hpp" using namespace mwmp; @@ -10,12 +10,12 @@ using namespace mwmp; template typename BasePacketProcessor::processors_t BasePacketProcessor::processors; -void WorldProcessor::Do(ObjectPacket &packet, const std::shared_ptr &player, BaseObjectList &objectList) +void ObjectProcessor::Do(ObjectPacket &packet, const std::shared_ptr &player, BaseObjectList &objectList) { packet.Send(true); } -bool WorldProcessor::Process(RakNet::Packet &packet, BaseObjectList &objectList) noexcept +bool ObjectProcessor::Process(RakNet::Packet &packet, BaseObjectList &objectList) noexcept { // Clear our BaseObjectList before loading new data in it objectList.cell.blank(); diff --git a/apps/openmw-mp/processors/WorldProcessor.hpp b/apps/openmw-mp/processors/ObjectProcessor.hpp similarity index 90% rename from apps/openmw-mp/processors/WorldProcessor.hpp rename to apps/openmw-mp/processors/ObjectProcessor.hpp index 7540c864c..2f02436b3 100644 --- a/apps/openmw-mp/processors/WorldProcessor.hpp +++ b/apps/openmw-mp/processors/ObjectProcessor.hpp @@ -14,7 +14,7 @@ namespace mwmp { - class WorldProcessor : public BasePacketProcessor + class ObjectProcessor : public BasePacketProcessor { public: diff --git a/apps/openmw-mp/processors/ProcessorInitializer.cpp b/apps/openmw-mp/processors/ProcessorInitializer.cpp index afea052d1..6e82bcfcb 100644 --- a/apps/openmw-mp/processors/ProcessorInitializer.cpp +++ b/apps/openmw-mp/processors/ProcessorInitializer.cpp @@ -58,27 +58,27 @@ #include "actor/ProcessorActorStatsDynamic.hpp" #include "actor/ProcessorActorPosition.hpp" #include "actor/ProcessorActorSpeech.hpp" -#include "WorldProcessor.hpp" -#include "world/ProcessorContainer.hpp" -#include "world/ProcessorDoorState.hpp" -#include "world/ProcessorMusicPlay.hpp" -#include "world/ProcessorObjectAnimPlay.hpp" -#include "world/ProcessorObjectDelete.hpp" -#include "world/ProcessorObjectPlace.hpp" -#include "world/ProcessorObjectLock.hpp" -#include "world/ProcessorObjectMove.hpp" -#include "world/ProcessorObjectRotate.hpp" -#include "world/ProcessorObjectScale.hpp" -#include "world/ProcessorObjectSpawn.hpp" -#include "world/ProcessorObjectState.hpp" -#include "world/ProcessorObjectTrap.hpp" -#include "world/ProcessorScriptLocalShort.hpp" -#include "world/ProcessorScriptLocalFloat.hpp" -#include "world/ProcessorScriptMemberShort.hpp" -#include "world/ProcessorScriptMemberFloat.hpp" -#include "world/ProcessorScriptGlobalShort.hpp" -#include "world/ProcessorScriptGlobalFloat.hpp" -#include "world/ProcessorVideoPlay.hpp" +#include "ObjectProcessor.hpp" +#include "object/ProcessorContainer.hpp" +#include "object/ProcessorDoorState.hpp" +#include "object/ProcessorMusicPlay.hpp" +#include "object/ProcessorObjectAnimPlay.hpp" +#include "object/ProcessorObjectDelete.hpp" +#include "object/ProcessorObjectPlace.hpp" +#include "object/ProcessorObjectLock.hpp" +#include "object/ProcessorObjectMove.hpp" +#include "object/ProcessorObjectRotate.hpp" +#include "object/ProcessorObjectScale.hpp" +#include "object/ProcessorObjectSpawn.hpp" +#include "object/ProcessorObjectState.hpp" +#include "object/ProcessorObjectTrap.hpp" +#include "object/ProcessorScriptLocalShort.hpp" +#include "object/ProcessorScriptLocalFloat.hpp" +#include "object/ProcessorScriptMemberShort.hpp" +#include "object/ProcessorScriptMemberFloat.hpp" +#include "object/ProcessorScriptGlobalShort.hpp" +#include "object/ProcessorScriptGlobalFloat.hpp" +#include "object/ProcessorVideoPlay.hpp" using namespace mwmp; @@ -137,24 +137,24 @@ void ProcessorInitializer() ActorProcessor::AddProcessor(new ProcessorActorStatsDynamic()); ActorProcessor::AddProcessor(new ProcessorActorTest()); - WorldProcessor::AddProcessor(new ProcessorContainer()); - WorldProcessor::AddProcessor(new ProcessorDoorState()); - WorldProcessor::AddProcessor(new ProcessorMusicPlay()); - WorldProcessor::AddProcessor(new ProcessorObjectAnimPlay()); - WorldProcessor::AddProcessor(new ProcessorObjectDelete()); - WorldProcessor::AddProcessor(new ProcessorObjectLock()); - WorldProcessor::AddProcessor(new ProcessorObjectMove()); - WorldProcessor::AddProcessor(new ProcessorObjectPlace()); - WorldProcessor::AddProcessor(new ProcessorObjectRotate()); - WorldProcessor::AddProcessor(new ProcessorObjectScale()); - WorldProcessor::AddProcessor(new ProcessorObjectSpawn()); - WorldProcessor::AddProcessor(new ProcessorObjectState()); - WorldProcessor::AddProcessor(new ProcessorObjectTrap()); - WorldProcessor::AddProcessor(new ProcessorScriptLocalShort()); - WorldProcessor::AddProcessor(new ProcessorScriptLocalFloat()); - WorldProcessor::AddProcessor(new ProcessorScriptMemberShort()); - WorldProcessor::AddProcessor(new ProcessorScriptMemberFloat()); - WorldProcessor::AddProcessor(new ProcessorScriptGlobalShort()); - WorldProcessor::AddProcessor(new ProcessorScriptGlobalFloat()); - WorldProcessor::AddProcessor(new ProcessorVideoPlay()); + ObjectProcessor::AddProcessor(new ProcessorContainer()); + ObjectProcessor::AddProcessor(new ProcessorDoorState()); + ObjectProcessor::AddProcessor(new ProcessorMusicPlay()); + ObjectProcessor::AddProcessor(new ProcessorObjectAnimPlay()); + ObjectProcessor::AddProcessor(new ProcessorObjectDelete()); + ObjectProcessor::AddProcessor(new ProcessorObjectLock()); + ObjectProcessor::AddProcessor(new ProcessorObjectMove()); + ObjectProcessor::AddProcessor(new ProcessorObjectPlace()); + ObjectProcessor::AddProcessor(new ProcessorObjectRotate()); + ObjectProcessor::AddProcessor(new ProcessorObjectScale()); + ObjectProcessor::AddProcessor(new ProcessorObjectSpawn()); + ObjectProcessor::AddProcessor(new ProcessorObjectState()); + ObjectProcessor::AddProcessor(new ProcessorObjectTrap()); + ObjectProcessor::AddProcessor(new ProcessorScriptLocalShort()); + ObjectProcessor::AddProcessor(new ProcessorScriptLocalFloat()); + ObjectProcessor::AddProcessor(new ProcessorScriptMemberShort()); + ObjectProcessor::AddProcessor(new ProcessorScriptMemberFloat()); + ObjectProcessor::AddProcessor(new ProcessorScriptGlobalShort()); + ObjectProcessor::AddProcessor(new ProcessorScriptGlobalFloat()); + ObjectProcessor::AddProcessor(new ProcessorVideoPlay()); } diff --git a/apps/openmw-mp/processors/world/ProcessorContainer.hpp b/apps/openmw-mp/processors/object/ProcessorContainer.hpp similarity index 92% rename from apps/openmw-mp/processors/world/ProcessorContainer.hpp rename to apps/openmw-mp/processors/object/ProcessorContainer.hpp index 68aab8765..0593ec7e1 100644 --- a/apps/openmw-mp/processors/world/ProcessorContainer.hpp +++ b/apps/openmw-mp/processors/object/ProcessorContainer.hpp @@ -2,12 +2,12 @@ #define OPENMW_PROCESSORCONTAINER_HPP #include -#include "../WorldProcessor.hpp" +#include "../ObjectProcessor.hpp" namespace mwmp { - class ProcessorContainer final: public WorldProcessor + class ProcessorContainer final: public ObjectProcessor { public: ProcessorContainer() diff --git a/apps/openmw-mp/processors/world/ProcessorDoorState.hpp b/apps/openmw-mp/processors/object/ProcessorDoorState.hpp similarity index 88% rename from apps/openmw-mp/processors/world/ProcessorDoorState.hpp rename to apps/openmw-mp/processors/object/ProcessorDoorState.hpp index e8dc9d11c..93705ebec 100644 --- a/apps/openmw-mp/processors/world/ProcessorDoorState.hpp +++ b/apps/openmw-mp/processors/object/ProcessorDoorState.hpp @@ -1,11 +1,11 @@ #ifndef OPENMW_PROCESSORDOORSTATE_HPP #define OPENMW_PROCESSORDOORSTATE_HPP -#include "../WorldProcessor.hpp" +#include "../ObjectProcessor.hpp" namespace mwmp { - class ProcessorDoorState final: public WorldProcessor + class ProcessorDoorState final: public ObjectProcessor { public: ProcessorDoorState() diff --git a/apps/openmw-mp/processors/world/ProcessorMusicPlay.hpp b/apps/openmw-mp/processors/object/ProcessorMusicPlay.hpp similarity index 72% rename from apps/openmw-mp/processors/world/ProcessorMusicPlay.hpp rename to apps/openmw-mp/processors/object/ProcessorMusicPlay.hpp index 937fea121..8d50b1dfe 100644 --- a/apps/openmw-mp/processors/world/ProcessorMusicPlay.hpp +++ b/apps/openmw-mp/processors/object/ProcessorMusicPlay.hpp @@ -1,11 +1,11 @@ #ifndef OPENMW_PROCESSORMUSICPLAY_HPP #define OPENMW_PROCESSORMUSICPLAY_HPP -#include "../WorldProcessor.hpp" +#include "../ObjectProcessor.hpp" namespace mwmp { - class ProcessorMusicPlay final: public WorldProcessor + class ProcessorMusicPlay final: public ObjectProcessor { public: ProcessorMusicPlay() diff --git a/apps/openmw-mp/processors/world/ProcessorObjectAnimPlay.hpp b/apps/openmw-mp/processors/object/ProcessorObjectAnimPlay.hpp similarity index 73% rename from apps/openmw-mp/processors/world/ProcessorObjectAnimPlay.hpp rename to apps/openmw-mp/processors/object/ProcessorObjectAnimPlay.hpp index 2d3c3f668..1504d9de5 100644 --- a/apps/openmw-mp/processors/world/ProcessorObjectAnimPlay.hpp +++ b/apps/openmw-mp/processors/object/ProcessorObjectAnimPlay.hpp @@ -1,11 +1,11 @@ #ifndef OPENMW_PROCESSOROBJECTANIMPLAY_HPP #define OPENMW_PROCESSOROBJECTANIMPLAY_HPP -#include "../WorldProcessor.hpp" +#include "../ObjectProcessor.hpp" namespace mwmp { - class ProcessorObjectAnimPlay final: public WorldProcessor + class ProcessorObjectAnimPlay final: public ObjectProcessor { public: ProcessorObjectAnimPlay() diff --git a/apps/openmw-mp/processors/world/ProcessorObjectDelete.hpp b/apps/openmw-mp/processors/object/ProcessorObjectDelete.hpp similarity index 90% rename from apps/openmw-mp/processors/world/ProcessorObjectDelete.hpp rename to apps/openmw-mp/processors/object/ProcessorObjectDelete.hpp index a72463b6c..5545ce4fa 100644 --- a/apps/openmw-mp/processors/world/ProcessorObjectDelete.hpp +++ b/apps/openmw-mp/processors/object/ProcessorObjectDelete.hpp @@ -1,11 +1,11 @@ #ifndef OPENMW_PROCESSOROBJECTDELETE_HPP #define OPENMW_PROCESSOROBJECTDELETE_HPP -#include "../WorldProcessor.hpp" +#include "../ObjectProcessor.hpp" namespace mwmp { - class ProcessorObjectDelete final: public WorldProcessor + class ProcessorObjectDelete final: public ObjectProcessor { public: ProcessorObjectDelete() diff --git a/apps/openmw-mp/processors/world/ProcessorObjectLock.hpp b/apps/openmw-mp/processors/object/ProcessorObjectLock.hpp similarity index 90% rename from apps/openmw-mp/processors/world/ProcessorObjectLock.hpp rename to apps/openmw-mp/processors/object/ProcessorObjectLock.hpp index fe49add99..f2dece52c 100644 --- a/apps/openmw-mp/processors/world/ProcessorObjectLock.hpp +++ b/apps/openmw-mp/processors/object/ProcessorObjectLock.hpp @@ -1,11 +1,11 @@ #ifndef OPENMW_PROCESSOROBJECTLOCK_HPP #define OPENMW_PROCESSOROBJECTLOCK_HPP -#include "../WorldProcessor.hpp" +#include "../ObjectProcessor.hpp" namespace mwmp { - class ProcessorObjectLock final: public WorldProcessor + class ProcessorObjectLock final: public ObjectProcessor { public: ProcessorObjectLock() diff --git a/apps/openmw-mp/processors/world/ProcessorObjectMove.hpp b/apps/openmw-mp/processors/object/ProcessorObjectMove.hpp similarity index 72% rename from apps/openmw-mp/processors/world/ProcessorObjectMove.hpp rename to apps/openmw-mp/processors/object/ProcessorObjectMove.hpp index a0b0e6b2f..a22cb2f7b 100644 --- a/apps/openmw-mp/processors/world/ProcessorObjectMove.hpp +++ b/apps/openmw-mp/processors/object/ProcessorObjectMove.hpp @@ -1,11 +1,11 @@ #ifndef OPENMW_PROCESSOROBJECTMOVE_HPP #define OPENMW_PROCESSOROBJECTMOVE_HPP -#include "../WorldProcessor.hpp" +#include "../ObjectProcessor.hpp" namespace mwmp { - class ProcessorObjectMove final: public WorldProcessor + class ProcessorObjectMove final: public ObjectProcessor { public: ProcessorObjectMove() diff --git a/apps/openmw-mp/processors/world/ProcessorObjectPlace.hpp b/apps/openmw-mp/processors/object/ProcessorObjectPlace.hpp similarity index 92% rename from apps/openmw-mp/processors/world/ProcessorObjectPlace.hpp rename to apps/openmw-mp/processors/object/ProcessorObjectPlace.hpp index a537f3d0f..ef8517209 100644 --- a/apps/openmw-mp/processors/world/ProcessorObjectPlace.hpp +++ b/apps/openmw-mp/processors/object/ProcessorObjectPlace.hpp @@ -1,12 +1,12 @@ #ifndef OPENMW_PROCESSOROBJECTPLACE_HPP #define OPENMW_PROCESSOROBJECTPLACE_HPP -#include "../WorldProcessor.hpp" +#include "../ObjectProcessor.hpp" #include namespace mwmp { - class ProcessorObjectPlace final: public WorldProcessor + class ProcessorObjectPlace final: public ObjectProcessor { public: ProcessorObjectPlace() diff --git a/apps/openmw-mp/processors/world/ProcessorObjectRotate.hpp b/apps/openmw-mp/processors/object/ProcessorObjectRotate.hpp similarity index 73% rename from apps/openmw-mp/processors/world/ProcessorObjectRotate.hpp rename to apps/openmw-mp/processors/object/ProcessorObjectRotate.hpp index bac9469d4..c4fda7465 100644 --- a/apps/openmw-mp/processors/world/ProcessorObjectRotate.hpp +++ b/apps/openmw-mp/processors/object/ProcessorObjectRotate.hpp @@ -1,11 +1,11 @@ #ifndef OPENMW_PROCESSOROBJECTROTATE_HPP #define OPENMW_PROCESSOROBJECTROTATE_HPP -#include "../WorldProcessor.hpp" +#include "../ObjectProcessor.hpp" namespace mwmp { - class ProcessorObjectRotate final: public WorldProcessor + class ProcessorObjectRotate final: public ObjectProcessor { public: ProcessorObjectRotate() diff --git a/apps/openmw-mp/processors/world/ProcessorObjectScale.hpp b/apps/openmw-mp/processors/object/ProcessorObjectScale.hpp similarity index 90% rename from apps/openmw-mp/processors/world/ProcessorObjectScale.hpp rename to apps/openmw-mp/processors/object/ProcessorObjectScale.hpp index a3fc17fde..ae6bd97ef 100644 --- a/apps/openmw-mp/processors/world/ProcessorObjectScale.hpp +++ b/apps/openmw-mp/processors/object/ProcessorObjectScale.hpp @@ -1,11 +1,11 @@ #ifndef OPENMW_PROCESSOROBJECTSCALE_HPP #define OPENMW_PROCESSOROBJECTSCALE_HPP -#include "../WorldProcessor.hpp" +#include "../ObjectProcessor.hpp" namespace mwmp { - class ProcessorObjectScale final: public WorldProcessor + class ProcessorObjectScale final: public ObjectProcessor { public: ProcessorObjectScale() diff --git a/apps/openmw-mp/processors/world/ProcessorObjectSpawn.hpp b/apps/openmw-mp/processors/object/ProcessorObjectSpawn.hpp similarity index 92% rename from apps/openmw-mp/processors/world/ProcessorObjectSpawn.hpp rename to apps/openmw-mp/processors/object/ProcessorObjectSpawn.hpp index d618d9f8c..995def1da 100644 --- a/apps/openmw-mp/processors/world/ProcessorObjectSpawn.hpp +++ b/apps/openmw-mp/processors/object/ProcessorObjectSpawn.hpp @@ -1,12 +1,12 @@ #ifndef OPENMW_PROCESSOROBJECTSPAWN_HPP #define OPENMW_PROCESSOROBJECTSPAWN_HPP -#include "../WorldProcessor.hpp" +#include "../ObjectProcessor.hpp" #include namespace mwmp { - class ProcessorObjectSpawn final: public WorldProcessor + class ProcessorObjectSpawn final: public ObjectProcessor { public: ProcessorObjectSpawn() diff --git a/apps/openmw-mp/processors/world/ProcessorObjectState.hpp b/apps/openmw-mp/processors/object/ProcessorObjectState.hpp similarity index 90% rename from apps/openmw-mp/processors/world/ProcessorObjectState.hpp rename to apps/openmw-mp/processors/object/ProcessorObjectState.hpp index 95e7c7fcf..2783219ec 100644 --- a/apps/openmw-mp/processors/world/ProcessorObjectState.hpp +++ b/apps/openmw-mp/processors/object/ProcessorObjectState.hpp @@ -1,11 +1,11 @@ #ifndef OPENMW_PROCESSOROBJECTSTATE_HPP #define OPENMW_PROCESSOROBJECTSTATE_HPP -#include "../WorldProcessor.hpp" +#include "../ObjectProcessor.hpp" namespace mwmp { - class ProcessorObjectState final: public WorldProcessor + class ProcessorObjectState final: public ObjectProcessor { public: ProcessorObjectState() diff --git a/apps/openmw-mp/processors/world/ProcessorObjectTrap.hpp b/apps/openmw-mp/processors/object/ProcessorObjectTrap.hpp similarity index 90% rename from apps/openmw-mp/processors/world/ProcessorObjectTrap.hpp rename to apps/openmw-mp/processors/object/ProcessorObjectTrap.hpp index cd4b95350..f84dbc8db 100644 --- a/apps/openmw-mp/processors/world/ProcessorObjectTrap.hpp +++ b/apps/openmw-mp/processors/object/ProcessorObjectTrap.hpp @@ -1,11 +1,11 @@ #ifndef OPENMW_PROCESSOROBJECTTRAP_HPP #define OPENMW_PROCESSOROBJECTTRAP_HPP -#include "../WorldProcessor.hpp" +#include "../ObjectProcessor.hpp" namespace mwmp { - class ProcessorObjectTrap final: public WorldProcessor + class ProcessorObjectTrap final: public ObjectProcessor { public: ProcessorObjectTrap() diff --git a/apps/openmw-mp/processors/world/ProcessorScriptGlobalFloat.hpp b/apps/openmw-mp/processors/object/ProcessorScriptGlobalFloat.hpp similarity index 73% rename from apps/openmw-mp/processors/world/ProcessorScriptGlobalFloat.hpp rename to apps/openmw-mp/processors/object/ProcessorScriptGlobalFloat.hpp index 56d9c6375..a33759b1c 100644 --- a/apps/openmw-mp/processors/world/ProcessorScriptGlobalFloat.hpp +++ b/apps/openmw-mp/processors/object/ProcessorScriptGlobalFloat.hpp @@ -1,11 +1,11 @@ #ifndef OPENMW_PROCESSORSCRIPTGLOBALFLOAT_HPP #define OPENMW_PROCESSORSCRIPTGLOBALFLOAT_HPP -#include "../WorldProcessor.hpp" +#include "../ObjectProcessor.hpp" namespace mwmp { - class ProcessorScriptGlobalFloat final : public WorldProcessor + class ProcessorScriptGlobalFloat final : public ObjectProcessor { public: ProcessorScriptGlobalFloat() diff --git a/apps/openmw-mp/processors/world/ProcessorScriptGlobalShort.hpp b/apps/openmw-mp/processors/object/ProcessorScriptGlobalShort.hpp similarity index 74% rename from apps/openmw-mp/processors/world/ProcessorScriptGlobalShort.hpp rename to apps/openmw-mp/processors/object/ProcessorScriptGlobalShort.hpp index 95d881838..05404cfa2 100644 --- a/apps/openmw-mp/processors/world/ProcessorScriptGlobalShort.hpp +++ b/apps/openmw-mp/processors/object/ProcessorScriptGlobalShort.hpp @@ -1,11 +1,11 @@ #ifndef OPENMW_PROCESSORSCRIPTGLOBALSHORT_HPP #define OPENMW_PROCESSORSCRIPTGLOBALSHORT_HPP -#include "../WorldProcessor.hpp" +#include "../ObjectProcessor.hpp" namespace mwmp { - class ProcessorScriptGlobalShort final: public WorldProcessor + class ProcessorScriptGlobalShort final: public ObjectProcessor { public: ProcessorScriptGlobalShort() diff --git a/apps/openmw-mp/processors/world/ProcessorScriptLocalFloat.hpp b/apps/openmw-mp/processors/object/ProcessorScriptLocalFloat.hpp similarity index 73% rename from apps/openmw-mp/processors/world/ProcessorScriptLocalFloat.hpp rename to apps/openmw-mp/processors/object/ProcessorScriptLocalFloat.hpp index 4b641eca0..50e998381 100644 --- a/apps/openmw-mp/processors/world/ProcessorScriptLocalFloat.hpp +++ b/apps/openmw-mp/processors/object/ProcessorScriptLocalFloat.hpp @@ -1,11 +1,11 @@ #ifndef OPENMW_PROCESSORSCRIPTLOCALFLOAT_HPP #define OPENMW_PROCESSORSCRIPTLOCALFLOAT_HPP -#include "../WorldProcessor.hpp" +#include "../ObjectProcessor.hpp" namespace mwmp { - class ProcessorScriptLocalFloat final: public WorldProcessor + class ProcessorScriptLocalFloat final: public ObjectProcessor { public: ProcessorScriptLocalFloat() diff --git a/apps/openmw-mp/processors/world/ProcessorScriptLocalShort.hpp b/apps/openmw-mp/processors/object/ProcessorScriptLocalShort.hpp similarity index 73% rename from apps/openmw-mp/processors/world/ProcessorScriptLocalShort.hpp rename to apps/openmw-mp/processors/object/ProcessorScriptLocalShort.hpp index b4a579997..10f711634 100644 --- a/apps/openmw-mp/processors/world/ProcessorScriptLocalShort.hpp +++ b/apps/openmw-mp/processors/object/ProcessorScriptLocalShort.hpp @@ -1,11 +1,11 @@ #ifndef OPENMW_PROCESSORSCRIPTLOCALSHORT_HPP #define OPENMW_PROCESSORSCRIPTLOCALSHORT_HPP -#include "../WorldProcessor.hpp" +#include "../ObjectProcessor.hpp" namespace mwmp { - class ProcessorScriptLocalShort final: public WorldProcessor + class ProcessorScriptLocalShort final: public ObjectProcessor { public: ProcessorScriptLocalShort() diff --git a/apps/openmw-mp/processors/world/ProcessorScriptMemberFloat.hpp b/apps/openmw-mp/processors/object/ProcessorScriptMemberFloat.hpp similarity index 73% rename from apps/openmw-mp/processors/world/ProcessorScriptMemberFloat.hpp rename to apps/openmw-mp/processors/object/ProcessorScriptMemberFloat.hpp index 83b97b8ad..6fe8e004e 100644 --- a/apps/openmw-mp/processors/world/ProcessorScriptMemberFloat.hpp +++ b/apps/openmw-mp/processors/object/ProcessorScriptMemberFloat.hpp @@ -1,11 +1,11 @@ #ifndef OPENMW_PROCESSORSCRIPTMEMBERFLOAT_HPP #define OPENMW_PROCESSORSCRIPTMEMBERFLOAT_HPP -#include "../WorldProcessor.hpp" +#include "../ObjectProcessor.hpp" namespace mwmp { - class ProcessorScriptMemberFloat final : public WorldProcessor + class ProcessorScriptMemberFloat final : public ObjectProcessor { public: ProcessorScriptMemberFloat() diff --git a/apps/openmw-mp/processors/world/ProcessorScriptMemberShort.hpp b/apps/openmw-mp/processors/object/ProcessorScriptMemberShort.hpp similarity index 74% rename from apps/openmw-mp/processors/world/ProcessorScriptMemberShort.hpp rename to apps/openmw-mp/processors/object/ProcessorScriptMemberShort.hpp index 6704f5aa2..e3d0d4f73 100644 --- a/apps/openmw-mp/processors/world/ProcessorScriptMemberShort.hpp +++ b/apps/openmw-mp/processors/object/ProcessorScriptMemberShort.hpp @@ -1,11 +1,11 @@ #ifndef OPENMW_PROCESSORSCRIPTMEMBERSHORT_HPP #define OPENMW_PROCESSORSCRIPTMEMBERSHORT_HPP -#include "../WorldProcessor.hpp" +#include "../ObjectProcessor.hpp" namespace mwmp { - class ProcessorScriptMemberShort final: public WorldProcessor + class ProcessorScriptMemberShort final: public ObjectProcessor { public: ProcessorScriptMemberShort() diff --git a/apps/openmw-mp/processors/world/ProcessorVideoPlay.hpp b/apps/openmw-mp/processors/object/ProcessorVideoPlay.hpp similarity index 72% rename from apps/openmw-mp/processors/world/ProcessorVideoPlay.hpp rename to apps/openmw-mp/processors/object/ProcessorVideoPlay.hpp index 5377bf169..122ad7d6e 100644 --- a/apps/openmw-mp/processors/world/ProcessorVideoPlay.hpp +++ b/apps/openmw-mp/processors/object/ProcessorVideoPlay.hpp @@ -1,11 +1,11 @@ #ifndef OPENMW_PROCESSORVIDEOPLAY_HPP #define OPENMW_PROCESSORVIDEOPLAY_HPP -#include "../WorldProcessor.hpp" +#include "../ObjectProcessor.hpp" namespace mwmp { - class ProcessorVideoPlay final: public WorldProcessor + class ProcessorVideoPlay final: public ObjectProcessor { public: ProcessorVideoPlay() diff --git a/apps/openmw/CMakeLists.txt b/apps/openmw/CMakeLists.txt index e4d49c73e..c55e38546 100644 --- a/apps/openmw/CMakeLists.txt +++ b/apps/openmw/CMakeLists.txt @@ -104,7 +104,7 @@ add_openmw_dir (mwmp Main Networking LocalPlayer DedicatedPlayer PlayerList Loca add_openmw_dir (mwmp/GUI GUIChat GUILogin PlayerMarkerCollection GUIDialogList TextInputDialog GUICustomWindow ) -add_openmw_dir(mwmp/processors BaseClientPacketProcessor PlayerProcessor WorldProcessor ActorProcessor ProcessorInitializer +add_openmw_dir(mwmp/processors BaseClientPacketProcessor PlayerProcessor ObjectProcessor ActorProcessor ProcessorInitializer ) add_openmw_dir (mwmp/processors/actor ProcessorActorAI ProcessorActorAnimFlags ProcessorActorAnimPlay ProcessorActorAttack @@ -124,7 +124,7 @@ add_openmw_dir (mwmp/processors/player ProcessorChatMessage ProcessorGUIMessageB ProcessorPlayerSpellbook ProcessorPlayerStatsDynamic ProcessorPlayerTopic ) -add_openmw_dir (mwmp/processors/world BaseObjectProcessor ProcessorConsoleCommand ProcessorContainer ProcessorDoorDestination +add_openmw_dir (mwmp/processors/object BaseObjectProcessor ProcessorConsoleCommand ProcessorContainer ProcessorDoorDestination ProcessorDoorState ProcessorMusicPlay ProcessorVideoPlay ProcessorObjectAnimPlay ProcessorObjectAttach ProcessorObjectCollision ProcessorObjectDelete ProcessorObjectLock ProcessorObjectMove ProcessorObjectPlace ProcessorObjectReset ProcessorObjectRotate ProcessorObjectScale ProcessorObjectSpawn ProcessorObjectState diff --git a/apps/openmw/mwmp/Networking.cpp b/apps/openmw/mwmp/Networking.cpp index e8620cdf6..f48d5bd07 100644 --- a/apps/openmw/mwmp/Networking.cpp +++ b/apps/openmw/mwmp/Networking.cpp @@ -38,7 +38,7 @@ #include "Main.hpp" #include "processors/ProcessorInitializer.hpp" #include "processors/PlayerProcessor.hpp" -#include "processors/WorldProcessor.hpp" +#include "processors/ObjectProcessor.hpp" #include "processors/ActorProcessor.hpp" #include "GUIController.hpp" #include "CellController.hpp" @@ -432,7 +432,7 @@ void Networking::receiveMessage(RakNet::Packet *packet) } else if (objectPacketController.ContainsPacket(packet->data[0])) { - if (!WorldProcessor::Process(*packet, objectList)) + if (!ObjectProcessor::Process(*packet, objectList)) LOG_MESSAGE_SIMPLE(Log::LOG_WARN, "Unhandled ObjectPacket with identifier %i has arrived", (int) packet->data[0]); } } diff --git a/apps/openmw/mwmp/processors/WorldProcessor.cpp b/apps/openmw/mwmp/processors/ObjectProcessor.cpp similarity index 91% rename from apps/openmw/mwmp/processors/WorldProcessor.cpp rename to apps/openmw/mwmp/processors/ObjectProcessor.cpp index d951c02d9..7eae403db 100644 --- a/apps/openmw/mwmp/processors/WorldProcessor.cpp +++ b/apps/openmw/mwmp/processors/ObjectProcessor.cpp @@ -1,4 +1,4 @@ -#include "WorldProcessor.hpp" +#include "ObjectProcessor.hpp" #include "../Main.hpp" #include "../Networking.hpp" @@ -7,7 +7,7 @@ using namespace mwmp; template typename BasePacketProcessor::processors_t BasePacketProcessor::processors; -bool WorldProcessor::Process(RakNet::Packet &packet, ObjectList &objectList) +bool ObjectProcessor::Process(RakNet::Packet &packet, ObjectList &objectList) { RakNet::BitStream bsIn(&packet.data[1], packet.length, false); bsIn.Read(guid); diff --git a/apps/openmw/mwmp/processors/WorldProcessor.hpp b/apps/openmw/mwmp/processors/ObjectProcessor.hpp similarity index 85% rename from apps/openmw/mwmp/processors/WorldProcessor.hpp rename to apps/openmw/mwmp/processors/ObjectProcessor.hpp index 1aa39b2ae..8179a9271 100644 --- a/apps/openmw/mwmp/processors/WorldProcessor.hpp +++ b/apps/openmw/mwmp/processors/ObjectProcessor.hpp @@ -15,7 +15,7 @@ namespace mwmp { - class WorldProcessor : public BasePacketProcessor, public BaseClientPacketProcessor + class ObjectProcessor : public BasePacketProcessor, public BaseClientPacketProcessor { public: virtual void Do(ObjectPacket &packet, ObjectList &objectList) = 0; diff --git a/apps/openmw/mwmp/processors/ProcessorInitializer.cpp b/apps/openmw/mwmp/processors/ProcessorInitializer.cpp index 9117fbab6..fdf5aa919 100644 --- a/apps/openmw/mwmp/processors/ProcessorInitializer.cpp +++ b/apps/openmw/mwmp/processors/ProcessorInitializer.cpp @@ -54,32 +54,32 @@ #include "player/ProcessorPlayerStatsDynamic.hpp" #include "player/ProcessorPlayerTopic.hpp" -#include "WorldProcessor.hpp" -#include "world/ProcessorConsoleCommand.hpp" -#include "world/ProcessorContainer.hpp" -#include "world/ProcessorDoorDestination.hpp" -#include "world/ProcessorDoorState.hpp" -#include "world/ProcessorMusicPlay.hpp" -#include "world/ProcessorObjectAnimPlay.hpp" -#include "world/ProcessorObjectAttach.hpp" -#include "world/ProcessorObjectCollision.hpp" -#include "world/ProcessorObjectDelete.hpp" -#include "world/ProcessorObjectLock.hpp" -#include "world/ProcessorObjectMove.hpp" -#include "world/ProcessorObjectPlace.hpp" -#include "world/ProcessorObjectReset.hpp" -#include "world/ProcessorObjectRotate.hpp" -#include "world/ProcessorObjectScale.hpp" -#include "world/ProcessorObjectSpawn.hpp" -#include "world/ProcessorObjectState.hpp" -#include "world/ProcessorObjectTrap.hpp" -#include "world/ProcessorScriptLocalShort.hpp" -#include "world/ProcessorScriptLocalFloat.hpp" -#include "world/ProcessorScriptMemberShort.hpp" -#include "world/ProcessorScriptMemberFloat.hpp" -#include "world/ProcessorScriptGlobalShort.hpp" -#include "world/ProcessorScriptGlobalFloat.hpp" -#include "world/ProcessorVideoPlay.hpp" +#include "ObjectProcessor.hpp" +#include "object/ProcessorConsoleCommand.hpp" +#include "object/ProcessorContainer.hpp" +#include "object/ProcessorDoorDestination.hpp" +#include "object/ProcessorDoorState.hpp" +#include "object/ProcessorMusicPlay.hpp" +#include "object/ProcessorObjectAnimPlay.hpp" +#include "object/ProcessorObjectAttach.hpp" +#include "object/ProcessorObjectCollision.hpp" +#include "object/ProcessorObjectDelete.hpp" +#include "object/ProcessorObjectLock.hpp" +#include "object/ProcessorObjectMove.hpp" +#include "object/ProcessorObjectPlace.hpp" +#include "object/ProcessorObjectReset.hpp" +#include "object/ProcessorObjectRotate.hpp" +#include "object/ProcessorObjectScale.hpp" +#include "object/ProcessorObjectSpawn.hpp" +#include "object/ProcessorObjectState.hpp" +#include "object/ProcessorObjectTrap.hpp" +#include "object/ProcessorScriptLocalShort.hpp" +#include "object/ProcessorScriptLocalFloat.hpp" +#include "object/ProcessorScriptMemberShort.hpp" +#include "object/ProcessorScriptMemberFloat.hpp" +#include "object/ProcessorScriptGlobalShort.hpp" +#include "object/ProcessorScriptGlobalFloat.hpp" +#include "object/ProcessorVideoPlay.hpp" #include "actor/ProcessorActorAI.hpp" #include "actor/ProcessorActorAnimFlags.hpp" @@ -148,31 +148,31 @@ void ProcessorInitializer() PlayerProcessor::AddProcessor(new ProcessorPlayerStatsDynamic()); PlayerProcessor::AddProcessor(new ProcessorPlayerTopic()); - WorldProcessor::AddProcessor(new ProcessorConsoleCommand()); - WorldProcessor::AddProcessor(new ProcessorContainer()); - WorldProcessor::AddProcessor(new ProcessorDoorDestination()); - WorldProcessor::AddProcessor(new ProcessorDoorState()); - WorldProcessor::AddProcessor(new ProcessorMusicPlay()); - WorldProcessor::AddProcessor(new ProcessorObjectAnimPlay()); - WorldProcessor::AddProcessor(new ProcessorObjectAttach()); - WorldProcessor::AddProcessor(new ProcessorObjectCollision()); - WorldProcessor::AddProcessor(new ProcessorObjectDelete()); - WorldProcessor::AddProcessor(new ProcessorObjectLock()); - WorldProcessor::AddProcessor(new ProcessorObjectMove()); - WorldProcessor::AddProcessor(new ProcessorObjectPlace()); - WorldProcessor::AddProcessor(new ProcessorObjectReset()); - WorldProcessor::AddProcessor(new ProcessorObjectRotate()); - WorldProcessor::AddProcessor(new ProcessorObjectScale()); - WorldProcessor::AddProcessor(new ProcessorObjectSpawn()); - WorldProcessor::AddProcessor(new ProcessorObjectState()); - WorldProcessor::AddProcessor(new ProcessorObjectTrap()); - WorldProcessor::AddProcessor(new ProcessorScriptLocalShort()); - WorldProcessor::AddProcessor(new ProcessorScriptLocalFloat()); - WorldProcessor::AddProcessor(new ProcessorScriptMemberShort()); - WorldProcessor::AddProcessor(new ProcessorScriptMemberFloat()); - WorldProcessor::AddProcessor(new ProcessorScriptGlobalShort()); - WorldProcessor::AddProcessor(new ProcessorScriptGlobalFloat()); - WorldProcessor::AddProcessor(new ProcessorVideoPlay()); + ObjectProcessor::AddProcessor(new ProcessorConsoleCommand()); + ObjectProcessor::AddProcessor(new ProcessorContainer()); + ObjectProcessor::AddProcessor(new ProcessorDoorDestination()); + ObjectProcessor::AddProcessor(new ProcessorDoorState()); + ObjectProcessor::AddProcessor(new ProcessorMusicPlay()); + ObjectProcessor::AddProcessor(new ProcessorObjectAnimPlay()); + ObjectProcessor::AddProcessor(new ProcessorObjectAttach()); + ObjectProcessor::AddProcessor(new ProcessorObjectCollision()); + ObjectProcessor::AddProcessor(new ProcessorObjectDelete()); + ObjectProcessor::AddProcessor(new ProcessorObjectLock()); + ObjectProcessor::AddProcessor(new ProcessorObjectMove()); + ObjectProcessor::AddProcessor(new ProcessorObjectPlace()); + ObjectProcessor::AddProcessor(new ProcessorObjectReset()); + ObjectProcessor::AddProcessor(new ProcessorObjectRotate()); + ObjectProcessor::AddProcessor(new ProcessorObjectScale()); + ObjectProcessor::AddProcessor(new ProcessorObjectSpawn()); + ObjectProcessor::AddProcessor(new ProcessorObjectState()); + ObjectProcessor::AddProcessor(new ProcessorObjectTrap()); + ObjectProcessor::AddProcessor(new ProcessorScriptLocalShort()); + ObjectProcessor::AddProcessor(new ProcessorScriptLocalFloat()); + ObjectProcessor::AddProcessor(new ProcessorScriptMemberShort()); + ObjectProcessor::AddProcessor(new ProcessorScriptMemberFloat()); + ObjectProcessor::AddProcessor(new ProcessorScriptGlobalShort()); + ObjectProcessor::AddProcessor(new ProcessorScriptGlobalFloat()); + ObjectProcessor::AddProcessor(new ProcessorVideoPlay()); ActorProcessor::AddProcessor(new ProcessorActorAI()); ActorProcessor::AddProcessor(new ProcessorActorAnimFlags()); diff --git a/apps/openmw/mwmp/processors/world/BaseObjectProcessor.hpp b/apps/openmw/mwmp/processors/object/BaseObjectProcessor.hpp similarity index 89% rename from apps/openmw/mwmp/processors/world/BaseObjectProcessor.hpp rename to apps/openmw/mwmp/processors/object/BaseObjectProcessor.hpp index b1a21ce08..8915be16a 100644 --- a/apps/openmw/mwmp/processors/world/BaseObjectProcessor.hpp +++ b/apps/openmw/mwmp/processors/object/BaseObjectProcessor.hpp @@ -5,14 +5,14 @@ #ifndef OPENMW_BASEOBJECTPROCESSOR_HPP #define OPENMW_BASEOBJECTPROCESSOR_HPP -#include "../WorldProcessor.hpp" +#include "../ObjectProcessor.hpp" #include "apps/openmw/mwmp/Main.hpp" #include "apps/openmw/mwmp/CellController.hpp" #include "apps/openmw/mwworld/cellstore.hpp" namespace mwmp { - class BaseObjectProcessor: public WorldProcessor + class BaseObjectProcessor: public ObjectProcessor { public: virtual void Do(ObjectPacket &packet, ObjectList &objectList) diff --git a/apps/openmw/mwmp/processors/world/ProcessorConsoleCommand.hpp b/apps/openmw/mwmp/processors/object/ProcessorConsoleCommand.hpp similarity index 100% rename from apps/openmw/mwmp/processors/world/ProcessorConsoleCommand.hpp rename to apps/openmw/mwmp/processors/object/ProcessorConsoleCommand.hpp diff --git a/apps/openmw/mwmp/processors/world/ProcessorContainer.hpp b/apps/openmw/mwmp/processors/object/ProcessorContainer.hpp similarity index 100% rename from apps/openmw/mwmp/processors/world/ProcessorContainer.hpp rename to apps/openmw/mwmp/processors/object/ProcessorContainer.hpp diff --git a/apps/openmw/mwmp/processors/world/ProcessorDoorDestination.hpp b/apps/openmw/mwmp/processors/object/ProcessorDoorDestination.hpp similarity index 100% rename from apps/openmw/mwmp/processors/world/ProcessorDoorDestination.hpp rename to apps/openmw/mwmp/processors/object/ProcessorDoorDestination.hpp diff --git a/apps/openmw/mwmp/processors/world/ProcessorDoorState.hpp b/apps/openmw/mwmp/processors/object/ProcessorDoorState.hpp similarity index 100% rename from apps/openmw/mwmp/processors/world/ProcessorDoorState.hpp rename to apps/openmw/mwmp/processors/object/ProcessorDoorState.hpp diff --git a/apps/openmw/mwmp/processors/world/ProcessorMusicPlay.hpp b/apps/openmw/mwmp/processors/object/ProcessorMusicPlay.hpp similarity index 83% rename from apps/openmw/mwmp/processors/world/ProcessorMusicPlay.hpp rename to apps/openmw/mwmp/processors/object/ProcessorMusicPlay.hpp index 4ba5f6295..a048e4201 100644 --- a/apps/openmw/mwmp/processors/world/ProcessorMusicPlay.hpp +++ b/apps/openmw/mwmp/processors/object/ProcessorMusicPlay.hpp @@ -1,11 +1,11 @@ #ifndef OPENMW_PROCESSORMUSICPLAY_HPP #define OPENMW_PROCESSORMUSICPLAY_HPP -#include "../WorldProcessor.hpp" +#include "../ObjectProcessor.hpp" namespace mwmp { - class ProcessorMusicPlay final: public WorldProcessor + class ProcessorMusicPlay final: public ObjectProcessor { public: ProcessorMusicPlay() diff --git a/apps/openmw/mwmp/processors/world/ProcessorObjectAnimPlay.hpp b/apps/openmw/mwmp/processors/object/ProcessorObjectAnimPlay.hpp similarity index 100% rename from apps/openmw/mwmp/processors/world/ProcessorObjectAnimPlay.hpp rename to apps/openmw/mwmp/processors/object/ProcessorObjectAnimPlay.hpp diff --git a/apps/openmw/mwmp/processors/world/ProcessorObjectAttach.hpp b/apps/openmw/mwmp/processors/object/ProcessorObjectAttach.hpp similarity index 100% rename from apps/openmw/mwmp/processors/world/ProcessorObjectAttach.hpp rename to apps/openmw/mwmp/processors/object/ProcessorObjectAttach.hpp diff --git a/apps/openmw/mwmp/processors/world/ProcessorObjectCollision.hpp b/apps/openmw/mwmp/processors/object/ProcessorObjectCollision.hpp similarity index 100% rename from apps/openmw/mwmp/processors/world/ProcessorObjectCollision.hpp rename to apps/openmw/mwmp/processors/object/ProcessorObjectCollision.hpp diff --git a/apps/openmw/mwmp/processors/world/ProcessorObjectDelete.hpp b/apps/openmw/mwmp/processors/object/ProcessorObjectDelete.hpp similarity index 100% rename from apps/openmw/mwmp/processors/world/ProcessorObjectDelete.hpp rename to apps/openmw/mwmp/processors/object/ProcessorObjectDelete.hpp diff --git a/apps/openmw/mwmp/processors/world/ProcessorObjectLock.hpp b/apps/openmw/mwmp/processors/object/ProcessorObjectLock.hpp similarity index 100% rename from apps/openmw/mwmp/processors/world/ProcessorObjectLock.hpp rename to apps/openmw/mwmp/processors/object/ProcessorObjectLock.hpp diff --git a/apps/openmw/mwmp/processors/world/ProcessorObjectMove.hpp b/apps/openmw/mwmp/processors/object/ProcessorObjectMove.hpp similarity index 100% rename from apps/openmw/mwmp/processors/world/ProcessorObjectMove.hpp rename to apps/openmw/mwmp/processors/object/ProcessorObjectMove.hpp diff --git a/apps/openmw/mwmp/processors/world/ProcessorObjectPlace.hpp b/apps/openmw/mwmp/processors/object/ProcessorObjectPlace.hpp similarity index 100% rename from apps/openmw/mwmp/processors/world/ProcessorObjectPlace.hpp rename to apps/openmw/mwmp/processors/object/ProcessorObjectPlace.hpp diff --git a/apps/openmw/mwmp/processors/world/ProcessorObjectReset.hpp b/apps/openmw/mwmp/processors/object/ProcessorObjectReset.hpp similarity index 100% rename from apps/openmw/mwmp/processors/world/ProcessorObjectReset.hpp rename to apps/openmw/mwmp/processors/object/ProcessorObjectReset.hpp diff --git a/apps/openmw/mwmp/processors/world/ProcessorObjectRotate.hpp b/apps/openmw/mwmp/processors/object/ProcessorObjectRotate.hpp similarity index 100% rename from apps/openmw/mwmp/processors/world/ProcessorObjectRotate.hpp rename to apps/openmw/mwmp/processors/object/ProcessorObjectRotate.hpp diff --git a/apps/openmw/mwmp/processors/world/ProcessorObjectScale.hpp b/apps/openmw/mwmp/processors/object/ProcessorObjectScale.hpp similarity index 100% rename from apps/openmw/mwmp/processors/world/ProcessorObjectScale.hpp rename to apps/openmw/mwmp/processors/object/ProcessorObjectScale.hpp diff --git a/apps/openmw/mwmp/processors/world/ProcessorObjectSpawn.hpp b/apps/openmw/mwmp/processors/object/ProcessorObjectSpawn.hpp similarity index 100% rename from apps/openmw/mwmp/processors/world/ProcessorObjectSpawn.hpp rename to apps/openmw/mwmp/processors/object/ProcessorObjectSpawn.hpp diff --git a/apps/openmw/mwmp/processors/world/ProcessorObjectState.hpp b/apps/openmw/mwmp/processors/object/ProcessorObjectState.hpp similarity index 100% rename from apps/openmw/mwmp/processors/world/ProcessorObjectState.hpp rename to apps/openmw/mwmp/processors/object/ProcessorObjectState.hpp diff --git a/apps/openmw/mwmp/processors/world/ProcessorObjectTrap.hpp b/apps/openmw/mwmp/processors/object/ProcessorObjectTrap.hpp similarity index 100% rename from apps/openmw/mwmp/processors/world/ProcessorObjectTrap.hpp rename to apps/openmw/mwmp/processors/object/ProcessorObjectTrap.hpp diff --git a/apps/openmw/mwmp/processors/world/ProcessorScriptGlobalFloat.hpp b/apps/openmw/mwmp/processors/object/ProcessorScriptGlobalFloat.hpp similarity index 83% rename from apps/openmw/mwmp/processors/world/ProcessorScriptGlobalFloat.hpp rename to apps/openmw/mwmp/processors/object/ProcessorScriptGlobalFloat.hpp index 2ac4400ac..7fb15018e 100644 --- a/apps/openmw/mwmp/processors/world/ProcessorScriptGlobalFloat.hpp +++ b/apps/openmw/mwmp/processors/object/ProcessorScriptGlobalFloat.hpp @@ -1,11 +1,11 @@ #ifndef OPENMW_PROCESSORSCRIPTGLOBALFLOAT_HPP #define OPENMW_PROCESSORSCRIPTGLOBALFLOAT_HPP -#include "../WorldProcessor.hpp" +#include "../ObjectProcessor.hpp" namespace mwmp { - class ProcessorScriptGlobalFloat final: public WorldProcessor + class ProcessorScriptGlobalFloat final: public ObjectProcessor { public: ProcessorScriptGlobalFloat() diff --git a/apps/openmw/mwmp/processors/world/ProcessorScriptGlobalShort.hpp b/apps/openmw/mwmp/processors/object/ProcessorScriptGlobalShort.hpp similarity index 83% rename from apps/openmw/mwmp/processors/world/ProcessorScriptGlobalShort.hpp rename to apps/openmw/mwmp/processors/object/ProcessorScriptGlobalShort.hpp index cbcb137a8..6cb2cd954 100644 --- a/apps/openmw/mwmp/processors/world/ProcessorScriptGlobalShort.hpp +++ b/apps/openmw/mwmp/processors/object/ProcessorScriptGlobalShort.hpp @@ -1,11 +1,11 @@ #ifndef OPENMW_PROCESSORSCRIPTGLOBALSHORT_HPP #define OPENMW_PROCESSORSCRIPTGLOBALSHORT_HPP -#include "../WorldProcessor.hpp" +#include "../ObjectProcessor.hpp" namespace mwmp { - class ProcessorScriptGlobalShort final: public WorldProcessor + class ProcessorScriptGlobalShort final: public ObjectProcessor { public: ProcessorScriptGlobalShort() diff --git a/apps/openmw/mwmp/processors/world/ProcessorScriptLocalFloat.hpp b/apps/openmw/mwmp/processors/object/ProcessorScriptLocalFloat.hpp similarity index 100% rename from apps/openmw/mwmp/processors/world/ProcessorScriptLocalFloat.hpp rename to apps/openmw/mwmp/processors/object/ProcessorScriptLocalFloat.hpp diff --git a/apps/openmw/mwmp/processors/world/ProcessorScriptLocalShort.hpp b/apps/openmw/mwmp/processors/object/ProcessorScriptLocalShort.hpp similarity index 100% rename from apps/openmw/mwmp/processors/world/ProcessorScriptLocalShort.hpp rename to apps/openmw/mwmp/processors/object/ProcessorScriptLocalShort.hpp diff --git a/apps/openmw/mwmp/processors/world/ProcessorScriptMemberFloat.hpp b/apps/openmw/mwmp/processors/object/ProcessorScriptMemberFloat.hpp similarity index 83% rename from apps/openmw/mwmp/processors/world/ProcessorScriptMemberFloat.hpp rename to apps/openmw/mwmp/processors/object/ProcessorScriptMemberFloat.hpp index a10bb32c7..3356cfda1 100644 --- a/apps/openmw/mwmp/processors/world/ProcessorScriptMemberFloat.hpp +++ b/apps/openmw/mwmp/processors/object/ProcessorScriptMemberFloat.hpp @@ -1,11 +1,11 @@ #ifndef OPENMW_PROCESSORSCRIPTMEMBERFLOAT_HPP #define OPENMW_PROCESSORSCRIPTMEMBERFLOAT_HPP -#include "../WorldProcessor.hpp" +#include "../ObjectProcessor.hpp" namespace mwmp { - class ProcessorScriptMemberFloat final: public WorldProcessor + class ProcessorScriptMemberFloat final: public ObjectProcessor { public: ProcessorScriptMemberFloat() diff --git a/apps/openmw/mwmp/processors/world/ProcessorScriptMemberShort.hpp b/apps/openmw/mwmp/processors/object/ProcessorScriptMemberShort.hpp similarity index 83% rename from apps/openmw/mwmp/processors/world/ProcessorScriptMemberShort.hpp rename to apps/openmw/mwmp/processors/object/ProcessorScriptMemberShort.hpp index c159129d2..a51d21020 100644 --- a/apps/openmw/mwmp/processors/world/ProcessorScriptMemberShort.hpp +++ b/apps/openmw/mwmp/processors/object/ProcessorScriptMemberShort.hpp @@ -1,11 +1,11 @@ #ifndef OPENMW_PROCESSORSCRIPTMEMBERSHORT_HPP #define OPENMW_PROCESSORSCRIPTMEMBERSHORT_HPP -#include "../WorldProcessor.hpp" +#include "../ObjectProcessor.hpp" namespace mwmp { - class ProcessorScriptMemberShort final: public WorldProcessor + class ProcessorScriptMemberShort final: public ObjectProcessor { public: ProcessorScriptMemberShort() diff --git a/apps/openmw/mwmp/processors/world/ProcessorVideoPlay.hpp b/apps/openmw/mwmp/processors/object/ProcessorVideoPlay.hpp similarity index 83% rename from apps/openmw/mwmp/processors/world/ProcessorVideoPlay.hpp rename to apps/openmw/mwmp/processors/object/ProcessorVideoPlay.hpp index 59a0beeef..8fe1b1f76 100644 --- a/apps/openmw/mwmp/processors/world/ProcessorVideoPlay.hpp +++ b/apps/openmw/mwmp/processors/object/ProcessorVideoPlay.hpp @@ -1,11 +1,11 @@ #ifndef OPENMW_PROCESSORVIDEOPLAY_HPP #define OPENMW_PROCESSORVIDEOPLAY_HPP -#include "../WorldProcessor.hpp" +#include "../ObjectProcessor.hpp" namespace mwmp { - class ProcessorVideoPlay final: public WorldProcessor + class ProcessorVideoPlay final: public ObjectProcessor { public: ProcessorVideoPlay()