2017-04-01 00:14:26 +00:00
|
|
|
#include "ProcessorInitializer.hpp"
|
2017-03-31 18:36:24 +00:00
|
|
|
|
2017-05-16 16:53:58 +00:00
|
|
|
#include "Networking.hpp"
|
|
|
|
#include "Script/Script.hpp"
|
|
|
|
|
2017-03-31 18:36:24 +00:00
|
|
|
#include "PlayerProcessor.hpp"
|
2017-07-03 17:13:10 +00:00
|
|
|
#include "player/ProcessorChatMsg.hpp"
|
|
|
|
#include "player/ProcessorGUIMessageBox.hpp"
|
|
|
|
#include "player/ProcessorPlayerCharGen.hpp"
|
|
|
|
#include "player/ProcessorPlayerAnimFlags.hpp"
|
|
|
|
#include "player/ProcessorPlayerAnimPlay.hpp"
|
|
|
|
#include "player/ProcessorPlayerAttack.hpp"
|
|
|
|
#include "player/ProcessorPlayerAttribute.hpp"
|
|
|
|
#include "player/ProcessorPlayerBook.hpp"
|
|
|
|
#include "player/ProcessorPlayerBounty.hpp"
|
2019-08-25 06:35:23 +00:00
|
|
|
#include "player/ProcessorPlayerCast.hpp"
|
2017-07-03 17:13:10 +00:00
|
|
|
#include "player/ProcessorPlayerCellChange.hpp"
|
|
|
|
#include "player/ProcessorPlayerCellState.hpp"
|
|
|
|
#include "player/ProcessorPlayerCharClass.hpp"
|
2021-07-10 20:15:19 +00:00
|
|
|
#include "player/ProcessorPlayerCooldowns.hpp"
|
2017-07-03 17:13:10 +00:00
|
|
|
#include "player/ProcessorPlayerDeath.hpp"
|
|
|
|
#include "player/ProcessorPlayerDisposition.hpp"
|
|
|
|
#include "player/ProcessorPlayerEquipment.hpp"
|
|
|
|
#include "player/ProcessorPlayerFaction.hpp"
|
|
|
|
#include "player/ProcessorPlayerInventory.hpp"
|
2018-08-09 15:25:20 +00:00
|
|
|
#include "player/ProcessorPlayerItemUse.hpp"
|
2017-07-03 17:13:10 +00:00
|
|
|
#include "player/ProcessorPlayerJournal.hpp"
|
2019-10-08 08:09:08 +00:00
|
|
|
#include "player/ProcessorPlayerPlaceholder.hpp"
|
2018-07-14 21:36:07 +00:00
|
|
|
#include "player/ProcessorPlayerInput.hpp"
|
2017-07-03 17:13:10 +00:00
|
|
|
#include "player/ProcessorPlayerLevel.hpp"
|
2018-01-30 20:51:35 +00:00
|
|
|
#include "player/ProcessorPlayerMiscellaneous.hpp"
|
2017-07-03 17:13:10 +00:00
|
|
|
#include "player/ProcessorPlayerPosition.hpp"
|
2017-10-25 04:21:00 +00:00
|
|
|
#include "player/ProcessorPlayerQuickKeys.hpp"
|
2018-01-30 20:51:35 +00:00
|
|
|
#include "player/ProcessorPlayerReputation.hpp"
|
2017-07-03 17:13:10 +00:00
|
|
|
#include "player/ProcessorPlayerRest.hpp"
|
|
|
|
#include "player/ProcessorPlayerResurrect.hpp"
|
2017-07-15 06:02:19 +00:00
|
|
|
#include "player/ProcessorPlayerShapeshift.hpp"
|
2017-07-03 17:13:10 +00:00
|
|
|
#include "player/ProcessorPlayerSkill.hpp"
|
|
|
|
#include "player/ProcessorPlayerSpeech.hpp"
|
|
|
|
#include "player/ProcessorPlayerSpellbook.hpp"
|
2020-07-10 00:09:11 +00:00
|
|
|
#include "player/ProcessorPlayerSpellsActive.hpp"
|
2017-07-03 17:13:10 +00:00
|
|
|
#include "player/ProcessorPlayerStatsDynamic.hpp"
|
|
|
|
#include "player/ProcessorPlayerTopic.hpp"
|
2017-04-09 05:51:28 +00:00
|
|
|
#include "ActorProcessor.hpp"
|
2017-07-03 17:13:10 +00:00
|
|
|
#include "actor/ProcessorActorList.hpp"
|
|
|
|
#include "actor/ProcessorActorTest.hpp"
|
|
|
|
#include "actor/ProcessorActorAI.hpp"
|
|
|
|
#include "actor/ProcessorActorAnimFlags.hpp"
|
|
|
|
#include "actor/ProcessorActorAnimPlay.hpp"
|
|
|
|
#include "actor/ProcessorActorAttack.hpp"
|
2019-08-25 06:35:23 +00:00
|
|
|
#include "actor/ProcessorActorCast.hpp"
|
2017-07-03 17:13:10 +00:00
|
|
|
#include "actor/ProcessorActorCellChange.hpp"
|
|
|
|
#include "actor/ProcessorActorDeath.hpp"
|
|
|
|
#include "actor/ProcessorActorEquipment.hpp"
|
|
|
|
#include "actor/ProcessorActorPosition.hpp"
|
|
|
|
#include "actor/ProcessorActorSpeech.hpp"
|
2021-04-20 01:25:14 +00:00
|
|
|
#include "actor/ProcessorActorSpellsActive.hpp"
|
|
|
|
#include "actor/ProcessorActorStatsDynamic.hpp"
|
2018-05-15 19:07:06 +00:00
|
|
|
#include "ObjectProcessor.hpp"
|
2019-12-07 08:13:10 +00:00
|
|
|
#include "object/ProcessorConsoleCommand.hpp"
|
2018-05-15 19:07:06 +00:00
|
|
|
#include "object/ProcessorContainer.hpp"
|
|
|
|
#include "object/ProcessorDoorState.hpp"
|
|
|
|
#include "object/ProcessorMusicPlay.hpp"
|
2018-07-14 22:08:31 +00:00
|
|
|
#include "object/ProcessorObjectActivate.hpp"
|
2018-05-15 19:07:06 +00:00
|
|
|
#include "object/ProcessorObjectAnimPlay.hpp"
|
|
|
|
#include "object/ProcessorObjectDelete.hpp"
|
2020-10-26 17:48:40 +00:00
|
|
|
#include "object/ProcessorObjectDialogueChoice.hpp"
|
2019-12-08 14:14:01 +00:00
|
|
|
#include "object/ProcessorObjectHit.hpp"
|
2018-05-15 19:07:06 +00:00
|
|
|
#include "object/ProcessorObjectPlace.hpp"
|
|
|
|
#include "object/ProcessorObjectLock.hpp"
|
2020-05-15 10:29:30 +00:00
|
|
|
#include "object/ProcessorObjectMiscellaneous.hpp"
|
2018-05-15 19:07:06 +00:00
|
|
|
#include "object/ProcessorObjectMove.hpp"
|
2020-01-23 10:50:34 +00:00
|
|
|
#include "object/ProcessorObjectRestock.hpp"
|
2018-05-15 19:07:06 +00:00
|
|
|
#include "object/ProcessorObjectRotate.hpp"
|
|
|
|
#include "object/ProcessorObjectScale.hpp"
|
2020-02-29 16:15:41 +00:00
|
|
|
#include "object/ProcessorObjectSound.hpp"
|
2018-05-15 19:07:06 +00:00
|
|
|
#include "object/ProcessorObjectSpawn.hpp"
|
|
|
|
#include "object/ProcessorObjectState.hpp"
|
|
|
|
#include "object/ProcessorObjectTrap.hpp"
|
2020-02-05 15:41:48 +00:00
|
|
|
#include "object/ProcessorClientScriptLocal.hpp"
|
2018-05-15 19:07:06 +00:00
|
|
|
#include "object/ProcessorScriptMemberShort.hpp"
|
|
|
|
#include "object/ProcessorVideoPlay.hpp"
|
2018-05-23 04:48:28 +00:00
|
|
|
#include "WorldstateProcessor.hpp"
|
2020-01-04 07:56:37 +00:00
|
|
|
#include "worldstate/ProcessorClientScriptGlobal.hpp"
|
2018-05-23 04:48:28 +00:00
|
|
|
#include "worldstate/ProcessorRecordDynamic.hpp"
|
2019-10-08 08:09:08 +00:00
|
|
|
#include "worldstate/ProcessorWorldKillCount.hpp"
|
2018-06-07 09:49:12 +00:00
|
|
|
#include "worldstate/ProcessorWorldMap.hpp"
|
2018-07-15 23:20:43 +00:00
|
|
|
#include "worldstate/ProcessorWorldWeather.hpp"
|
2017-03-31 18:36:24 +00:00
|
|
|
|
|
|
|
using namespace mwmp;
|
|
|
|
|
2017-04-01 00:14:26 +00:00
|
|
|
void ProcessorInitializer()
|
2017-03-31 18:36:24 +00:00
|
|
|
{
|
2017-05-16 16:25:31 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorChatMsg());
|
|
|
|
PlayerProcessor::AddProcessor(new ProcessorGUIMessageBox());
|
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerCharGen());
|
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerAnimFlags());
|
2017-05-29 01:43:52 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerAnimPlay());
|
2017-05-16 16:25:31 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerAttack());
|
2017-03-31 18:36:24 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerAttribute());
|
2017-05-29 01:43:52 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerBook());
|
2017-04-25 18:24:39 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerBounty());
|
2019-08-25 06:35:23 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerCast());
|
2017-05-16 16:25:31 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerCellChange());
|
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerCellState());
|
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerCharClass());
|
2021-07-10 20:15:19 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerCooldowns());
|
2017-05-16 16:25:31 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerDeath());
|
2017-05-29 01:43:52 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerDisposition());
|
2017-03-31 18:36:24 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerEquipment());
|
2017-05-16 16:25:31 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerFaction());
|
2017-03-31 18:36:24 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerInventory());
|
2018-08-09 15:25:20 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerItemUse());
|
2017-03-31 18:36:24 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerJournal());
|
2019-10-08 08:09:08 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerPlaceholder());
|
2018-07-14 21:36:07 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerInput());
|
2017-05-16 16:25:31 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerLevel());
|
2018-01-30 20:51:35 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerMiscellaneous());
|
2017-05-16 16:25:31 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerPosition());
|
2017-10-25 04:21:00 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerQuickKeys());
|
2018-01-30 20:51:35 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerReputation());
|
2017-05-29 01:43:52 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerRest());
|
2017-03-31 18:36:24 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerResurrect());
|
2017-07-15 06:02:19 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerShapeshift());
|
2017-05-16 16:25:31 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerSkill());
|
2017-05-29 01:43:52 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerSpeech());
|
2017-05-16 16:25:31 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerSpellbook());
|
2020-07-10 00:09:11 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerSpellsActive());
|
2017-05-16 16:25:31 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerStatsDynamic());
|
2017-05-24 16:01:28 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerTopic());
|
2017-04-02 21:46:46 +00:00
|
|
|
|
2017-04-09 05:51:28 +00:00
|
|
|
ActorProcessor::AddProcessor(new ProcessorActorList());
|
2017-05-29 01:43:52 +00:00
|
|
|
ActorProcessor::AddProcessor(new ProcessorActorAI());
|
2017-04-14 13:00:34 +00:00
|
|
|
ActorProcessor::AddProcessor(new ProcessorActorAnimFlags());
|
2017-04-13 15:57:48 +00:00
|
|
|
ActorProcessor::AddProcessor(new ProcessorActorAnimPlay());
|
|
|
|
ActorProcessor::AddProcessor(new ProcessorActorAttack());
|
2019-08-25 06:35:23 +00:00
|
|
|
ActorProcessor::AddProcessor(new ProcessorActorCast());
|
2017-04-13 15:57:48 +00:00
|
|
|
ActorProcessor::AddProcessor(new ProcessorActorCellChange());
|
2017-05-29 01:43:52 +00:00
|
|
|
ActorProcessor::AddProcessor(new ProcessorActorDeath());
|
2017-05-16 16:25:31 +00:00
|
|
|
ActorProcessor::AddProcessor(new ProcessorActorEquipment());
|
2017-04-10 09:38:30 +00:00
|
|
|
ActorProcessor::AddProcessor(new ProcessorActorPosition());
|
2017-04-13 15:57:48 +00:00
|
|
|
ActorProcessor::AddProcessor(new ProcessorActorSpeech());
|
2021-04-20 01:25:14 +00:00
|
|
|
ActorProcessor::AddProcessor(new ProcessorActorSpellsActive());
|
2017-05-16 16:25:31 +00:00
|
|
|
ActorProcessor::AddProcessor(new ProcessorActorStatsDynamic());
|
2017-04-10 05:37:18 +00:00
|
|
|
ActorProcessor::AddProcessor(new ProcessorActorTest());
|
2017-04-09 05:51:28 +00:00
|
|
|
|
2019-12-07 08:13:10 +00:00
|
|
|
ObjectProcessor::AddProcessor(new ProcessorConsoleCommand());
|
2018-05-15 19:07:06 +00:00
|
|
|
ObjectProcessor::AddProcessor(new ProcessorContainer());
|
|
|
|
ObjectProcessor::AddProcessor(new ProcessorDoorState());
|
|
|
|
ObjectProcessor::AddProcessor(new ProcessorMusicPlay());
|
2018-07-14 22:08:31 +00:00
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectActivate());
|
2018-05-15 19:07:06 +00:00
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectAnimPlay());
|
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectDelete());
|
2020-10-26 17:48:40 +00:00
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectDialogueChoice());
|
2019-12-08 14:14:01 +00:00
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectHit());
|
2018-05-15 19:07:06 +00:00
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectLock());
|
2020-05-15 10:29:30 +00:00
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectMiscellaneous());
|
2018-05-15 19:07:06 +00:00
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectMove());
|
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectPlace());
|
2020-01-23 10:50:34 +00:00
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectRestock());
|
2018-05-15 19:07:06 +00:00
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectRotate());
|
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectScale());
|
2020-02-29 16:15:41 +00:00
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectSound());
|
2018-05-15 19:07:06 +00:00
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectSpawn());
|
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectState());
|
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectTrap());
|
2020-02-05 15:41:48 +00:00
|
|
|
ObjectProcessor::AddProcessor(new ProcessorClientScriptLocal());
|
2018-05-15 19:07:06 +00:00
|
|
|
ObjectProcessor::AddProcessor(new ProcessorScriptMemberShort());
|
|
|
|
ObjectProcessor::AddProcessor(new ProcessorVideoPlay());
|
2018-05-23 04:48:28 +00:00
|
|
|
|
2020-01-04 07:56:37 +00:00
|
|
|
WorldstateProcessor::AddProcessor(new ProcessorClientScriptGlobal());
|
2018-05-23 04:48:28 +00:00
|
|
|
WorldstateProcessor::AddProcessor(new ProcessorRecordDynamic());
|
2019-10-08 08:09:08 +00:00
|
|
|
WorldstateProcessor::AddProcessor(new ProcessorWorldKillCount());
|
2018-06-07 09:49:12 +00:00
|
|
|
WorldstateProcessor::AddProcessor(new ProcessorWorldMap());
|
2018-07-15 23:20:43 +00:00
|
|
|
WorldstateProcessor::AddProcessor(new ProcessorWorldWeather());
|
2017-05-16 11:20:40 +00:00
|
|
|
}
|