1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-30 11:06:43 +00:00

[General] Fix names for two PlayerProcessors

This commit is contained in:
David Cernat 2017-04-25 19:01:56 +03:00
parent 7dbcfbd3b1
commit 6658531713
6 changed files with 21 additions and 21 deletions

View file

@ -112,12 +112,12 @@ source_group(tes3mp-server\\processors\\actor FILES ${PROCESSORS_ACTOR})
set(PROCESSORS_PLAYER set(PROCESSORS_PLAYER
processors/player/ProcessorChatMsg.hpp processors/player/ProcessorGUIMessageBox.hpp processors/player/ProcessorChatMsg.hpp processors/player/ProcessorGUIMessageBox.hpp
processors/player/ProcessorLevel.hpp processors/player/ProcessorPlayerAnimFlags.hpp processors/player/ProcessorPlayerAnimFlags.hpp processors/player/ProcessorPlayerAttack.hpp
processors/player/ProcessorPlayerAttack.hpp processors/player/ProcessorPlayerAttribute.hpp processors/player/ProcessorPlayerAttribute.hpp processors/player/ProcessorPlayerCellChange.hpp
processors/player/ProcessorPlayerCellChange.hpp processors/player/ProcessorPlayerCellState.hpp processors/player/ProcessorPlayerCellState.hpp processors/player/ProcessorPlayerCharClass.hpp
processors/player/ProcessorPlayerCharClass.hpp processors/player/ProcessorPlayerCharGen.hpp processors/player/ProcessorPlayerCharGen.hpp processors/player/ProcessorPlayerDeath.hpp
processors/player/ProcessorPlayerDeath.hpp processors/player/ProcessorPlayerEquipment.hpp processors/player/ProcessorPlayerEquipment.hpp processors/player/ProcessorPlayerInventory.hpp
processors/player/ProcessorPlayerInventory.hpp processors/player/ProcessorPlayerJournal.hpp processors/player/ProcessorPlayerJournal.hpp processors/player/ProcessorPlayerLevel.hpp
processors/player/ProcessorPlayerPos.hpp processors/player/ProcessorPlayerResurrect.hpp processors/player/ProcessorPlayerPos.hpp processors/player/ProcessorPlayerResurrect.hpp
processors/player/ProcessorPlayerSkill.hpp processors/player/ProcessorPlayerSpellbook.hpp processors/player/ProcessorPlayerSkill.hpp processors/player/ProcessorPlayerSpellbook.hpp
processors/player/ProcessorPlayerStatsDynamic.hpp processors/player/ProcessorPlayerStatsDynamic.hpp

View file

@ -10,7 +10,7 @@
#include "processors/player/ProcessorPlayerCellState.hpp" #include "processors/player/ProcessorPlayerCellState.hpp"
#include "processors/player/ProcessorPlayerAttribute.hpp" #include "processors/player/ProcessorPlayerAttribute.hpp"
#include "processors/player/ProcessorPlayerSkill.hpp" #include "processors/player/ProcessorPlayerSkill.hpp"
#include "processors/player/ProcessorLevel.hpp" #include "processors/player/ProcessorPlayerLevel.hpp"
#include "processors/player/ProcessorPlayerEquipment.hpp" #include "processors/player/ProcessorPlayerEquipment.hpp"
#include "processors/player/ProcessorPlayerInventory.hpp" #include "processors/player/ProcessorPlayerInventory.hpp"
#include "processors/player/ProcessorPlayerSpellbook.hpp" #include "processors/player/ProcessorPlayerSpellbook.hpp"
@ -63,7 +63,7 @@ void ProcessorInitializer()
PlayerProcessor::AddProcessor(new ProcessorPlayerCellState()); PlayerProcessor::AddProcessor(new ProcessorPlayerCellState());
PlayerProcessor::AddProcessor(new ProcessorPlayerAttribute()); PlayerProcessor::AddProcessor(new ProcessorPlayerAttribute());
PlayerProcessor::AddProcessor(new ProcessorPlayerSkill()); PlayerProcessor::AddProcessor(new ProcessorPlayerSkill());
PlayerProcessor::AddProcessor(new ProcessorLevel()); PlayerProcessor::AddProcessor(new ProcessorPlayerLevel());
PlayerProcessor::AddProcessor(new ProcessorPlayerEquipment()); PlayerProcessor::AddProcessor(new ProcessorPlayerEquipment());
PlayerProcessor::AddProcessor(new ProcessorPlayerInventory()); PlayerProcessor::AddProcessor(new ProcessorPlayerInventory());
PlayerProcessor::AddProcessor(new ProcessorPlayerSpellbook()); PlayerProcessor::AddProcessor(new ProcessorPlayerSpellbook());

View file

@ -2,18 +2,18 @@
// Created by koncord on 01.04.17. // Created by koncord on 01.04.17.
// //
#ifndef OPENMW_PROCESSORLEVEL_HPP #ifndef OPENMW_PROCESSORPLAYERLEVEL_HPP
#define OPENMW_PROCESSORLEVEL_HPP #define OPENMW_PROCESSORPLAYERLEVEL_HPP
#include "apps/openmw-mp/PlayerProcessor.hpp" #include "apps/openmw-mp/PlayerProcessor.hpp"
namespace mwmp namespace mwmp
{ {
class ProcessorLevel : public PlayerProcessor class ProcessorPlayerLevel : public PlayerProcessor
{ {
public: public:
ProcessorLevel() ProcessorPlayerLevel()
{ {
BPP_INIT(ID_PLAYER_LEVEL) BPP_INIT(ID_PLAYER_LEVEL)
} }
@ -28,4 +28,4 @@ namespace mwmp
}; };
} }
#endif //OPENMW_PROCESSORLEVEL_HPP #endif //OPENMW_PROCESSORPLAYERLEVEL_HPP

View file

@ -108,7 +108,7 @@ add_openmw_dir (mwmp\\processors\\actor ProcessorActorAnimFlags ProcessorActorAn
add_openmw_dir (mwmp\\processors\\player ProcessorChatMessage ProcessorGameConsole ProcessorGameTime ProcessorGUIMessageBox add_openmw_dir (mwmp\\processors\\player ProcessorChatMessage ProcessorGameConsole ProcessorGameTime ProcessorGUIMessageBox
ProcessorHandshake ProcessorPlayerAttack ProcessorPlayerAttribute ProcessorPlayerBaseInfo ProcessorPlayerCellChange ProcessorHandshake ProcessorPlayerAttack ProcessorPlayerAttribute ProcessorPlayerBaseInfo ProcessorPlayerCellChange
ProcessorPlayerCellState ProcessorPlayerCharClass ProcessorPlayerCharGen ProcessorPlayerDeath ProcessorPlayerAnimFlags ProcessorPlayerCellState ProcessorPlayerCharClass ProcessorPlayerCharGen ProcessorPlayerDeath ProcessorPlayerAnimFlags
ProcessorPlayerDynamicStats ProcessorPlayerEquipment ProcessorPlayerInventory ProcessorPlayerJournal ProcessorPlayerStatsDynamic ProcessorPlayerEquipment ProcessorPlayerInventory ProcessorPlayerJournal
ProcessorPlayerLevel ProcessorPlayerPos ProcessorPlayerResurrect ProcessorPlayerSkill ProcessorPlayerSpellbook ProcessorPlayerLevel ProcessorPlayerPos ProcessorPlayerResurrect ProcessorPlayerSkill ProcessorPlayerSpellbook
ProcessorUserDisconnected ProcessorUserMyID ProcessorUserDisconnected ProcessorUserMyID
) )

View file

@ -16,7 +16,7 @@
#include "processors/player/ProcessorPlayerSpellbook.hpp" #include "processors/player/ProcessorPlayerSpellbook.hpp"
#include "processors/player/ProcessorPlayerJournal.hpp" #include "processors/player/ProcessorPlayerJournal.hpp"
#include "processors/player/ProcessorPlayerAttack.hpp" #include "processors/player/ProcessorPlayerAttack.hpp"
#include "processors/player/ProcessorPlayerDynamicStats.hpp" #include "processors/player/ProcessorPlayerStatsDynamic.hpp"
#include "processors/player/ProcessorPlayerDeath.hpp" #include "processors/player/ProcessorPlayerDeath.hpp"
#include "processors/player/ProcessorPlayerResurrect.hpp" #include "processors/player/ProcessorPlayerResurrect.hpp"
#include "processors/player/ProcessorPlayerAnimFlags.hpp" #include "processors/player/ProcessorPlayerAnimFlags.hpp"
@ -73,7 +73,7 @@ void ProcessorInitializer()
PlayerProcessor::AddProcessor(new ProcessorPlayerSpellbook()); PlayerProcessor::AddProcessor(new ProcessorPlayerSpellbook());
PlayerProcessor::AddProcessor(new ProcessorPlayerJournal()); PlayerProcessor::AddProcessor(new ProcessorPlayerJournal());
PlayerProcessor::AddProcessor(new ProcessorPlayerAttack()); PlayerProcessor::AddProcessor(new ProcessorPlayerAttack());
PlayerProcessor::AddProcessor(new ProcessorPlayerDynamicStats()); PlayerProcessor::AddProcessor(new ProcessorPlayerStatsDynamic());
PlayerProcessor::AddProcessor(new ProcessorPlayerDeath()); PlayerProcessor::AddProcessor(new ProcessorPlayerDeath());
PlayerProcessor::AddProcessor(new ProcessorPlayerResurrect()); PlayerProcessor::AddProcessor(new ProcessorPlayerResurrect());
PlayerProcessor::AddProcessor(new ProcessorPlayerAnimFlags()); PlayerProcessor::AddProcessor(new ProcessorPlayerAnimFlags());

View file

@ -2,18 +2,18 @@
// Created by koncord on 16.04.17. // Created by koncord on 16.04.17.
// //
#ifndef OPENMW_PROCESSORPLAYERDYNAMICSTATS_HPP #ifndef OPENMW_PROCESSORPLAYERSTATSDYNAMIC_HPP
#define OPENMW_PROCESSORPLAYERDYNAMICSTATS_HPP #define OPENMW_PROCESSORPLAYERSTATSDYNAMIC_HPP
#include "apps/openmw/mwmp/PlayerProcessor.hpp" #include "apps/openmw/mwmp/PlayerProcessor.hpp"
namespace mwmp namespace mwmp
{ {
class ProcessorPlayerDynamicStats : public PlayerProcessor class ProcessorPlayerStatsDynamic : public PlayerProcessor
{ {
public: public:
ProcessorPlayerDynamicStats() ProcessorPlayerStatsDynamic()
{ {
BPP_INIT(ID_PLAYER_STATS_DYNAMIC) BPP_INIT(ID_PLAYER_STATS_DYNAMIC)
} }
@ -44,4 +44,4 @@ namespace mwmp
} }
#endif //OPENMW_PROCESSORPLAYERDYNAMICSTATS_HPP #endif //OPENMW_PROCESSORPLAYERSTATSDYNAMIC_HPP