2017-04-16 07:01:16 +00:00
|
|
|
#include "ProcessorInitializer.hpp"
|
|
|
|
|
2019-11-09 03:12:00 +00:00
|
|
|
#include "SystemProcessor.hpp"
|
|
|
|
#include "system/ProcessorSystemHandshake.hpp"
|
|
|
|
|
2017-04-16 07:01:16 +00:00
|
|
|
#include "PlayerProcessor.hpp"
|
2017-06-06 16:06:10 +00:00
|
|
|
#include "player/ProcessorChatMessage.hpp"
|
|
|
|
#include "player/ProcessorGUIMessageBox.hpp"
|
|
|
|
#include "player/ProcessorUserDisconnected.hpp"
|
2017-06-20 02:28:45 +00:00
|
|
|
#include "player/ProcessorGameSettings.hpp"
|
2019-12-05 17:15:11 +00:00
|
|
|
#include "player/ProcessorPlayerAlly.hpp"
|
2017-06-06 16:06:10 +00:00
|
|
|
#include "player/ProcessorPlayerAnimFlags.hpp"
|
|
|
|
#include "player/ProcessorPlayerAnimPlay.hpp"
|
|
|
|
#include "player/ProcessorPlayerAttack.hpp"
|
|
|
|
#include "player/ProcessorPlayerAttribute.hpp"
|
2018-01-29 20:32:51 +00:00
|
|
|
#include "player/ProcessorPlayerBaseInfo.hpp"
|
|
|
|
#include "player/ProcessorPlayerBehavior.hpp"
|
2017-06-06 16:06:10 +00:00
|
|
|
#include "player/ProcessorPlayerBook.hpp"
|
|
|
|
#include "player/ProcessorPlayerBounty.hpp"
|
2019-08-25 06:35:23 +00:00
|
|
|
#include "player/ProcessorPlayerCast.hpp"
|
2017-06-06 16:06:10 +00:00
|
|
|
#include "player/ProcessorPlayerCellChange.hpp"
|
|
|
|
#include "player/ProcessorPlayerCellState.hpp"
|
|
|
|
#include "player/ProcessorPlayerCharClass.hpp"
|
2018-01-29 20:32:51 +00:00
|
|
|
#include "player/ProcessorPlayerCharGen.hpp"
|
2017-06-06 16:06:10 +00:00
|
|
|
#include "player/ProcessorPlayerDeath.hpp"
|
|
|
|
#include "player/ProcessorPlayerDisposition.hpp"
|
|
|
|
#include "player/ProcessorPlayerEquipment.hpp"
|
|
|
|
#include "player/ProcessorPlayerFaction.hpp"
|
2018-07-14 21:36:07 +00:00
|
|
|
#include "player/ProcessorPlayerInput.hpp"
|
2017-06-06 16:06:10 +00:00
|
|
|
#include "player/ProcessorPlayerInventory.hpp"
|
2018-08-09 15:25:20 +00:00
|
|
|
#include "player/ProcessorPlayerItemUse.hpp"
|
2017-07-10 09:33:53 +00:00
|
|
|
#include "player/ProcessorPlayerJail.hpp"
|
2017-06-06 16:06:10 +00:00
|
|
|
#include "player/ProcessorPlayerJournal.hpp"
|
|
|
|
#include "player/ProcessorPlayerLevel.hpp"
|
2018-01-29 20:32:51 +00:00
|
|
|
#include "player/ProcessorPlayerMiscellaneous.hpp"
|
2018-01-30 14:01:33 +00:00
|
|
|
#include "player/ProcessorPlayerMomentum.hpp"
|
2017-06-06 16:06:10 +00:00
|
|
|
#include "player/ProcessorPlayerPosition.hpp"
|
2017-10-25 04:21:00 +00:00
|
|
|
#include "player/ProcessorPlayerQuickKeys.hpp"
|
2018-01-29 20:32:51 +00:00
|
|
|
#include "player/ProcessorPlayerReputation.hpp"
|
2017-06-06 16:06:10 +00:00
|
|
|
#include "player/ProcessorPlayerRest.hpp"
|
|
|
|
#include "player/ProcessorPlayerResurrect.hpp"
|
2017-07-15 06:02:19 +00:00
|
|
|
#include "player/ProcessorPlayerShapeshift.hpp"
|
2017-06-06 16:06:10 +00:00
|
|
|
#include "player/ProcessorPlayerSkill.hpp"
|
|
|
|
#include "player/ProcessorPlayerSpeech.hpp"
|
|
|
|
#include "player/ProcessorPlayerSpellbook.hpp"
|
|
|
|
#include "player/ProcessorPlayerStatsDynamic.hpp"
|
|
|
|
#include "player/ProcessorPlayerTopic.hpp"
|
2017-04-16 07:01:16 +00:00
|
|
|
|
2018-05-15 19:56:47 +00:00
|
|
|
#include "ObjectProcessor.hpp"
|
|
|
|
#include "object/ProcessorConsoleCommand.hpp"
|
|
|
|
#include "object/ProcessorContainer.hpp"
|
|
|
|
#include "object/ProcessorDoorDestination.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:56:47 +00:00
|
|
|
#include "object/ProcessorObjectAnimPlay.hpp"
|
|
|
|
#include "object/ProcessorObjectAttach.hpp"
|
|
|
|
#include "object/ProcessorObjectCollision.hpp"
|
|
|
|
#include "object/ProcessorObjectDelete.hpp"
|
2019-09-01 05:30:03 +00:00
|
|
|
#include "object/ProcessorObjectHit.hpp"
|
2018-05-15 19:56:47 +00:00
|
|
|
#include "object/ProcessorObjectLock.hpp"
|
|
|
|
#include "object/ProcessorObjectMove.hpp"
|
|
|
|
#include "object/ProcessorObjectPlace.hpp"
|
2020-01-23 10:50:34 +00:00
|
|
|
#include "object/ProcessorObjectRestock.hpp"
|
2018-05-15 19:56:47 +00:00
|
|
|
#include "object/ProcessorObjectRotate.hpp"
|
|
|
|
#include "object/ProcessorObjectScale.hpp"
|
|
|
|
#include "object/ProcessorObjectSpawn.hpp"
|
|
|
|
#include "object/ProcessorObjectState.hpp"
|
|
|
|
#include "object/ProcessorObjectTrap.hpp"
|
|
|
|
#include "object/ProcessorScriptLocalShort.hpp"
|
|
|
|
#include "object/ProcessorScriptLocalFloat.hpp"
|
|
|
|
#include "object/ProcessorScriptMemberShort.hpp"
|
|
|
|
#include "object/ProcessorScriptMemberFloat.hpp"
|
|
|
|
#include "object/ProcessorVideoPlay.hpp"
|
2017-04-16 07:01:16 +00:00
|
|
|
|
2018-05-18 03:40:28 +00:00
|
|
|
#include "ActorProcessor.hpp"
|
2017-06-06 16:06:10 +00:00
|
|
|
#include "actor/ProcessorActorAI.hpp"
|
|
|
|
#include "actor/ProcessorActorAnimFlags.hpp"
|
|
|
|
#include "actor/ProcessorActorAnimPlay.hpp"
|
|
|
|
#include "actor/ProcessorActorAttack.hpp"
|
|
|
|
#include "actor/ProcessorActorAuthority.hpp"
|
2019-08-25 06:35:23 +00:00
|
|
|
#include "actor/ProcessorActorCast.hpp"
|
2017-06-06 16:06:10 +00:00
|
|
|
#include "actor/ProcessorActorCellChange.hpp"
|
|
|
|
#include "actor/ProcessorActorDeath.hpp"
|
|
|
|
#include "actor/ProcessorActorEquipment.hpp"
|
|
|
|
#include "actor/ProcessorActorList.hpp"
|
|
|
|
#include "actor/ProcessorActorPosition.hpp"
|
|
|
|
#include "actor/ProcessorActorSpeech.hpp"
|
|
|
|
#include "actor/ProcessorActorStatsDynamic.hpp"
|
|
|
|
#include "actor/ProcessorActorTest.hpp"
|
2017-04-16 07:01:16 +00:00
|
|
|
|
2018-05-18 03:40:28 +00:00
|
|
|
#include "WorldstateProcessor.hpp"
|
2019-03-22 19:33:34 +00:00
|
|
|
#include "worldstate/ProcessorCellReset.hpp"
|
2020-01-04 07:56:37 +00:00
|
|
|
#include "worldstate/ProcessorClientScriptGlobal.hpp"
|
2019-09-09 07:28:35 +00:00
|
|
|
#include "worldstate/ProcessorClientScriptSettings.hpp"
|
2018-05-23 04:48:28 +00:00
|
|
|
#include "worldstate/ProcessorRecordDynamic.hpp"
|
2018-05-25 04:09:32 +00:00
|
|
|
#include "worldstate/ProcessorWorldCollisionOverride.hpp"
|
2019-12-04 14:43:56 +00:00
|
|
|
#include "worldstate/ProcessorWorldDestinationOverride.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-17 06:21:13 +00:00
|
|
|
#include "worldstate/ProcessorWorldRegionAuthority.hpp"
|
2018-05-22 05:53:33 +00:00
|
|
|
#include "worldstate/ProcessorWorldTime.hpp"
|
2018-07-15 23:20:43 +00:00
|
|
|
#include "worldstate/ProcessorWorldWeather.hpp"
|
2018-05-18 03:40:28 +00:00
|
|
|
|
2017-04-16 07:01:16 +00:00
|
|
|
using namespace mwmp;
|
|
|
|
|
|
|
|
void ProcessorInitializer()
|
|
|
|
{
|
2019-11-09 03:12:00 +00:00
|
|
|
SystemProcessor::AddProcessor(new ProcessorSystemHandshake());
|
|
|
|
|
2017-04-16 07:01:16 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorChatMessage());
|
|
|
|
PlayerProcessor::AddProcessor(new ProcessorGUIMessageBox());
|
|
|
|
PlayerProcessor::AddProcessor(new ProcessorUserDisconnected());
|
2017-06-20 02:28:45 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorGameSettings());
|
2019-12-05 17:15:11 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerAlly());
|
2017-05-16 16:25:31 +00:00
|
|
|
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());
|
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerAttribute());
|
2018-01-29 20:32:51 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerBaseInfo());
|
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerBehavior());
|
2017-05-29 01:43:52 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerBook());
|
2017-05-16 16:25:31 +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());
|
2018-01-29 20:32:51 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerCharGen());
|
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-05-16 16:25:31 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerEquipment());
|
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerFaction());
|
2018-07-14 21:36:07 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerInput());
|
2017-05-16 16:25:31 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerInventory());
|
2018-08-09 15:25:20 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerItemUse());
|
2017-07-11 11:31:32 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerJail());
|
2017-05-16 16:25:31 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerJournal());
|
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerLevel());
|
2018-01-29 20:32:51 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerMiscellaneous());
|
2018-01-30 14:01:33 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerMomentum());
|
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-29 20:32:51 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerReputation());
|
2017-05-29 01:43:52 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerRest());
|
2017-05-16 16:25:31 +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());
|
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerStatsDynamic());
|
2017-05-24 16:01:28 +00:00
|
|
|
PlayerProcessor::AddProcessor(new ProcessorPlayerTopic());
|
2017-04-16 07:01:16 +00:00
|
|
|
|
2018-05-15 19:56:47 +00:00
|
|
|
ObjectProcessor::AddProcessor(new ProcessorConsoleCommand());
|
|
|
|
ObjectProcessor::AddProcessor(new ProcessorContainer());
|
|
|
|
ObjectProcessor::AddProcessor(new ProcessorDoorDestination());
|
|
|
|
ObjectProcessor::AddProcessor(new ProcessorDoorState());
|
|
|
|
ObjectProcessor::AddProcessor(new ProcessorMusicPlay());
|
2018-07-14 22:08:31 +00:00
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectActivate());
|
2018-05-15 19:56:47 +00:00
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectAnimPlay());
|
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectAttach());
|
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectCollision());
|
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectDelete());
|
2019-09-01 05:30:03 +00:00
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectHit());
|
2018-05-15 19:56:47 +00:00
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectLock());
|
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectMove());
|
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectPlace());
|
2020-01-23 10:50:34 +00:00
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectRestock());
|
2018-05-15 19:56:47 +00:00
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectRotate());
|
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectScale());
|
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectSpawn());
|
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectState());
|
|
|
|
ObjectProcessor::AddProcessor(new ProcessorObjectTrap());
|
|
|
|
ObjectProcessor::AddProcessor(new ProcessorScriptLocalShort());
|
|
|
|
ObjectProcessor::AddProcessor(new ProcessorScriptLocalFloat());
|
|
|
|
ObjectProcessor::AddProcessor(new ProcessorScriptMemberShort());
|
|
|
|
ObjectProcessor::AddProcessor(new ProcessorScriptMemberFloat());
|
|
|
|
ObjectProcessor::AddProcessor(new ProcessorVideoPlay());
|
2017-04-18 06:36:55 +00:00
|
|
|
|
2017-05-29 01:43:52 +00:00
|
|
|
ActorProcessor::AddProcessor(new ProcessorActorAI());
|
2017-04-18 06:36:55 +00:00
|
|
|
ActorProcessor::AddProcessor(new ProcessorActorAnimFlags());
|
|
|
|
ActorProcessor::AddProcessor(new ProcessorActorAnimPlay());
|
|
|
|
ActorProcessor::AddProcessor(new ProcessorActorAttack());
|
|
|
|
ActorProcessor::AddProcessor(new ProcessorActorAuthority());
|
2019-08-25 06:35:23 +00:00
|
|
|
ActorProcessor::AddProcessor(new ProcessorActorCast());
|
2017-04-18 06:36:55 +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-18 06:36:55 +00:00
|
|
|
ActorProcessor::AddProcessor(new ProcessorActorList());
|
|
|
|
ActorProcessor::AddProcessor(new ProcessorActorPosition());
|
|
|
|
ActorProcessor::AddProcessor(new ProcessorActorSpeech());
|
|
|
|
ActorProcessor::AddProcessor(new ProcessorActorStatsDynamic());
|
|
|
|
ActorProcessor::AddProcessor(new ProcessorActorTest());
|
2018-05-21 04:14:08 +00:00
|
|
|
|
2019-03-22 19:33:34 +00:00
|
|
|
WorldstateProcessor::AddProcessor(new ProcessorCellReset());
|
2020-01-04 07:56:37 +00:00
|
|
|
WorldstateProcessor::AddProcessor(new ProcessorClientScriptGlobal());
|
2019-09-09 07:28:35 +00:00
|
|
|
WorldstateProcessor::AddProcessor(new ProcessorClientScriptSettings());
|
2018-05-23 04:48:28 +00:00
|
|
|
WorldstateProcessor::AddProcessor(new ProcessorRecordDynamic());
|
2018-05-25 04:09:32 +00:00
|
|
|
WorldstateProcessor::AddProcessor(new ProcessorWorldCollisionOverride());
|
2019-12-04 14:43:56 +00:00
|
|
|
WorldstateProcessor::AddProcessor(new ProcessorWorldDestinationOverride());
|
|
|
|
WorldstateProcessor::AddProcessor(new ProcessorWorldKillCount());
|
2018-06-07 09:49:12 +00:00
|
|
|
WorldstateProcessor::AddProcessor(new ProcessorWorldMap());
|
2018-07-17 06:21:13 +00:00
|
|
|
WorldstateProcessor::AddProcessor(new ProcessorWorldRegionAuthority());
|
2018-05-22 05:53:33 +00:00
|
|
|
WorldstateProcessor::AddProcessor(new ProcessorWorldTime());
|
2018-07-15 23:20:43 +00:00
|
|
|
WorldstateProcessor::AddProcessor(new ProcessorWorldWeather());
|
2017-05-16 11:20:40 +00:00
|
|
|
}
|