forked from teamnwah/openmw-tes3coop
[Server] Rename init_processors to ProcessorInitializer
This commit is contained in:
parent
e8a5fd1cd0
commit
3b52549a3d
4 changed files with 6 additions and 6 deletions
|
@ -80,7 +80,7 @@ set(SERVER
|
||||||
Script/Functions/Cells.cpp Script/Functions/World.cpp Script/Functions/Miscellaneous.cpp
|
Script/Functions/Cells.cpp Script/Functions/World.cpp Script/Functions/Miscellaneous.cpp
|
||||||
|
|
||||||
PlayerProcessor.cpp
|
PlayerProcessor.cpp
|
||||||
init_processors.cpp
|
ProcessorInitializer.cpp
|
||||||
|
|
||||||
Script/API/TimerAPI.cpp Script/API/PublicFnAPI.cpp
|
Script/API/TimerAPI.cpp Script/API/PublicFnAPI.cpp
|
||||||
${PawnScript_Sources}
|
${PawnScript_Sources}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
#include "Player.hpp"
|
#include "Player.hpp"
|
||||||
#include "init_processors.hpp"
|
#include "ProcessorInitializer.hpp"
|
||||||
#include <RakPeer.h>
|
#include <RakPeer.h>
|
||||||
#include <Kbhit.h>
|
#include <Kbhit.h>
|
||||||
#include <components/openmw-mp/NetworkMessages.hpp>
|
#include <components/openmw-mp/NetworkMessages.hpp>
|
||||||
|
@ -49,7 +49,7 @@ Networking::Networking(RakNet::RakPeerInterface *peer)
|
||||||
|
|
||||||
serverPassword = TES3MP_DEFAULT_PASSW;
|
serverPassword = TES3MP_DEFAULT_PASSW;
|
||||||
|
|
||||||
init_processors();
|
ProcessorInitializer();
|
||||||
}
|
}
|
||||||
|
|
||||||
Networking::~Networking()
|
Networking::~Networking()
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// Created by koncord on 31.03.17.
|
// Created by koncord on 31.03.17.
|
||||||
//
|
//
|
||||||
|
|
||||||
#include "init_processors.hpp"
|
#include "ProcessorInitializer.hpp"
|
||||||
|
|
||||||
#include "PlayerProcessor.hpp"
|
#include "PlayerProcessor.hpp"
|
||||||
#include "processors/ProcessorPlayerPos.hpp"
|
#include "processors/ProcessorPlayerPos.hpp"
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
using namespace mwmp;
|
using namespace mwmp;
|
||||||
|
|
||||||
void init_processors()
|
void ProcessorInitializer()
|
||||||
{
|
{
|
||||||
PlayerProcessor::AddProcessor(new ProcessorPlayerPos());
|
PlayerProcessor::AddProcessor(new ProcessorPlayerPos());
|
||||||
PlayerProcessor::AddProcessor(new ProcessorPlayerCellChange());
|
PlayerProcessor::AddProcessor(new ProcessorPlayerCellChange());
|
|
@ -5,7 +5,7 @@
|
||||||
#ifndef OPENMW_INIT_PROCESSORS_HPP
|
#ifndef OPENMW_INIT_PROCESSORS_HPP
|
||||||
#define OPENMW_INIT_PROCESSORS_HPP
|
#define OPENMW_INIT_PROCESSORS_HPP
|
||||||
|
|
||||||
void init_processors();
|
void ProcessorInitializer();
|
||||||
|
|
||||||
|
|
||||||
#endif //OPENMW_INIT_PROCESSORS_HPP
|
#endif //OPENMW_INIT_PROCESSORS_HPP
|
Loading…
Reference in a new issue