Skip to content

Commit

Permalink
Core: Fix non-PCH build
Browse files Browse the repository at this point in the history
  • Loading branch information
click committed Aug 21, 2011
1 parent 7cea5a1 commit d5fbd22
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/server/game/Conditions/DisableMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include "DisableMgr.h"
#include "ObjectMgr.h"
#include "OutdoorPvP.h"
#include "SpellMgr.h"
#include "VMapManager2.h"
#include "DisableMgr.h"

This comment has been minimized.

Copy link
@Studioworks

Studioworks Aug 21, 2011

Contributor

Just a curiosity question: Is the include order important somehow or is it just a part of some sort of styling?

This comment has been minimized.

Copy link
@click

click Aug 21, 2011

Author Contributor

Important, since we use variables, definitions and functions that needs to be defined before pulling the next include (recursive inheritance)

This comment has been minimized.

Copy link
@Warpten

Warpten Aug 21, 2011

Member

Good to know :)

This comment has been minimized.

Copy link
@Studioworks

Studioworks Aug 22, 2011

Contributor

Indeed. Thanks. :-)


DisableMgr::DisableMgr()
{
Expand Down
1 change: 1 addition & 0 deletions src/server/game/Spells/SpellInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include "SpellAuraDefines.h"
#include "SpellInfo.h"
#include "SpellMgr.h"
#include "Spell.h"
Expand Down
2 changes: 2 additions & 0 deletions src/server/game/Spells/SpellInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#define _SPELLINFO_H

#include "SharedDefines.h"
#include "Util.h"
#include "DBCStructure.h"

class Unit;
class Player;
Expand Down
1 change: 1 addition & 0 deletions src/server/game/Spells/SpellMgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <ace/Singleton.h>
#include "Common.h"
#include "SharedDefines.h"
#include "Unit.h"

class SpellInfo;
class Player;
Expand Down
1 change: 1 addition & 0 deletions src/server/game/Tools/CharacterDatabaseCleaner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include "CharacterDatabaseCleaner.h"
#include "World.h"
#include "Database/DatabaseEnv.h"
#include "SpellMgr.h"
#include "DBCStores.h"

void CharacterDatabaseCleaner::CleanDatabase()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,14 @@
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "ScriptedEscortAI.h"
#include "CombatAI.h"
#include "PassiveAI.h"
#include "ScriptedEscortAI.h"
#include "ObjectMgr.h"
#include "ulduar.h"
#include "SpellInfo.h"
#include "SpellScript.h"
#include "Vehicle.h"
#include "ulduar.h"

enum Spells
{
Expand Down

0 comments on commit d5fbd22

Please sign in to comment.