diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Player.h | 2 | ||||
-rw-r--r-- | src/game/pchdef.cpp | 1 | ||||
-rw-r--r-- | src/game/pchdef.h | 16 |
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 |