@ -80,7 +80,7 @@ set(SERVER
Script/Functions/Cells.cpp Script/Functions/World.cpp Script/Functions/Miscellaneous.cpp
PlayerProcessor.cpp
init_processors.cpp
ProcessorInitializer.cpp
Script/API/TimerAPI.cpp Script/API/PublicFnAPI.cpp
${PawnScript_Sources}
@ -3,7 +3,7 @@
//
#include "Player.hpp"
#include "init_processors.hpp"
#include "ProcessorInitializer.hpp"
#include <RakPeer.h>
#include <Kbhit.h>
#include <components/openmw-mp/NetworkMessages.hpp>
@ -49,7 +49,7 @@ Networking::Networking(RakNet::RakPeerInterface *peer)
serverPassword = TES3MP_DEFAULT_PASSW;
init_processors();
ProcessorInitializer();
}
Networking::~Networking()
@ -2,7 +2,7 @@
// Created by koncord on 31.03.17.
#include "PlayerProcessor.hpp"
#include "processors/ProcessorPlayerPos.hpp"
@ -28,7 +28,7 @@
using namespace mwmp;
void init_processors()
void ProcessorInitializer()
{
PlayerProcessor::AddProcessor(new ProcessorPlayerPos());
PlayerProcessor::AddProcessor(new ProcessorPlayerCellChange());
@ -5,7 +5,7 @@
#ifndef OPENMW_INIT_PROCESSORS_HPP
#define OPENMW_INIT_PROCESSORS_HPP
void init_processors();
void ProcessorInitializer();
#endif //OPENMW_INIT_PROCESSORS_HPP