aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-03 22:33:41 -0500
committermegamage <none@none>2009-05-03 22:33:41 -0500
commit30ac988ad3273d38ed9b32ba80822c04f87ae696 (patch)
treebd00d07bd4f95d5f69db57b3cb46154197cc3ec7 /src
parent438b773bacfc0e425ec4d1a9a748e8ba893d4961 (diff)
*Fix build.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Player.h2
-rw-r--r--src/game/pchdef.cpp1
-rw-r--r--src/game/pchdef.h16
3 files changed, 18 insertions, 1 deletions
diff --git a/src/game/Player.h b/src/game/Player.h
index 6a0db61896d..441111bc31d 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 00000000000..cbe8e8ad8aa
--- /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 00000000000..4b5b9dfbe3e
--- /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