From 30ac988ad3273d38ed9b32ba80822c04f87ae696 Mon Sep 17 00:00:00 2001 From: megamage Date: Sun, 3 May 2009 22:33:41 -0500 Subject: [PATCH] *Fix build. --HG-- branch : trunk --- src/game/Player.h | 2 +- src/game/pchdef.cpp | 1 + src/game/pchdef.h | 16 ++++++++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 src/game/pchdef.cpp create mode 100644 src/game/pchdef.h diff --git a/src/game/Player.h b/src/game/Player.h index 6a0db61896..441111bc31 100644 --- a/src/game/Player.h +++ b/src/game/Player.h @@ -1416,7 +1416,7 @@ class TRINITY_DLL_SPEC Player : public Unit bool addActionButton(uint8 button, uint16 action, uint8 type, uint8 misc); void removeActionButton(uint8 button); - void SendInitialActionButtons(); + void SendInitialActionButtons() const; PvPInfo pvpInfo; void UpdatePvP(bool state, bool ovrride=false); diff --git a/src/game/pchdef.cpp b/src/game/pchdef.cpp new file mode 100644 index 0000000000..cbe8e8ad8a --- /dev/null +++ b/src/game/pchdef.cpp @@ -0,0 +1 @@ +//#include "pchdef.h" \ No newline at end of file diff --git a/src/game/pchdef.h b/src/game/pchdef.h new file mode 100644 index 0000000000..4b5b9dfbe3 --- /dev/null +++ b/src/game/pchdef.h @@ -0,0 +1,16 @@ +//add here most rarely modified headers to speed up debug build compilation +#include "WorldSocket.h" // must be first to make ACE happy with ACE includes in it +#include "Common.h" + +#include "MapManager.h" +#include "Log.h" +#include "ObjectAccessor.h" +#include "ObjectDefines.h" +#include "Database/SQLStorage.h" +#include "Opcodes.h" +#include "SharedDefines.h" + +#ifdef FASTBUILD +//add additional headers here to speed up compilation in release builds even more +#include "ObjectMgr.h" +#endif \ No newline at end of file