[Client] Add ProcessorInitializer
parent
f09dc2b65b
commit
e98fa6ad07
@ -0,0 +1,95 @@
|
||||
//
|
||||
// Created by koncord on 31.03.17.
|
||||
//
|
||||
|
||||
#include "ProcessorInitializer.hpp"
|
||||
|
||||
#include "PlayerProcessor.hpp"
|
||||
#include "processors/player/ProcessorPlayerPos.hpp"
|
||||
#include "processors/player/ProcessorPlayerCellChange.hpp"
|
||||
#include "processors/player/ProcessorPlayerCellState.hpp"
|
||||
#include "processors/player/ProcessorPlayerAttribute.hpp"
|
||||
#include "processors/player/ProcessorPlayerSkill.hpp"
|
||||
#include "processors/player/ProcessorPlayerLevel.hpp"
|
||||
#include "processors/player/ProcessorPlayerEquipment.hpp"
|
||||
#include "processors/player/ProcessorPlayerInventory.hpp"
|
||||
#include "processors/player/ProcessorPlayerSpellbook.hpp"
|
||||
#include "processors/player/ProcessorPlayerJournal.hpp"
|
||||
#include "processors/player/ProcessorPlayerAttack.hpp"
|
||||
#include "processors/player/ProcessorPlayerDynamicStats.hpp"
|
||||
#include "processors/player/ProcessorPlayerDeath.hpp"
|
||||
#include "processors/player/ProcessorPlayerResurrect.hpp"
|
||||
#include "processors/player/ProcessorPlayerDrawState.hpp"
|
||||
#include "processors/player/ProcessorChatMessage.hpp"
|
||||
#include "processors/player/ProcessorPlayerCharGen.hpp"
|
||||
#include "processors/player/ProcessorGUIMessageBox.hpp"
|
||||
#include "processors/player/ProcessorPlayerCharClass.hpp"
|
||||
#include "processors/player/ProcessorHandshake.hpp"
|
||||
#include "processors/player/ProcessorPlayerBaseInfo.hpp"
|
||||
#include "processors/player/ProcessorUserDisconnected.hpp"
|
||||
#include "processors/player/ProcessorUserMyID.hpp"
|
||||
|
||||
/*#include "WorldProcessor.hpp"
|
||||
#include "processors/world/ProcessorContainer.hpp"
|
||||
#include "processors/world/ProcessorDoorState.hpp"
|
||||
#include "processors/world/ProcessorMusicPlay.hpp"
|
||||
#include "processors/world/ProcessorObjectAnimPlay.hpp"
|
||||
#include "processors/world/ProcessorObjectDelete.hpp"
|
||||
#include "processors/world/ProcessorObjectLock.hpp"
|
||||
#include "processors/world/ProcessorObjectMove.hpp"
|
||||
#include "processors/world/ProcessorObjectPlace.hpp"
|
||||
#include "processors/world/ProcessorObjectRotate.hpp"
|
||||
#include "processors/world/ProcessorObjectScale.hpp"
|
||||
#include "processors/world/ProcessorObjectUnlock.hpp"
|
||||
#include "processors/world/ProcessorScriptGlobalShort.hpp"
|
||||
#include "processors/world/ProcessorScriptLocalFloat.hpp"
|
||||
#include "processors/world/ProcessorScriptLocalShort.hpp"
|
||||
#include "processors/world/ProcessorScriptMemberShort.hpp"
|
||||
#include "processors/world/ProcessorVideoPlay.hpp"*/
|
||||
|
||||
|
||||
using namespace mwmp;
|
||||
|
||||
void ProcessorInitializer()
|
||||
{
|
||||
PlayerProcessor::AddProcessor(new ProcessorPlayerPos());
|
||||
PlayerProcessor::AddProcessor(new ProcessorPlayerCellChange());
|
||||
PlayerProcessor::AddProcessor(new ProcessorPlayerCellState());
|
||||
PlayerProcessor::AddProcessor(new ProcessorPlayerAttribute());
|
||||
PlayerProcessor::AddProcessor(new ProcessorPlayerSkill());
|
||||
PlayerProcessor::AddProcessor(new ProcessorPlayerLevel());
|
||||
PlayerProcessor::AddProcessor(new ProcessorPlayerEquipment());
|
||||
PlayerProcessor::AddProcessor(new ProcessorPlayerInventory());
|
||||
PlayerProcessor::AddProcessor(new ProcessorPlayerSpellbook());
|
||||
PlayerProcessor::AddProcessor(new ProcessorPlayerJournal());
|
||||
PlayerProcessor::AddProcessor(new ProcessorPlayerAttack());
|
||||
PlayerProcessor::AddProcessor(new ProcessorPlayerDynamicStats());
|
||||
PlayerProcessor::AddProcessor(new ProcessorPlayerDeath());
|
||||
PlayerProcessor::AddProcessor(new ProcessorPlayerResurrect());
|
||||
PlayerProcessor::AddProcessor(new ProcessorPlayerDrawState());
|
||||
PlayerProcessor::AddProcessor(new ProcessorChatMessage());
|
||||
PlayerProcessor::AddProcessor(new ProcessorPlayerCharGen());
|
||||
PlayerProcessor::AddProcessor(new ProcessorGUIMessageBox());
|
||||
PlayerProcessor::AddProcessor(new ProcessorPlayerCharClass());
|
||||
PlayerProcessor::AddProcessor(new ProcessorHandshake());
|
||||
PlayerProcessor::AddProcessor(new ProcessorPlayerBaseInfo());
|
||||
PlayerProcessor::AddProcessor(new ProcessorUserDisconnected());
|
||||
PlayerProcessor::AddProcessor(new ProcessorUserMyID());
|
||||
|
||||
/*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 ProcessorObjectUnlock());
|
||||
WorldProcessor::AddProcessor(new ProcessorScriptGlobalShort());
|
||||
WorldProcessor::AddProcessor(new ProcessorScriptLocalFloat());
|
||||
WorldProcessor::AddProcessor(new ProcessorScriptLocalShort());
|
||||
WorldProcessor::AddProcessor(new ProcessorScriptMemberShort());
|
||||
WorldProcessor::AddProcessor(new ProcessorVideoPlay());*/
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
//
|
||||
// Created by koncord on 31.03.17.
|
||||
//
|
||||
|
||||
#ifndef OPENMW_INIT_PROCESSORS_HPP
|
||||
#define OPENMW_INIT_PROCESSORS_HPP
|
||||
|
||||
void ProcessorInitializer();
|
||||
|
||||
|
||||
#endif //OPENMW_INIT_PROCESSORS_HPP
|
Loading…
Reference in New Issue