Core/Game: Include cleanup

* Mostly aimed at removing Log/DatabaseEnv includes from other headers
* Fix most packet headers including other packet headers - moved common structures such as ItemInstance to their own files
* Moved SAI function definitions to source files (massive or requiring many different dependencies)
This commit is contained in:
Shauren
2017-05-18 23:53:25 +02:00
parent 7445670314
commit c5d3dd90be
357 changed files with 4791 additions and 3886 deletions
+3 -3
View File
@@ -23,7 +23,7 @@ Category: commandscripts
EndScriptData */
#include "Chat.h"
#include "ObjectMgr.h"
#include "Log.h"
#include "Opcodes.h"
#include "Pet.h"
#include "Player.h"
@@ -741,14 +741,14 @@ public:
target->Mount(mId);
WorldPacket data(SMSG_MOVE_SET_RUN_SPEED, (8+4+1+4));
data << target->GetPackGUID();
data << target->GetGUID();
data << (uint32)0;
data << (uint8)0; //new 2.1.0
data << float(speed);
target->SendMessageToSet(&data, true);
data.Initialize(SMSG_MOVE_SET_SWIM_SPEED, (8+4+4));
data << target->GetPackGUID();
data << target->GetGUID();
data << (uint32)0;
data << float(speed);
target->SendMessageToSet(&data, true);