refactor(Core): sort #includes alphabetically (#4579)

This commit is contained in:
Kitzunu
2021-02-24 22:34:42 +01:00
committed by GitHub
parent 51342ef9b5
commit dbc0ff6554
839 changed files with 3120 additions and 3157 deletions

View File

@@ -7,11 +7,10 @@
#ifndef ACORE_CELL_H
#define ACORE_CELL_H
#include "GridDefines.h"
#include "TypeContainer.h"
#include "TypeContainerVisitor.h"
#include "GridDefines.h"
class Map;
class WorldObject;

View File

@@ -7,11 +7,10 @@
#ifndef ACORE_CELLIMPL_H
#define ACORE_CELLIMPL_H
#include <cmath>
#include "Cell.h"
#include "Map.h"
#include "Object.h"
#include <cmath>
inline Cell::Cell(CellCoord const& p)
{

View File

@@ -4,17 +4,17 @@
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*/
#include "CellImpl.h"
#include "GridNotifiers.h"
#include "GridNotifiersImpl.h"
#include "WorldPacket.h"
#include "WorldSession.h"
#include "UpdateData.h"
#include "Item.h"
#include "Map.h"
#include "Transport.h"
#include "ObjectAccessor.h"
#include "CellImpl.h"
#include "SpellInfo.h"
#include "Transport.h"
#include "UpdateData.h"
#include "WorldPacket.h"
#include "WorldSession.h"
using namespace acore;

View File

@@ -7,19 +7,18 @@
#ifndef ACORE_GRIDNOTIFIERS_H
#define ACORE_GRIDNOTIFIERS_H
#include "ObjectGridLoader.h"
#include "UpdateData.h"
#include <iostream>
#include "Corpse.h"
#include "Object.h"
#include "CreatureAI.h"
#include "DynamicObject.h"
#include "GameObject.h"
#include "Object.h"
#include "ObjectGridLoader.h"
#include "Player.h"
#include "Unit.h"
#include "CreatureAI.h"
#include "Spell.h"
#include "Unit.h"
#include "UpdateData.h"
#include "WorldSession.h"
#include <iostream>
class Player;
//class Map;

View File

@@ -7,14 +7,14 @@
#ifndef ACORE_GRIDNOTIFIERSIMPL_H
#define ACORE_GRIDNOTIFIERSIMPL_H
#include "GridNotifiers.h"
#include "WorldPacket.h"
#include "Corpse.h"
#include "Player.h"
#include "UpdateData.h"
#include "CreatureAI.h"
#include "SpellAuras.h"
#include "GridNotifiers.h"
#include "Opcodes.h"
#include "Player.h"
#include "SpellAuras.h"
#include "UpdateData.h"
#include "WorldPacket.h"
template<class T>
inline void acore::VisibleNotifier::Visit(GridRefManager<T>& m)

View File

@@ -4,18 +4,18 @@
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*/
#include "ObjectGridLoader.h"
#include "ObjectAccessor.h"
#include "ObjectMgr.h"
#include "Creature.h"
#include "Vehicle.h"
#include "GameObject.h"
#include "DynamicObject.h"
#include "Corpse.h"
#include "World.h"
#include "CellImpl.h"
#include "Corpse.h"
#include "Creature.h"
#include "CreatureAI.h"
#include "DynamicObject.h"
#include "GameObject.h"
#include "ObjectAccessor.h"
#include "ObjectGridLoader.h"
#include "ObjectMgr.h"
#include "Transport.h"
#include "Vehicle.h"
#include "World.h"
// for loading world object at grid loading (Corpses)
//TODO: to implement npc on transport, also need to load npcs at grid loading

View File

@@ -7,11 +7,11 @@
#ifndef ACORE_OBJECTGRIDLOADER_H
#define ACORE_OBJECTGRIDLOADER_H
#include "TypeList.h"
#include "Define.h"
#include "GridLoader.h"
#include "GridDefines.h"
#include "Cell.h"
#include "Define.h"
#include "GridDefines.h"
#include "GridLoader.h"
#include "TypeList.h"
class ObjectWorldLoader;