[General] Fix remaining references to world packets/events

pull/430/head
David Cernat 7 years ago
parent dc9a3bf73f
commit 049d0d9ba7

@ -144,7 +144,7 @@ set(PROCESSORS_PLAYER
source_group(tes3mp-server\\processors\\player FILES ${PROCESSORS_PLAYER})
set(PROCESSORS_WORLD
set(PROCESSORS_OBJECT
processors/object/ProcessorContainer.hpp processors/object/ProcessorDoorState.hpp
processors/object/ProcessorMusicPlay.hpp processors/object/ProcessorObjectAnimPlay.hpp
processors/object/ProcessorObjectDelete.hpp processors/object/ProcessorObjectLock.hpp
@ -157,7 +157,7 @@ set(PROCESSORS_WORLD
processors/object/ProcessorScriptGlobalFloat.hpp processors/object/ProcessorVideoPlay.hpp
)
source_group(tes3mp-server\\processors\\world FILES ${PROCESSORS_WORLD})
source_group(tes3mp-server\\processors\\world FILES ${PROCESSORS_OBJECT})
set(PROCESSORS
processors/ProcessorInitializer.cpp
@ -174,7 +174,7 @@ include_directories("./")
add_executable(tes3mp-server
${SERVER} ${SERVER_HEADER}
${PROCESSORS_ACTOR} ${PROCESSORS_PLAYER} ${PROCESSORS_WORLD} ${PROCESSORS}
${PROCESSORS_ACTOR} ${PROCESSORS_PLAYER} ${PROCESSORS_OBJECT} ${PROCESSORS}
${APPLE_BUNDLE_RESOURCES}
)
add_definitions(-std=gnu++14 -Wno-ignored-qualifiers)

@ -1,5 +1,5 @@
#ifndef OPENMW_WORLDEVENT_HPP
#define OPENMW_WORLDEVENT_HPP
#ifndef OPENMW_OBJECTLIST_HPP
#define OPENMW_OBJECTLIST_HPP
#include <components/openmw-mp/Base/BaseObject.hpp>
#include "../mwworld/cellstore.hpp"
@ -90,4 +90,4 @@ namespace mwmp
};
}
#endif //OPENMW_WORLDEVENT_HPP
#endif //OPENMW_OBJECTLIST_HPP

@ -1,9 +1,5 @@
//
// Created by koncord on 16.04.17.
//
#ifndef OPENMW_WORLDPROCESSSOR_HPP
#define OPENMW_WORLDPROCESSSOR_HPP
#ifndef OPENMW_OBJECTPROCESSSOR_HPP
#define OPENMW_OBJECTPROCESSSOR_HPP
#include <components/openmw-mp/Log.hpp>
#include <components/openmw-mp/NetworkMessages.hpp>
@ -25,4 +21,4 @@ namespace mwmp
}
#endif //OPENMW_WORLDPROCESSSOR_HPP
#endif //OPENMW_OBJECTPROCESSSOR_HPP

@ -1,5 +1,5 @@
#ifndef OPENMW_WORLDPACKETCONTROLLER_HPP
#define OPENMW_WORLDPACKETCONTROLLER_HPP
#ifndef OPENMW_OBJECTPACKETCONTROLLER_HPP
#define OPENMW_OBJECTPACKETCONTROLLER_HPP
#include <RakPeerInterface.h>
@ -24,4 +24,4 @@ namespace mwmp
};
}
#endif //OPENMW_WORLDPACKETCONTROLLER_HPP
#endif //OPENMW_OBJECTPACKETCONTROLLER_HPP

@ -115,7 +115,7 @@ enum OrderingChannel
CHANNEL_SYSTEM = 0,
CHANNEL_ACTOR,
CHANNEL_PLAYER,
CHANNEL_WORLDEVENT,
CHANNEL_OBJECT,
CHANNEL_MASTER
};

@ -11,7 +11,7 @@ ObjectPacket::ObjectPacket(RakNet::RakPeerInterface *peer) : BasePacket(peer)
packetID = 0;
priority = HIGH_PRIORITY;
reliability = RELIABLE_ORDERED;
orderChannel = CHANNEL_WORLDEVENT;
orderChannel = CHANNEL_OBJECT;
this->peer = peer;
}

@ -1,5 +1,5 @@
#ifndef OPENMW_WORLDPACKET_HPP
#define OPENMW_WORLDPACKET_HPP
#ifndef OPENMW_OBJECTPACKET_HPP
#define OPENMW_OBJECTPACKET_HPP
#include <string>
#include <RakNetTypes.h>
@ -32,4 +32,4 @@ namespace mwmp
};
}
#endif //OPENMW_WORLDPACKET_HPP
#endif //OPENMW_OBJECTPACKET_HPP

Loading…
Cancel
Save